So there is this mini-game for the lore for the horror game I am making. Wanted to add some camera mechanics where if you enter a room the camera moves there. Need some help?
Theres a simple lazy way and a more advanced way, Im just gonna tell you the simple short lazy way. So to make it work add a system to detect when you enter a doorway or another room, then count how many blocks the room is for example let say its a 5x5 room, Each block is 32 pixels, So do the math. 5 x 36 = 180.
So when the doorway detection system goes off make it message the object with the camera to add 180 to the camera position. https://flowlab.io/game/view/1380566 I use it here, inside the Player’s Run and Jump Bundle.