A fork of https://github.com/mattjennings/svelte-pixi updated for use with PixiJS v8
Check their Documentation for usage.
See changes below
You just need to install the following dependencies:
npm install pixi.js svelte-pixijs
ticker.deltaTime
TilingSprite - Added tileScale
and tileRotation
props
New Component PerspectiveMesh
. PixiJS Docs - PerspectiveMesh
Name | Description |
---|---|
texture | The texture to use |
vertices | PointLike The number of vertices in the plane. { x: 10, y: 10 } |
corners | PointLike [] Position for each corner [{ x: 0, y: 0 }, { x: 100, y: 0 }, /*...*/ }] |