Hi There,
Does anyone has sample codes to Zoom in/out the screen like Angry Birds game ?
Thanks
[import]uid: 75708 topic_id: 24443 reply_id: 324443[/import]
Hi There,
Does anyone has sample codes to Zoom in/out the screen like Angry Birds game ?
Thanks
[import]uid: 75708 topic_id: 24443 reply_id: 324443[/import]
Someone can jump in and correct me if I’m wrong, but if you wanted to Zoom in/out you could…
Unfortunately I do not believe that physics objects can scale size, so this won’t work if your app is using physics objects. Hopefully I’m wrong though! [import]uid: 36054 topic_id: 24443 reply_id: 98874[/import]
Yes, you can scale an entire display group to zoom in… and, best of all, physics objects will scale appropriately too. But only if you scale the entire group. You can’t scale objects individually, the physics bodies won’t mesh that way. Fortunately, in this case, you’ll want to scale the entire group because it’s vastly easier and more logical to do so, for zooming purposes.
Brent [import]uid: 9747 topic_id: 24443 reply_id: 98884[/import]
Yes, I think ideally we could have some sort of camera module that has all that features, like moving around smoothly and zoom in/out smoothly. A feature could also be that the camera automatically follows the “Hero” along the screen. Not sure if something like that already exists somewhere or maybe Ansca can add it? 
–wunderwuzzi [import]uid: 118947 topic_id: 24443 reply_id: 98895[/import]