Reputation: 5071
I would love to have an answer to this particular question, asked at the end of the thread. TS found the solution for transparent bitmap text him/herself, however, how does it compare to setting the cacheAsBitmap or cacheAsBitmapMatrix flag in performance?
Has anyone done some 'research' into this area? I know of the differences between cacheAsBitmap and cacheAsBitmapMatrix but i'd like to know where the bitmap text stands in all that!
Thanks! (And yes, the ultimate goal is optimal mobile performance :> )
Upvotes: 1
Views: 359
Reputation: 17217
bitmap text employs blitting techniques with the BitmapData.copyPixels() function. this is always going to be faster than rendering vector text that is then converted to a bitmap.
[EDIT RE:thanks]
absolutely. if you are creating content with AS3 for mobile you should definitely checkout the Starling framework (and here's the documentation). The starling.text.TextField
class uses bitmap fonts from your own supplied texture atlas.
you should read Thibault Imbert's Introducing Starling: Building GPU Accelerated Applications. it's a short, free e-book that will get you up and running quickly.
Upvotes: 1