Search found 3 matches

by chainliz
Wed Oct 24, 2018 1:25 pm
Forum: Support and Development
Topic: Need help understanding delta time
Replies: 4
Views: 3390

Re: Need help understanding delta time

Oooooh! That's it! Thank you so much
by chainliz
Wed Oct 24, 2018 10:43 am
Forum: Support and Development
Topic: Need help understanding delta time
Replies: 4
Views: 3390

Re: Need help understanding delta time

The code is exactly the one on the bottom of the tutorial I linked, but I replaced the dt with 0.01. I noticed that the problem occurs when I replace it in line 45 (player.y_velocity = player.y_velocity - player.gravity * dt)

here is the pastebin: https://pastebin.com/3Br3iYE7
by chainliz
Tue Oct 23, 2018 1:57 pm
Forum: Support and Development
Topic: Need help understanding delta time
Replies: 4
Views: 3390

Need help understanding delta time

Hello! I'm new to LOVE and I just started trying to make a square jump. I followed this tutorial on the wiki (: https://love2d.org/wiki/Tutorial:Baseline_2D_Platformer ) and then I tried to change some values to understand completely how did it work. So I made it print the value of the dt and I saw ...