开发者

Cocos2d Sprite performance with bitplanes

开发者 https://www.devze.com 2023-01-04 10:13 出处:网络
Is it possible to improve performance drawing sprites by reducing the number of bit planes used in their image file? For example if you only used 4 colours and hence image was 2 bitplanes, would cocos

Is it possible to improve performance drawing sprites by reducing the number of bit planes used in their image file? For example if you only used 4 colours and hence image was 2 bitplanes, would cocos2d show and m开发者_运维技巧anipulate these quicker than a 24 bit colour sprite?


Reducing the bit depth and size for your images will definitely improve performance. You'll be using less texture memory and overall there should be less work for the cpu/memory to do. Best thing to do is try reducing the size/detail of your images and see how it affects performance.

0

精彩评论

暂无评论...
验证码 换一张
取 消