Jump to content

desiredFps and tweens


flogvit
 Share

Recommended Posts

Hi,

 

We're trying to reduce the CPU usage on some units for Phaser games. Our initial thought was that setting game.time.desiredFps = something would do the trick. But that doesn't work well with tweens. When setting a tween to use 1000 ms to be finished, changing the desiredFps will make the tween use more time.

 

Is this a bug in tween, or is there another way of changing the fps without changing the tween time? We can setup all tweens with ms*fps/60, but that is not desirable.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...