godot-escoria / escoria-issues

Central Escoria issue tracker
3 stars 0 forks source link

Unusable area with simplemouse #336

Closed balloonpopper closed 1 year ago

balloonpopper commented 1 year ago

Please make sure you talk to the community before creating an issue.

Describe the bug In the attached picture, the area in the pink box cannot be used. Even though the UI is not on this area, Escoria acts like it is and does not recognise clicks here. image

To Reproduce Turn on simplemouse. Try and walk down the bottom of the screen.

Expected behavior This should be usable area for the player

Versions

Additional context Add any other context about the problem here.

BHSDuncan commented 1 year ago

Yeah...SimpleUI needs a lot of catch-up work in general. Thanks for making note of the particular issues. I think we'll address these as much as possible once we get closer to the 4.0 release, and I do think a lot of these should be fixed for the 4.0 release itself.

Reptapog commented 1 year ago

Jumping in here because I was just dealing with this but it's definitely a matter of the ui Control node sitting on top of everything. It also effects any interactable items/areas placed in that region. There's definitely cleaner and less hacky ways to do it but I just positioned the ui node out of the viewport and offset its children accordingly

balloonpopper commented 1 year ago

Changing the mouse pass-through setting to "ignore" on the HBox,VBox, Spacer and UI nodes in game.tscn fixes it, however it showed me another bug. If you right click off the background, the mouse cursor won't change. The immediate fix is to resize all backgrounds to be at least 1200x900 (the game resolution). This also exposed another problem in that you can't currently give the completed application form to the worker in room 6. I need to look at that later.