-
|
Is it possible to change the value for how far the player must be from the center of the screen in order for the camera to move? I noticed that when moving right, the player appears much farther away from the center of the screen than the official sonic games. It's supposed to move to the left when the player is 16 pixels away from the center, and move right when the player is directly at the center. Screen.Recording.2026-04-12.163156.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Well, you can go to the Player.gd script, into the _ready function where you find the part that initializes the camera, and simply set the horizontal margin to 0 |
Beta Was this translation helpful? Give feedback.
Here's the block of code in the _ready function: