hiteshsuthar / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

multiple sprite.setTexture(texture) messes up sprite scaling #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. setTexture(texture) - multiple times on same sprite
2.
3.

What is the expected output?
To switch textures, without change in scale

What do you see instead?
Although the texture is switched, the scale gets all messed up after a 
cycle or two, even though the textures are the same dimensions

What version of Rokon are you using?
Latest trunk

On which version of Android are you experiencing this?
1.6-2.0.1

Please provide any additional information below.
I would like to reuse my sprites and just switch textures as appropriate 
(with same dimensions)

Original issue reported on code.google.com by docto...@gmail.com on 5 Jan 2010 at 5:30

GoogleCodeExporter commented 8 years ago
Seems like the problem was a previous setoffset.  If I didn't mess with the 
offsets, it 
works as advertised.  

Original comment by docto...@gmail.com on 5 Jan 2010 at 5:40

GoogleCodeExporter commented 8 years ago
Rokon 2 is on the way, all current Issues are obsolete

Original comment by rtaylor205@gmail.com on 24 May 2010 at 3:31