phamtuanchip / andengineexamples

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

change sprite #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

In andengine I want to change sprite with different image.

already I knew the setcurrentTied method. In my case I want to change 

TextureRegion belonging to sprite  with othe TextureRegion.

I want to know that. Thanks a lot.

Original issue reported on code.google.com by sinsastu...@gmail.com on 24 Feb 2011 at 1:20

GoogleCodeExporter commented 9 years ago
I would also like to see this sort of feature implemented.  I am trying to make 
a touch-based grid style game and I want to be able to update each grid tile 
when it is touched.  
It would be much simpler to just do this with a switch of the texture instead 
of trying to stuff some code in that removes the current sprite and then sets a 
new sprite in its place with the updated texture.

Original comment by Carter.J...@gmail.com on 15 Aug 2011 at 12:51

GoogleCodeExporter commented 9 years ago
Even I am facing the same problem as i have to implement a slot machine with 
3X5 matrix so for that i have to highlight few textures to show the winning 
elements which can be done replacing current bitmap with highlighted one.

Other then that can i get the current visible items of the long sprite

Thanks

Original comment by er.surbh...@gmail.com on 31 May 2013 at 10:26