* Fix: disable ESCGame inputs until signal room_ready is emitted
* fix: add a new function to use in _input() to check for inputs
* Apply suggestions from code review
Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
This is done even if there is no ESC script attached to the room.
First default position will then be the start ESCLocation if there is one.
Else, fallback to origin (0,0).
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>
* Created a signal room_ready in ESCMain to notify ESCTooltip that it is ready.
Fixes#302
* docs: Automatic update of API docs
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
Moved duplicated movement code from ESCPlayer and ESCItem/ESCHotspot to its own script.
Added talking animations management.
Fixed bug: character was turning to last_direction after talking, if coming from another direction than speaking direction.
Continued removing unfree stuff.