Flash performance for game dev: native render VS BitmapData framebuffer

前端 未结 5 2085
感动是毒
感动是毒 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-31 00:12

    I have a lowend laptop, Intel Mobile 1.6Ghz/512MB, Firefox 3.5.x, Flash10.0.32.18, WinXP

    I can cleary see a big difference.

    native version: less than 10sec goes up to CPU99% and movement is jerky. custom version: stays below

    Btw, is there any chance to get example code as an exercise.

提交回复
热议问题