Does anyone have hands-on experience on this?
EDIT: Specifically, I am talking abou开发者_C百科t rendering 2D graphics directly onto one bitmap buffer.
Are you are talking about 2D drawing?
If so, then only one piece of advice is necessary. Instead of using MovieClips, you will have a phenomenal speed increase from prerendering your content into BitmapData
instances and then using copyPixels
to draw them to the screen surface.
You won't get any speed increase whatsoever from draw
. Has to be copyPixels
.
A good example of this at work: http://www.electrotank.com/junk/mike/flash/copyPixel/
Using sprite sheets is a handy technique that can work well, too.
精彩评论