* fix: Simplemouse bounding box size fix
* fix: Bug when exiting game with simplemouse with disconnecting non-connected gamepad
* fix: issue-339. Simplemouse gives an error in the debug when you move on/off ESCItems
* fix: tracks mouse position to allow for mouse tracking as well as on-demand tooltip updates on immediate target change, i.e. rendering doesn't lag a frame behind.
* chore: decouple further by using a signal
* fix: Correct action getting randomly lost with simplemouse
* fix: deleted objects aren't always equated to null.
* fix: clear the tooltip when an action is finished.
* fix: clears tooltip only on successful event completion; debug code cleanup.
* Broken room 5
* fix: Item collisions correctly determined when game resolution = screen resolution
* Update addons/escoria-core/game/core-scripts/esc_item.gd
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
* Update addons/escoria-ui-simplemouse/game.gd
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
* fix: Reverted default UI to 9 verbs
Co-authored-by: Balloonpopper <balloonpopper@git.com>
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
It appears that the settings `escoria/esc/command_paths` and
`escoria/main/command_directories` have duplicate purposes.
Unfortunately, they are read in different places, so if you add a
directory to one setting, it will not be present in the other.
Specifically, `ESCCompiler` read from `escoria/esc/command_paths`
while `ESCCommand` and `ESCCommandRegistry` read from
`escoria/main/command_directories`.
As the `COMMAND_PATHS` constant had no references, it seemed more
appropriate to delete.
The `escoria/esc/command_paths` appears to have been set initially in
`project.godot` as part of:
https://github.com/godot-escoria/escoria-demo-game/pull/467
Added a new fourth button in room14 to demonstrate this.
Renamed BYPASS_LAST_SCENE to FORCE_LAST_SCENE_NULL to make it a bit clearer.
Made events "finished" and "interrupted" signals connections as ONESHOT (so they are disconnected once the signal was received).
Also removed some unused files, many others remain.
And fixed some bugs here and there.
Fixesgodot-escoria/escoria-issues#48
Fix: tween was stopped_all before starting
Fix: reload locale from settings in ESCGame
Since main menu and pause menu are now loaded from ESCGame and not from escoria.gd, this must be done here.
Fix: small crash in load game
But save and load are broken at the moment...
Fix: check save and load after main menu changes
Required fixes
Fix: manage the game scene better in show and hide_menu
Enh: transition back in to the previous room if there was one
Fix a bug occurring where change_scene awaits forever for setup to end
Reworked change_scene and esc_room implementation to avoid yielding
Added a controller variable to allow new event run in events_manager
Don't empty the events queue if the running_event was interrupted
Fixed transitions and automatic transitions in change_scene
Added trace log level (for esc_compiler in particular)
Fixed various bugs in ESC scripts
Fix a bug where exit_scene happened multiple times where fast walking
Needed to clear the event queue
Fixes ready event was run because BYPASS_LAST_SCENE wrongly set
Inverted parameter "disable_automatic_transitions"
for change_scene, hide_menu, show_menu commands
Fix broken sched_event
Fixes as requested in PR
* feat: This enables user-defined transition and uses a tween to animate the transitions
fixes#344
* docs: Automatic update of API docs
* docs: Automatic update of API docs
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
* Moved and split escoria._ev_left_click_on_item() function into ESCController.
Added a boolean in ESCWalkContext to hold whether interact should happen after destination is reached.
Co-authored-by: StraToN <StraToN@users.noreply.github.com>