Well, it doesn’t really ‘focus’ anywhere it’s just enlarging the scale which means, by default, it looks like it’s just zooming on the center of the screen. Adding some x/y coordinates to zoom into on the transition thing should help. It might take some playing to get the results you want but the basic logic would be:
[lua] transition.to( levelGroup, { time=300, transition=easing.inOutQuad, xScale=2, yScale=2, x=myCharacter.x, y=myChracter.y} )[/lua]
where the x/y is the coords you want to zoom in on and in this case I just used a display object called myCharacter.
I don’t really use this but I think you may run into an issue with relative x/y values to your group x/y position so it may take some playing to figure out exactly how to zoom in exactly where you want… or it may just work. Either way it should at least get you to the point where you can tinker with the logic of getting the correct target x/y values. [import]uid: 147305 topic_id: 34157 reply_id: 135848[/import]