Hi there!
So let me explain my problem: in my game, whenever a character attacks another, the game zooms in on them (using this method here: http://developer.coronalabs.com/forum/2012/12/19/zoom-effect) after the attack is done, the game zooms back out. that works great
However, I ran into a problem when adding special effects, numbers and other things.
When the game is Zoomed-In Corona preserves the same position of all elements. It means that, for example, a character that was at x=250 y=250 before the zoom its still registered to be at the same coordinates during the zoom even if he looks to be elsewhere. so, if i try to put something on top of the character it shows at the wrong place.
I’m pretty sure there is a mathematical way of telling where the actual sprite is, but to my shame I just cant figure it out.
I hope my problem is understandable, I tried to include pictures, but I’m not allowed to show screenshots.
[import]uid: 136402 topic_id: 35510 reply_id: 335510[/import]
