little lags

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.
rvj
Prole
Posts: 15
Joined: Fri Feb 10, 2012 5:55 pm

Re: little lags

Post by rvj »

I don't think it's something else sucking up CPU cycles. I'm not running any anti-virus etc. I've attached a screenshot with my game running and a 'top' next to it (for the non-linux people it's just a list of processes ordered by % of processor usage. It suggests that the processor isn't being seriously taxed by any program, nor is there any serious memory usage.

I'm going to keep poking around looking for clues.

(edit) Checked on my Windows 7 boot: I don't get the little freezes. The framerate varies from 57 to 61 but without interuptions. It freezes up for several seconds when I display smoke trails but that's unrelated.
Attachments
screenshot.jpg
screenshot.jpg (71.62 KiB) Viewed 3203 times
User avatar
ncarlson
Prole
Posts: 35
Joined: Wed Jul 20, 2011 4:00 pm

Re: little lags

Post by ncarlson »

xefhs wrote:Hi guys,

In this attached .love, my image is supposed to move in x smoothly,
but sometimes (every ~10 secs) the movement is break and my image seems to be teleported. (just few pixels)
The phenomena you're experiencing may be caused by temporal aliasing. This can be remedied by applying the techniques found in the following tutorial:

http://gafferongames.com/game-physics/f ... -timestep/
User avatar
xefhs
Prole
Posts: 8
Joined: Fri Dec 09, 2011 7:17 am

Re: little lags

Post by xefhs »

I start to think these "lags" come from my PC and not LÖVE. thanks anyway. :nyu:
Sorry about my English, I'm French.
rvj
Prole
Posts: 15
Joined: Fri Feb 10, 2012 5:55 pm

Re: little lags

Post by rvj »

C'est probablement l'ordinateur mais c'est pas seulement le tien. Je vais continuer a chercher la probleme (pour genre une heure plus avant de lacher)

Forgive my french, I'm english.

But yeah I'll keep trying to narrow down the problem because it bugs me.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests