It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
The game is locked internally to 20fps. Changing that would break it in many ways.
avatar
tecilein: Is there a solution for this problem?
I also only have 20 fps in the game.
Is this normal or is there a fix to get 60+ fps?
avatar
sk11venge: I am getting the same issue, 20fps in game, i have tried different settings but nothing works with the latest version.

Also when i do a file verify it will download something and install it but it appears to do nothing to fix the issue, and i can repeat this process but it doesnt help.
DevilutionX now runs the render at the monitor refresh rate.
avatar
Anders_Jenbo: DevilutionX now runs the render at the monitor refresh rate.
I saw this update the other week but haven't yet gotten around to trying it out.

So, how does it work exactly? I imagine that the game itself must still be using some kind of 20 tics/timer so that the gameplay doesn't get sped up or otherwise adversely affected, whilst outputting more frames for the graphics card to display. Also, I would expect that the higher framerate would only really be noticeable for the map scrolling and the mouse pointer as it wouldn't add any additional animation frames for the sprites themselves.

How much of a difference does it make?
avatar
Anders_Jenbo: DevilutionX now runs the render at the monitor refresh rate.
avatar
Korell: I saw this update the other week but haven't yet gotten around to trying it out.

So, how does it work exactly? I imagine that the game itself must still be using some kind of 20 tics/timer so that the gameplay doesn't get sped up or otherwise adversely affected, whilst outputting more frames for the graphics card to display. Also, I would expect that the higher framerate would only really be noticeable for the map scrolling and the mouse pointer as it wouldn't add any additional animation frames for the sprites themselves.

How much of a difference does it make?
The game loops renders the screen every frame but only does logic at 20hz, this isn't much unlike how many more modern games where the rendering and logic is fully decoupled (not quite the case yet).

The world still scrolls the same (for now). It does make the mouse a lot nicer to work with. Also, transitions and dialog text is now smoother. It also makes it easier to find items on the ground as the mouse doesn't make big jumps when moved quickly. Sprites (like fireballs) could also be made to move more smoothly across the screen.
Post edited January 10, 2020 by Anders_Jenbo