Platformer Jump Help
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 11
- Joined: Tue Apr 28, 2015 6:36 pm
Re: Platformer Jump Help
Can I just simply send you rar? xD
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Platformer Jump Help
Yea, my computer doesn't do rar. That's why a .love is generally a renamed .zip, because then everyone can run it.
Help us help you: attach a .love.
-
- Prole
- Posts: 11
- Joined: Tue Apr 28, 2015 6:36 pm
Re: Platformer Jump Help
Oh ok I'll try to do it with zip then I quess?
-
- Prole
- Posts: 11
- Joined: Tue Apr 28, 2015 6:36 pm
Re: Platformer Jump Help
Hope it works now...
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Platformer Jump Help
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:
and
Code: Select all
function love.update(dt)
PLAYER_UPDATE(dt)
end
Code: Select all
function PLAYER_UPDATE(dt)
player.physics(dt)
player.controls(dt)
end
Help us help you: attach a .love.
-
- Prole
- Posts: 11
- Joined: Tue Apr 28, 2015 6:36 pm
Re: Platformer Jump Help
THANK YOU SO MUCH! THIS GUY SHOULD BE A MOD!
#Promote
#Promote
Who is online
Users browsing this forum: Google [Bot], slime and 6 guests