Page 1 of 1

Floating PLayer

Posted: Mon Dec 16, 2013 8:22 am
by Sirius24
Okay So I made a game for the Ludum Dare and it seems to work for me but people keep having trouble with it.
The problem people keep having is the player keeps floating up when they jump. I just dont understand because its working fine for me.

Just wondering if anyone has some idea of what could be going on.

Heres a zip file of my game http://speedy.sh/HBPkK/ld28.zip

Thanks

Re: Floating PLayer

Posted: Tue Dec 17, 2013 6:54 am
by Lafolie
In your main.lua at line 37 you adjust the players y velocity without using dt. I tweaked it and applied dt which prevented the floating bug, but the collision seemed a bit off. There could be more places in your code like this, but I don't have time to check right now.

Re: Floating PLayer

Posted: Tue Dec 17, 2013 8:58 am
by SiENcE
Uhm downloading an exe is bad. Please up the love!

Re: Floating PLayer

Posted: Tue Dec 17, 2013 9:04 pm
by Sirius24
Wow I had already changed that and I thought I had uploaded the right file but apparently I didn't. I should have double checked myself Sorry. Thanks for the help though I probably been hitting myself in the head for hours wondering what happened. Sorry about the .exe I just linked the same site for the compo ill do a .love next time.