TechnoSuperguy
28th February 2009 - 11:46 PM
There sure is! Put this code in the Create event of the object the view follows:
CODE
scale=1
zoom=false
Then put this in its Step event:
CODE
view_wview=640*scale
view_hview=480*scale
if zoom=true and scale>.5 {scale-=.05}
When you're ready for the view to start zooming in, simply set the "zoom" variable to true, then sit back and watch the fun! Please note, in this example, I've set a zoom limit of .5 (which is 2x the scale of a normal view), so edit the limit to your liking.