ID:276486
 
Yes I am having some problems with my ?Mario? game. It does pixel stepping and is a platform. I was using the keystate lib to have jump and run buttons. On my jump button. When I press it, major major lag. It takes like 1 second for the object just to move one step. Which in this case is only 11 pixels. How ever when I let go of the jump button. I fall to the ground at a decent speed. The speed I intended it too be. The only thing I can think of is that the KeyState lib is causing the lag.

So how does the keystate lib work. Why so much lag? And is there a way around it?