[Solved] Have the camera follow my Character with multiple layers


#1

Hi everyone,

I’m very new to game development. And probably will use this forum quite often as I develop further.

Right now I’m having an issue where I put my sprite to its own character layer and I have multiple layers where I place different blocks I want to be drawn first before others… but for some reason the camera will not center on my character or move. Right now I have the camera set to center on my sprite and I’ve tried changing which layer it needs to go on and it is still stuck. Any help would be appreciated. Also how do I tell which layer identifies which camera


#3

Each layer has it’s own camera. If you want the other layers to follow your camera too, you need to set up events for each layer so they follow your player.


#4

I’ll give that a shot. That makes a lot of sense. Thanks.


#5

It worked perfectly thank you.