[Wasm] Use renderer setTimeout behavior instead of requestAnimationFrame in Application::run #2566
-
Hi! In
Why changing the behavior? that's the good question, but with requestAnimationFrame if the browser tab lose focus the game doesn't run, whereas with given FPS with setTimeout it runs |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'll define and use |
Beta Was this translation helpful? Give feedback.
I'll define and use
AX_WASM_LOOP_TYPE
withfps
or defaultraf