{"enrichment":{"faq":[{"a":"pixijs-ticker lets you attach frame-based callbacks using `app.ticker.add(callback)`. Your callback receives a `Ticker` object with timing data. Use `deltaTime` for frame-rate-independent movement (already scaled by `speed`), or `deltaMS`/`elapsedMS` for raw millisecond values. Callbacks execute every frame automatically when the ticker runs, letting you update sprite positions, animations, and game logic synchronously.","q":"How do I add a callback to pixi ticker for per-frame animation?"},{"a":"pixijs-ticker provides three timing properties: `deltaTime` is a normalized delta (1.0 = one frame at target speed, affected by `speed` scaling), `deltaMS` is milliseconds since last frame, and `elapsedMS` is total milliseconds since the ticker started. Use `deltaTime` for frame-rate-independent gameplay, `deltaMS` for precise frame intervals, and `elapsedMS` for absolute elapsed time tracking.","q":"What's the difference between deltaTime, deltaMS, and elapsedMS in pixijs-ticker?"},{"a":"pixijs-ticker supports `maxFPS` to cap frame rate and `minFPS` for frame-drop tolerance. Assign priorities with `UPDATE_PRIORITY.HIGH`, `NORMAL`, or `LOW` when adding callbacks\u2014higher-priority callbacks execute first. Configure speed scaling via `ticker.speed` (1.0 = normal). Use `autoStart` to control whether the ticker begins automatically, and manually call `start()` or `stop()` as needed.","q":"How do I control frame rate and priority ordering in pixijs-ticker?"},{"a":"pixijs-ticker's `Ticker.shared` is a global instance tied to your app's render loop\u2014use it for most game updates. Create a `new Ticker()` only for independent timing needs (e.g., UI animations separate from game logic). Shared instances are more efficient and stay synchronized; manual instances require you to call `update()` yourself or manage their own loop.","q":"Should I use app.ticker.shared or create a new Ticker instance?"},{"a":"pixijs-ticker provides `ticker.remove(callback, context)` to detach a callback, or `ticker.addOnce(callback)` for one-shot execution. Pause all updates with `ticker.stop()`, resume with `ticker.start()`. Adjust `ticker.speed` to 0 for a pause without stopping the ticker. For manual rendering without the ticker, set `app.ticker.autoStart = false` and call `app.render()` explicitly.","q":"How do I remove a callback or pause animation in pixijs-ticker?"},{"a":"pixijs-ticker's core API remains stable across v7 to v8, but check your PixiJS release notes for any timing precision improvements or priority constant name changes. The callback signature and `deltaTime`/`deltaMS` behavior are consistent. If migrating, verify your `UPDATE_PRIORITY` references and test frame-rate-dependent logic to ensure smooth transitions.","q":"What changed in pixijs-ticker between v7 and v8?"}],"shadow_tags":["frame-timing","animation-loop","render-control","delta-calculation","priority-system","frame-rate-limiting","time-scaling","lifecycle-management"],"summary_rewrite":"The pixijs-ticker skill teaches you how to leverage PixiJS's built-in ticker for synchronizing animation frames and game updates. Learn to attach callbacks that fire reliably each frame, manage timing across your scene, and optimize performance in real-time graphics applications."},"files":[{"bytes":8992,"path":"skills/pixijs-ticker/SKILL.md","sha256":"f9831fff4604279e45fe6a605a244d5535fb2669e6f6a92a184d61e35b9b4a64","url":"https://skillfed.io/files/pixijs/pixijs-skills/pixijs-ticker/a613778f/SKILL.md"}],"id":"pixijs/pixijs-skills/pixijs-ticker","links":{"html":"https://skillfed.io/pixijs/pixijs-skills/pixijs-ticker","md":"https://skillfed.io/pixijs/pixijs-skills/pixijs-ticker.md","repo":"https://github.com/pixijs/pixijs-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":16,"language":null,"last_updated":"2026-06-04","license":"MIT","name":"pixijs-ticker","publisher":"pixijs","stars":293},"relations":{"similar":[{"id":"gamedev-skills/awesome-gamedev-agent-skills/pixijs-rendering"},{"id":"pixijs/pixijs-skills/pixijs-application"},{"id":"freshtechbro/claudedesignskills/pixijs-2d"},{"id":"pixijs/pixijs-skills/pixijs-migration-v8"},{"id":"pixijs/pixijs-skills/pixijs"},{"id":"pixijs/pixijs-skills/pixijs-core-concepts"},{"id":"pixijs/pixijs-skills/pixijs-scene-gif"},{"id":"pixijs/pixijs-skills/pixijs-filters"},{"id":"pixijs/pixijs-skills/pixijs-performance"},{"id":"pixijs/pixijs-skills/pixijs-html-source"}]},"slug":{"owner":"pixijs","repo":"pixijs-skills","skill":"pixijs-ticker"},"version":"a613778f"}
