Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera stops working (SILENTLY!) if the camera limit has a negative top left. #361

Open
jeancallisti opened this issue Jun 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jeancallisti
Copy link

Camera stops working (SILENTLY!) if the camera limit has a negative top left.

Scenario :

Create a room with everything needed in it
Set the Room's camera limits with a negative top left (-500, -500)
Start the game (i..e start the room)

Expected (good):

The camera to start at -500, -500 **OR /!\ some kind of error in the console  /!\**

Observed (bad) :

The camera is at (0,0) (I think?)
The camera doesn't center itself on the player (even if he's in positive, valid coordinates)
The camera doesn't move.
I think the clicks aren't intercepted either but I'm not sure of that one.
@jeancallisti jeancallisti added the bug Something isn't working label Jun 7, 2023
@BHSDuncan
Copy link
Collaborator

@jeancallisti if you set your logging level to INFO (in Escoria -> Debug -> Log Level), you'll see messages like:

ESC (2023-06-10T13:52:49) I main.gd: Setting camera limits using configured parameters (-500, -500, 1280, 550)
and
ESC (2023-06-10T13:52:49) I esc_camera.gd: Current camera position = (0, 0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants