Flash performance for game dev: native render VS BitmapData framebuffer

前端 未结 5 2086
感动是毒
感动是毒 2021-01-30 23:19

I develop a 2D shooter game with lots of objects and aggressive scrolling.

QUESTION: which way is better?

CHOICE 1 - use nativ

5条回答
  •  一个人的身影
    2021-01-31 00:02

    If you are doing hundreds or thousands of objects on a screen (such as with intense particle effects), then you will have better performance with CopyPixels.

    A lot of this just depends on what you're trying to do, right?

提交回复
热议问题