How to draw a background fast in cocos2d?

后端 未结 3 1837
后悔当初
后悔当初 2021-02-03 11:42

I\'m toying with a small game on my iPad using cocos2d and I\'ve run into some performance worries. I have a 512x512 image tiled as my background. That gives me around 40fps wit

3条回答
  •  有刺的猬
    2021-02-03 12:15

    I tried this myself with a 1024x768 background and get about 60fps even in debug with an iPad. Perhaps make sure your image doesn't have extra channels or alpha?

提交回复
热议问题