I have this (sprites.png)
http://dl.dropbox.com/u/54138920/img/sprites.png
also have this
Texture sprites = new Texture(Gdx.files.internal("res/sprites.png"));
textures.put("ship", new TextureRegion(sprites, 0, 0, 80, 42));
textures.put("missile", new TextureRegion(sprites, 0, 50, 32, 16));
then why I get this?
http://dl.dropbox.com/u/54138920/img/po.jpg
;D
It should be drawing a ship (corret) and a missile, the red one right below ship on sprite map, but the missile won’t. “textures” is just a HashMap. I draw them normally with SpriteBatch. Any tips?