Jump to content

PIXI.Ticker.system


Rob Gordon
 Share

Recommended Posts

Greetings,

I'm trying to understand what PIXI.Ticker.system actually does.

I have experimented with doing the following after initializing my application:

PIXI.Ticker.system.autoStart = false;
PIXI.Ticker.system.stop();

The result is much less energy use (as measured by the Activity Monitor in OSX) and no change in the functionality of the application. The docs mention it's used by PIXI.interaction.InteractionManager (which I use a lot), but all my functionality is intact.

FYI, I'm also stopping the shared Ticker and just using app.ticker for everything at maxFPS of 30.

Thanks,

r o b

Link to comment
Share on other sites

I may have just answered my own question. It seems the InteractionManager doesn't NEED PIXI.Ticker.system, but can send it events and is set up by default to do so.

You can do this to shut that down:

app.renderer.plugins.interaction.useSystemTicker = false

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...