RPG Maker Forums Archive
Search Settings
Home › Game Development Engines › RPG Maker Javascript Plugins › Learning Javascript

How to make PIXI.projection.Sprite2d from RMMV Bitmap?

Learning Javascript
S sqdt
Dec 29, 2019 15:26
Problem solved.
Code:
var sprite = new PIXI.projection.Sprite2d.from(bitmap.baseTexture);
sprite.convertSubtreeTo2d();

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-pixi-projection-sprite2d-from-rmmv-bitmap.116717/

This is an unofficial, read-only archive preserved for the community. Original site: https://forums.rpgmakerweb.com

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About