{"repo":"reececomo/pixijs-actions","free":true,"listed":false,"github":"https://github.com/reececomo/pixijs-actions","clone":"git clone https://github.com/reececomo/pixijs-actions.git","description":"🎬 Powerful, high-performance animations for PixiJS","language":"TypeScript","stars":27,"topics":["actions","animation","pixi-action","pixi-js","pixijs","animate","cocos2d","cocos2d-x","interpolation","pixi"],"license":"MIT","category":"game-templates","readme_excerpt":"PixiJS Actions &nbsp; 🎬 Lightweight, powerful animation composer for PixiJS (based on Cocos2d/SKActions). ------ ------ 🎯 35+ built-in Actions, 30+ Timing modes 🧩 Simple, declarative API 🎬 Supports custom actions/timing functions 🧑‍🍳 Chainable & reuseable recipes 🍃 Zero dependencies ⏱️ Speed, timing and pause support 🤏 [!NOTE] If not using PixiJS ticker, put Action.tick(deltaMs) in your requestAnimationFrame() loop. [!TIP] PixiJS v7/6 Ticker? Use: Ticker.shared.add(() = Action.tick(Ticker.shared.deltaMS)) 3. Done! ✨ You are now ready to run your first action! Running actions Containers are extended with the following properties and methods: Property Description :----- :------ speed A speed modifier applied to all actions executed by the container and its children. Defaults to 1.0 . isPaused A boolean value that determines whether actions on the container and its children are processed. Defaults to false . Method Description :----- :------ run(action) Run an action. runWithKey(key, action) Run an identifiable, replacing any actions with the same key. runAsPromise(action): Promise Run an action as a promise. hasActions(): boolean Whether the container is executing actions. action(forKey): Action \\ undefined Return an action associated with a specified key. removeAction(forKey): void Remove an action associated with a specified key. removeAllActions(): void End and removes all actions from the container. Running identifiable actions You may use container.runWithKey(key, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/reececomo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/reececomo/pixijs-actions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}