Animations and transitions
Learn how to create animations and transitions in Pixi'VN using the animate function and tickers.
Animations are a key part of any video game, helping to create a more engaging and immersive experience. In Pixi’VN, animations are managed using tickers and the animate
function.
The animate
function is a wrapper around the motion
library, providing a simple yet powerful way to animate canvas components. You can define animations with properties such as duration, easing
, and more.
Pixi’VN also provides several functions to perform transitions between steps
. All transitions are built on top of the animate
function, making it easy to create custom transitions as well.
All animations in Pixi’VN are triggered by tickers, which are classes that run on every frame and execute functions leveraging PixiJS.