Optimizing my dynamic background engine for a 2d flash game in actionscript-3

前端 未结 6 1314
青春惊慌失措
青春惊慌失措 2021-02-11 05:23

Edit 2: judging on the lack of replies I start wondering if my issue is clear enough. Please tell me if I need to elaborate more.

Notice: see bottom for a co

6条回答
  •  醉话见心
    2021-02-11 05:57

    What if instead of destroying background squares you just put them in a pile of "ready to go" squares that you can draw on, capping it at like 4? then you don't have to create one when you need one you just move it into the right spot and maybe shuffle the stars or something.

    [would add example but i don't write AS3 code :(]

提交回复
热议问题