lampe-games / godot-open-rts

Open Source RTS game made in Godot 4

Home Page:https://lampe-games.itch.io/open-rts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Right edge doesn't scroll (MacOS 14 inch)

domenukk opened this issue · comments

On my machine the upper, left, and lower edges scroll just fine, the right edge doesn't scroll, no matter how much to the right I move.
Let me know if there's some way I can help debug this.

Similar behavior in windowed mode, actually: The mouse has to be out of the game completely to scroll, see video.

Restricting the mouse to the game window (in settings) doesn't help but makes it so that the mouse sometimes moves to the left by itself when moving it to the right at the right edge.

Screen.Recording.2023-08-09.at.22.24.38.mov

@domenukk can you try increasing screen_margin_for_movement of IsometricCamera3D of res://source/match/Match.tscn ?

Setting it to 2 helped.

Related, the "Restrict the mouse" option seems pretty broken though, also unrelated to the scroll behavior. When set, the mouse sometimes moves up when I try to move down. I can open an extra bug for that if it helps (hard to explain, though)

@domenukk feel free to create separate ticket for that