Loading From Bitmap
Problem
How do you use a Bitmap in your game as Sprite?
Solution
As Sprites basically just use TextureRegions we just need to create one. There is a fine method called TextureRegionFactory.createFromSource(final Texture pTexture, final ITextureSource pTextureSource, final int pTexturePositionX, final int pTexturePositionY) which takes object that implements ITextureSource.
You could use this implementation that uses your Bitmap objects for texture source.
implementation should be here
Based on forum thread.
page revision: 1, last edited: 01 Feb 2011 23:34