Hey, it's me again.
I tried to create a camera that follows my character, the camera sprite follows but it doesn't scroll the camera to the left/right when the character is walking to the left/right.
What I do:
I create a new sprite object, give it scroll-to behavior and make it invisible (visible for now).
Then I code the object to follows my sprite objects. My character can transform between 2 sprite objects.
The code:
PlayerHuman, is visible | Camera, Set position to (PlayerHuman.X, Camera.Y)
System, Else | Camera, Set position to (PlayerFox.X, Camera.Y)
Files:
drive.google.com/open ... lo1Q29MNkU
(The camera function should start on Level 1 - Forest.
Tutorial Level should be a fixed camera, so there is no issue with that.)