The Daily Click ::. Forums ::. Klik Coding Help ::. dropping Platforms Problem

Post Reply  Post Oekaki 

Posted By Message


1st November, 2003 at 15:52:20 -

I made a game that has falling platforms. But when the player lands on these platforms they drop, but the player hangs in air for a second, is there anyway fix this? to see what I talking about
Please Help!


Kirby Smith

Resident Slacker


VIP Member360 OwnerWii OwnerThe Cake is a Lie
1st November, 2003 at 16:25:33 -

Try having a gravity event set up so that any time a detector directly under the player isn't touching a platform, subtract 1 pixel every MMF loop (or whatever you want the gravity to be) from his y-position. Then, when you want the player to jump, just set his "add to y position" number a little higher to compensate for the gravity. Obviously, you can rig up counters and loops and stuff for parabolas using simple physics equations, but I won't get into that right now.

Image Edited by the Author.

XBL Gamertag: Rampant Mjolnir

Post Reply



Worth A Click