Search found 13 matches

by Kivutar
Thu Jul 19, 2012 12:27 am
Forum: Support and Development
Topic: Gravity and lag
Replies: 23
Views: 12415

Re: Gravity and lag

Thanks a lot. Now I understand where this bug comes from. I applied this fix in my main.lua update(dt)

Code: Select all

dt = math.min(dt, 0.07)
And any idea why my game lag so much on windows? It runs at 40 FPS wih windows, and 60 FPS on Linux, same laptop (macbook).
by Kivutar
Wed Jul 18, 2012 10:15 pm
Forum: Support and Development
Topic: Gravity and lag
Replies: 23
Views: 12415

Re: Gravity and lag

Thanks for your reply. What do you mean by tunneling? Sorry, my english is bad. Is the bullet trick the body type "kinematic" in Box2D: https://love2d.org/wiki/BodyType ? Because I searched HC reference for such a thing and found nothing. There must be a way to avoid that. I suppose there ...
by Kivutar
Wed Jul 18, 2012 3:11 pm
Forum: Support and Development
Topic: Gravity and lag
Replies: 23
Views: 12415

Gravity and lag

Dear Löve users, I'm facing a bug i've not been able to fix for a few days. My game is a platformer, I use HC for collisions. Here is the problem: When my game lags too much (the first time I launch it on a linux session, or on windows when I launch two instances of the game), my objects with gravit...