View unanswered posts | View active topics It is currently Thu Jan 16, 2025 12:43 pm



Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
 Original game source 
Author Message
User avatar

Joined: Thu Feb 12, 2009 1:47 am
Posts: 1182
Reply with quote
Post Re: Original game source
http://supa-monky.deviantart.com/art/Go ... -153767469

Ask the guy who made this if he'll share his source.


Wed Nov 10, 2010 4:52 pm
Profile

Joined: Wed May 05, 2010 3:59 pm
Posts: 9
Reply with quote
Post Re: Original game source
Check out OpenLieroX.


Wed Nov 10, 2010 6:17 pm
Profile

Joined: Fri Nov 05, 2010 5:12 am
Posts: 9
Reply with quote
Post Re: Original game source
Disst wrote:
http://supa-monky.deviantart.com/art/GoreLand-Shit-edition-153767469

Ask the guy who made this if he'll share his source.


Thanks, but I was looking for a C, C++, or java based one not flash. Thanks though! :D

I am going to take a look at OpenLieroX now.


Fri Nov 12, 2010 6:19 pm
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: Original game source
I pooped out a little destroyable terrain thing for Java if you want to see it:
http://www.openprocessing.org/visuals/?visualID=13226
Use your mouse to drag around a hole.

Here it is in Side-Scrolling:
http://www.openprocessing.org/visuals/?visualID=13331
Controls are the same, but this one involves a lot of convoluted math.

They both use the same technique as worms and openlierox, which is:
1. Pick a point and draw a circle around it.
2. Use collision logic:
Code:
if (player.distance_to_hole < radius_of_hole and PlayerInsideTerrain) then
 Don't_collide();
end


Yeah, it's disappointing, but it's how real magicians work.

I bet the method Data uses for CC isn't all THAT complex.

All you'd need is two images, one for the terrain in the beginning, and one for the terrain that's been subtracted or added, and if you are at a point with either image (but not both), then you collide, but if you're at a point where they overlap, then you don't collide.


Sat Nov 13, 2010 1:23 am
Profile WWW

Joined: Fri Nov 05, 2010 5:12 am
Posts: 9
Reply with quote
Post Re: Original game source
Thanks for the example code! Yay it's in Java too, that is what I was hoping for.

hrm so how would you dynamically remove parts of the environment?


Sat Nov 13, 2010 11:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.044s | 14 Queries | GZIP : Off ]