hello everyone I have spent the a day trying to create a top down game where the camera zoom out when the player is in a open area and zooms in in confined spaces a good example of what I am talking about would be teleglitch
I made a prototype where the player is constantly making bullets and when the bullet hits a wall it sets the zoom to the distance between the object and the wall
Distance(Player.x,Player.y,Sprite2.x,Sprite2.y)/50
of course this makes the zoom far away when the player next to a wall and zoomed in when far away from a wall this is the opposite of what also I am using Magicam to control the zoom of my camera but this is very glittery does anyone know how to make a smooth zoom
plugin-magicam-for-c2-alpha-6-5-1-8-14_t74513