Iso Projectile physics

Post your own tutorials, guides and demos.

Post » Fri Feb 12, 2010 6:23 pm

Heres a nifty isometric projectile physics engine Ive been working on.


[url:9pqu1545]http://www.mediafire.com/?g1m5lqzkgon[/url:9pqu1545]
Direct control: basically like an isometric version of worms or scorched earth or SoldjahBoys tonks , were you control the angle and velocity of your shot.

And
[url:9pqu1545]http://www.mediafire.com/?dnm5ytc2rik[/url:9pqu1545]

Intercept mode: if it has enough power the shot from the cannon will hit the crosshairs at the appropriate height (in theory). Ideal for computer controlled projectile launchers.
(i never quit got this one down, i never could find the formula to hit a target below the point of launch)

Controls: hold left mouse button to charge up your shots, let go to fire.
Mouse wheel to change the shots angle
Up / down arrows to change your elevation
Left / right arrows for more precise power controls


Its by no means prefect, as I am no programmer. And it crashes intermittently for reasons I still havent figured out. :?
but its still pretty neat
B
6
S
2
G
5
Posts: 249
Reputation: 2,323

Post » Fri Feb 12, 2010 7:26 pm

pretty neat indeed! awesome work!
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Fri Feb 12, 2010 8:02 pm

thanks
B
6
S
2
G
5
Posts: 249
Reputation: 2,323

Post » Fri Feb 12, 2010 8:46 pm

This does look pretty rad. I wish I could say "this should come in handy" but I can't imagine ever using it myself, so you should develop it into a full game :)
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Fri Feb 12, 2010 11:08 pm

i originally made it for artillery in an rts like game I've been working out the mechanics to, but i'm not planning on seriously working on that until v1.0 comes out.

but i think it would be fun to make some little defense game with it.
B
6
S
2
G
5
Posts: 249
Reputation: 2,323

Post » Sat Feb 13, 2010 6:59 am

VERY fun! Nicely done Bartosh
B
28
S
8
G
8
Posts: 530
Reputation: 7,154


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests