Page 2 of 2
Re: Platformer Jump Help
Posted: Fri May 01, 2015 6:43 pm
by ArterianGames
Can I just simply send you rar? xD
Re: Platformer Jump Help
Posted: Fri May 01, 2015 6:56 pm
by Robin
Yea, my computer doesn't do rar. That's why a .love is generally a renamed .zip, because then everyone can run it.
Re: Platformer Jump Help
Posted: Fri May 01, 2015 7:01 pm
by ArterianGames
Oh ok
I'll try to do it with zip then I quess?
Re: Platformer Jump Help
Posted: Fri May 01, 2015 7:04 pm
by ArterianGames
Hope it works now...
Re: Platformer Jump Help
Posted: Fri May 01, 2015 7:48 pm
by Robin
I see the problem. You don't pass dt to your update functions, you define a global variable called dt. Remove that line, and replace the following function definitions:
Code: Select all
function love.update(dt)
PLAYER_UPDATE(dt)
end
and
Code: Select all
function PLAYER_UPDATE(dt)
player.physics(dt)
player.controls(dt)
end
Re: Platformer Jump Help
Posted: Sat May 02, 2015 8:59 am
by ArterianGames
THANK YOU SO MUCH! THIS GUY SHOULD BE A MOD!
#Promote