Hey guys so I’m creating a camera manager system and I wasn’t 100% sure how to make it efficiently. I have one working at the moment but it’s quite arbitrary.
Basically I want to make a camera system that changes camera on entering a new room, similar to old resident evil games or telltale games. The level would be a series of rooms in a house.
To do this I was going to create a camera manager class which would deal with functionality and have a class derive from camera manager that would be responsible triggering when a player is entering a new room. I’m still new to game dev so I was unsure if maybe I should attempt to create an observer system or even make the camera manager a singleton and have it deal with functionality while the derived class would deal with the collisions and specific room information.
Sorry if my question is a bit vague, I can expand on anything if needed! Thanks a lot in advance!