Floating PLayer

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Sirius24
Prole
Posts: 3
Joined: Fri Jan 11, 2013 9:33 pm

Floating PLayer

Post 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
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Floating PLayer

Post 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.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
SiENcE
Party member
Posts: 805
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: Floating PLayer

Post by SiENcE »

Uhm downloading an exe is bad. Please up the love!
User avatar
Sirius24
Prole
Posts: 3
Joined: Fri Jan 11, 2013 9:33 pm

Re: Floating PLayer

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests