- Joined
- Jun 17, 2015
- Messages
- 97
- Reaction score
- 90
- First Language
- English
- Primarily Uses
- RMMV
the basic engine use sprite with BITMAP
So is CPU rendering only
CPU need work with javascript + rendering simultaneously
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)