It looks like you're new here. If you want to get involved, click one of these buttons!
Texture texture = TexturePack.new("game-textures.txt","game-textures.png") TextureRegion enemies = texture:getTextureRegion("enemies.png") TextureRegion char = new TextureRegion(enemies,0,0,48,48) Bitmap bmp = Bitmap.new(char) |
Likes: shivaj
Comments
- create a TextureRegion from a TextureRegion
- create a Font from a TextureRegion
I will try to extend the API so that functions can accept
- filename or
- Texture or
- TextureRegion
everywhere.
Likes: Scouser
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive