Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello,

Zooming can be accomplished by changing the width and height of the camera. It sounds like you want an easy way to this with a "zoom" variable. The easiest way (if you're working off of this exact code) is to multiply `new_width` and `new_height` by the zoom variable every step, so that changes to the zoom instantly effect the size of the view.

Hope that helps.

Thank you so much. I'll try that =) and yes, I'm working off your project. I'm thinking about making it into a template.