You need to use tilesheets which abstract the sprite.graphics.beginBitmapfill() command if trying to render on android. This is what I have found from my research into why the awesome rendering system I made sucks when I try it out on my phone. More info on tile sheets here: http://haxecoder.com/post.php?id=21 From looking at source code, haxe-flixel uses tile sheets. Reading into haxe-flixel source code: #if FLX_RENDER_BLIT is using COPYPIXELS() FLX_RENDER_TILE is using TileSheets. So: FLX_RENDER_BLIT is used for non-hardware targets like flash and HMTL5. And FLX_RENDER_TILE is used for hardware targets like android and neko. This is my understanding. Will look more into this later.
Saturday, June 13, 2015
Faster than CopyPixels in Haxe
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment