Zoom to point DEMO

firemaplegamesfiremaplegames Member Posts: 3,211
edited November -1 in Working with GS (Mac)
Hey All!

Just a quick demo showing how to zoom the camera in to a specific point:

http://gamesalad.com/game/play/69384

This is a way to zoom the camera towards a specific point, in this case where you click the mouse or tap the screen. This might be useful to zoom in on a specific object, or as a transition to a new Scene.

Feel free to use this any way you want!

Joe
Fire Maple Games

Comments

  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Sweet Joe, look forward to getting on my mac to try these new demos out.

    Thanks
  • UtopianGamesUtopianGames Member Posts: 5,692
    I have problems with what im trying to do....

    I have a zoom working to X-120,Y-60 of an actor and change camera to 240 x 160 (this makes sure the actor is in the center of the screen) BUT....when i try and move the actor around while zoomed using constrain actor X,Y to Mouse X,Y the mouse X,Y seems to stray from my actor the further i am away from 240,160.

    Darren.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Yeah, you have to take into account for the origin of the camera. It changes as you change the zoom.

    Controlling the camera while zoomed in is tricky. I'll try and think of a solution when I get some time.
  • UtopianGamesUtopianGames Member Posts: 5,692
    Theres a video i just uploaded explaining my problems :P

    http://gamesalad.com/forums/topic.php?id=8634

    Darren.
Sign In or Register to comment.