Game Maker's Garage Forum
Game Creation => Code Exchange => Topic started by: Gan on February 01, 2011, 12:36:55 PM
-
Platformer Physics Game (http://cl.ly/2b3y3G2u320v1L3U3l3I)
Goal: Get the box into the goal.
Instructions: Open the SCBox2D Plugin. Then open the game. Use the mouse to move. Space bar jumps.
-
The physics seem a bit "twitchy"... like momentum only seems to kick in after you've been moving for a few seconds.
-
Yeah, blame Sc's lack of a keydown method.
-
I recommend using mouse control then, that's how I got around it in Hacksilver.
-
Updated with mouse movement. Smooth as silk. (Link at the top)
-
You didn't use the new key commands?
It's like this:
if rightkey = 1 then...
You DON'T need to put it in the Key Down method, I think then it would only fire when Key Down does, which isn't smooth.