- Jun 17, 2015
- Reaction score
- First Language
- Primarily Uses
the basic engine use sprite with BITMAP
So is CPU rendering only
Slight correction, GPU is still being used for rendering sprites with bitmap. Since MV Sprite is just pixi.sprite wrapped. And Bitmap is just a wrapped baseTexture.
The issue is a few things
1) Bitmap has some very slow canvas stuff in it, and if used can slow things down. Stuff related to hue or canvas text. (if you want tinting btw, that is ran via the gpu and is fast)
2) Sprites don't take advantage of pixi.textures for frames and animation. Instead switching the frame manually. It also has an expensive function used to change the texture if hue is changed.
3) All sprites have updates to there movement for viewport, which isn't needed. Instead all sprites should be added to a container, which offsets things for viewport. (then each sprite within the container can move if they need too)