Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Automatic tweening of GameObjects between update calls


jscx
 Share

Recommended Posts

Hi,

I was wondering if there was a way, built-in to Phaser, to have my game logic run at say 10 steps a second, but have my graphics render at the browsers native fps (ie 60fps). I would like the location of all visible GameObject's to be tweened automatically between their current position and their previous position, making the movement look smooth! I found game.time.desiredFps, but when it's set as low as 10fps the movement obviously look jumpy. I can implement the tweening myself, I just wondered if the functionality already existed?

 

Thanks

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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