Hello Guest

Update void laggy !

  • 1 Replies
  • 1926 Views
*

Offline Yuri6037

  • ***
  • 104
  • Check out our website : http://www.sldt-team.net !
    • SLDT
Update void laggy !
« on: November 16, 2013, 16:38:45 »
So, all my rendering code works perfectly.
The new problem is the stupid game update system witch is slow on AMD CPU and fast on Intel CPU ! In plus with Intel CPU you have sometimes lags due to non called update voids during 1, 2 seconds !

So why my timing system don't wan't to update my game correctly ?

Here is the timing code (in the !Display.isCloseRequested loop) :
Code: [Select]
--PRIVATE--
The getTime() void now :
Code: [Select]
--PRIVATE--

Normaly the update void need to be called every milliseconds in real life.

Thanks by advance,
Yuri6037
« Last Edit: November 16, 2013, 18:36:18 by Yuri6037 »

*

Offline Yuri6037

  • ***
  • 104
  • Check out our website : http://www.sldt-team.net !
    • SLDT
Re: Update void laggy !
« Reply #1 on: November 16, 2013, 18:35:39 »
Yeah ! Bug has been corrected !
Now let's pass to OpenAL + Paulscode...

Yuri6037