facebookgit / andengineexamples

Automatically exported from code.google.com/p/andengineexamples
0 stars 0 forks source link

Problem with UpdateTextureExample, how to load new Columns and Rows #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Incorrect position of AnimatedSprite in the pre-existing BitmapTextureAtlas. 

What is the expected output? What do you see instead?
The changed AnimatedSprite does not fit correctly in the existing touch area. 

What version of the product are you using? On what operating system?
its AndEngine 1.0 on windows 7 32bit

Please provide any additional information below.
in my game I have 2 fruit AnimatedSprites.. on is of 5 Rows by 7 Cols and the 
second is of 5 Rows by 7 Columns but both the AnimatedSprites have different 
width and height.. not i want to change the Texture of sprite 1 dynamically 
with the texture of Sprite 2 it  changes successfully as per mentioned in 
UpdateTextureExample.java but the alignment does not matches correctly as the 
second fruit bumps a bit up and down.. i dont know y ?? may be the size 
mentioned in the BitmapTextureAtlas ?? whats the solution plz Respond to my 
query i need the solution as its really important for me.

Original issue reported on code.google.com by legendo...@gmail.com on 29 Dec 2011 at 9:01