T
The Count
Guest
Up until now in my project, I've just been using the built-in room Camera and Viewport 0, following my Player object. As I start adding more advanced things like a HUD and dialog boxes, I'd like to have more control over my camera, so I set out to watch a tutorial from Shaun Spalding on how to make and manipulate a camera in GML.
I followed the instructions to a 'T', but when I drop my camera object into my room and run the game, no matter where it is, what layer it's in, and no matter what its depth is, I always get a black screen when I run the game. You can hear the music and the action, you can control the player, but you just can't see anything at all. As soon as I remove the camera object from my room and run the game again, the game runs like normal.
I've checked Preferences, I've tried a gamut of different depths and layers, done countless Google searches, and even reached out in the Discord chat, but I have not been able to find a solution. I feel like it's going to be something slap-on-head stupid, but as of right now I can't figure it out.
Thanks!
I followed the instructions to a 'T', but when I drop my camera object into my room and run the game, no matter where it is, what layer it's in, and no matter what its depth is, I always get a black screen when I run the game. You can hear the music and the action, you can control the player, but you just can't see anything at all. As soon as I remove the camera object from my room and run the game again, the game runs like normal.
I've checked Preferences, I've tried a gamut of different depths and layers, done countless Google searches, and even reached out in the Discord chat, but I have not been able to find a solution. I feel like it's going to be something slap-on-head stupid, but as of right now I can't figure it out.
Thanks!