Legacy GM 2.5D (Fake 3D) physics..

A

amusudan

Guest
I'm currently developing a 2.5D game and am currently implementing classes, the class I am supposed to do now has a grenade ability. now I don't want grenades to just fly like bullets but bounce around after being thrown.
Is there any extension that handles this? Otherwise I think I would have to program a custom system with a z axis.

I already made some form this, flying debris (also used for blood). but it doesn't bounce at all, it just falls at a certain speed:

 

NightFrost

Member
You do that by calculating the grenade trajectory like bullet's, but change vertical draw position in sine wave shape across the length of the throw. To add to the 3d feel, draw a shadow for the grenade at the actual position.
 
A

amusudan

Guest
Yeah that's a good idea, I'll post an update here when I am done implementing it!
 
Top