Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Help with incorporating a zoom function

Sean Aram

Villager
Xy$
0.00
Hello!

I'm struggling with trying to add a zoom function to my game. Specifically, I'd like the camera to zoom in slightly when entering a new map, like a building, and then zoom back out when returning to the town map.

I want the camera to behave as normal when in a building: still following the player, just with a closer view.

How can I go about doing this? I've experimented with a few plugins, but to no avail.


thanks!
 
Top