Nope, that doesn’t work either. I might be doing something wrong in my “setup”.
Here is a link to the code with game logic that works as expected (its a simple snake-game) but with the fps-limitation not working: Snake game in javascript with Phaser 3.
I’m interested in this too. I’m creating games to be used on tablets and phones that don’t need high fps, and it would be awesome to be gentle on the power consumption.
Hi @samme ! Could you kindly explain your solution ? I am kinda lost. When I added fps in config as shown below, my game moved faster. Been trying alot of solution provided by others, but to no avail. Will appreciate if you could help me out. Thank You ! :’))))))
Thanks for your reply, @samme . Not sure why, but it is not working for me. When forceSetTimeOut is true and target is 60, my game moves faster. Besides placing fps in config, may i know if there is anything else that you did differently ??
@samme On computers with high refresh rate (144hz) , the game moves faster but on computers with 60Hz, the game moves slower. I want to maintain the game speed on all computers with different refresh rate.