actionscript - How much faster is blitting than using vector Sprite objects in Flash? -
i know there different situations 1 better other, i'm comortable generalized statistic of...
how faster blitting using vector sprite objects in flash?
there no hard-and-fast answer question, depends on variety of factors including
- the complexity of vector shapes in question
- the types of transformations intend apply images (rotation , scale worse bitmaps, example)
- the target platform (i've seen evidence air runtime android not have differences of same magnitude, if target based on web-browser research goes out window)
- it may not faster @ based on combination of above. i've gotten results if not better combination of using scrollrect , cacheasbitmap (on desktop in web browser, is!)
the true answer question run tests on target platforms , make decision there. couple of tips choosing platforms:
- always test in browser, if browser target. test publish not enough.
- always test in release version of player (one never alert user runtime errors). target audience have, , in fact has better runtime performance debug player.
Comments
Post a Comment