Ctem Posted June 29 Share Posted June 29 Hello everyone. I'm developing a game on pixi. Faced with such a problem. When you start the game on the iphone in power saving mode, fps drops. I tried to track this to change the speed variable, but the game is still getting slower. Maybe I'm doing something wrong. Please tell me how to solve this problem? app.ticker.maxFPS = 60; app.ticker.add((time) => { game.update(); if(time.deltaMS > 33) { game.counter = 2; } if(time.deltaMS < 25) { game.counter = 1; } }); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.