Commit Graph

137 Commits

Author SHA1 Message Date
Julian Murgia
44056673c9 Fixed dialogs pause mode 2021-11-29 23:26:41 +01:00
Julian Murgia
b031d69cd9 Save and load game fixes (and some other small fixes) (#466) 2021-11-29 14:21:29 +01:00
Dennis Ploeger
14887c711b fix: Safety guards for disconnects (#470)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-28 15:38:02 +01:00
Dennis Ploeger
0e295f0ebb feat: Support WAV files as well (#469)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-28 15:36:50 +01:00
Dennis Ploeger
84fe9b64af fix: Fixes from the ETF release day (#468)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-28 15:33:38 +01:00
Dennis Ploeger
47fe4df841 feat: Several fixes and optimizations (#467)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-27 20:10:16 +01:00
Dennis Ploeger
8c9ee734fd fix: Fixes smaller things (#465)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-26 08:06:20 +01:00
Julian Murgia
3a43bac46e Reverted setting ESC_LAST_SCENE too early in ESCRoom (#464) 2021-11-25 23:44:20 +01:00
Dennis Ploeger
75c00b4993 feat: Optimized animation handler and crashing (#463)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-25 23:05:17 +01:00
Julian Murgia
a49e5a2690 Fix auto transition when changing room without exit_scene event (#462)
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.
2021-11-25 15:24:33 +01:00
Dennis Ploeger
87ef9708de feat: Fix set_interactive command (#461)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-25 07:26:11 +01:00
Dennis Ploeger
16510dde51 Update accept_input.gd (#460) 2021-11-23 22:23:35 +01:00
Dennis Ploeger
7963f03087 feat: Keep current animations resource (#459)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-23 22:19:24 +01:00
Dennis Ploeger
860c6adc20 fix: Fixes signal handling on AnimationPlayer nodes. (#458)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-23 22:11:58 +01:00
Dennis Ploeger
f4c5803646 fix: Safety guard for characters without speaking animations (#457)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-22 15:09:37 +01:00
Julian Murgia
5a94d9be73 Check that ending animation is not looping before resetting it (#456) 2021-11-22 13:08:47 +01:00
Dennis Ploeger
e14373b179 feat: New streamlined exit item (#455)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-22 13:08:10 +01:00
Dennis Ploeger
9adc7bbade feat: This introduces background events queue in Escoria (#444)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-22 11:04:35 +01:00
Julian Murgia
c9cbd2db80 Fixes ESCMoving angles calculation to make it work with 2-dir animations (#454) 2021-11-21 22:21:30 +01:00
Dennis Ploeger
c2bbefedd3 Issue 58 (#453)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-21 22:18:15 +01:00
Dennis Ploeger
012d978d66 fix: Optimized ESC command docs (#450)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2021-11-21 21:10:56 +01:00
Dennis Ploeger
dbc7415aaf fix: Say command fixes (#452)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-21 21:10:22 +01:00
Julian Murgia
d9932e964a Connect crash_popup_confirmed signal automatically 2021-11-18 21:49:33 +01:00
Julian Murgia
43f06e38c2 Adds default crash popup, if game.gd doesn't reimplement it (#449) 2021-11-18 21:41:27 +01:00
Julian Murgia
bb0520adcb Re-add removed assert(false) (#448) 2021-11-18 21:21:01 +01:00
Julian Murgia
6393a7edd8 Adds a popup on crash, wait for it to close to quit the game (#447) 2021-11-18 20:52:54 +01:00
Dennis Ploeger
c9a6f802c7 feat: Optimizes animation commands (#446)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-18 20:01:03 +01:00
Dennis Ploeger
37b0c6c0f1 Support fixes (#445)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-17 22:27:57 +01:00
Dennis Ploeger
9068bb8e94 fix: Resets the current verb after the action has finished (#443)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-15 21:33:40 +01:00
Dennis Ploeger
b626973f11 fix: Fixed more input events (#442)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-15 10:34:56 +01:00
Julian Murgia
729a60f6c0 Manage save game in case of room loading failure (#441) 2021-11-15 09:18:15 +01:00
Julian Murgia
4221cda1c2 Logger outputs logfile and savegame on crash (#439) 2021-11-14 14:12:18 +01:00
Julian Murgia
c4d1432d66 fix: Fixed input problems (#440)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-14 13:36:59 +01:00
Julian Murgia
a6beb40b3e Added a check on unknown ESC command at compilation time (#438) 2021-11-13 11:15:03 +01:00
Julian Murgia
555f820254 Fix broken room camera (#437) 2021-11-13 10:14:18 +01:00
Julian Murgia
bbe885edc2 Ensure player is set at start location if there is one (#435)
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).
2021-11-12 22:57:44 +01:00
Dennis Ploeger
15b3e30e28 feat: Optimized ESCCamera (#434)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-12 16:55:26 +01:00
Dennis Ploeger
1823845141 Makes ESCDialog and ESCDialogOption instantiable without an ESC string
and other dialog optimizations
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-11 22:55:35 +01:00
Julian Murgia
e4bc9ecccf Rename flag NO_HUD to NO_UI (code) (#432) 2021-11-11 22:46:00 +01:00
Julian Murgia
877d31a41f Merge pull request #427 from godot-escoria/issue-48 2021-11-11 22:22:11 +01:00
Julian Murgia
c86b802cbb Add show_menu and hide_menu ESC commands
Fixes godot-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
2021-11-11 22:20:58 +01:00
Julian Murgia
b908a2aeee Fix: Make float dialog follow character (#430) 2021-11-11 21:28:29 +01:00
Dennis Ploeger
8b70448bf7 fix: Fixes skipping empty or comment lines in groups and dialogs (#429)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-07 23:46:13 +01:00
Dennis Ploeger
d42c973369 fix: Corrected variable name (#428)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-02 16:32:46 +01:00
Julian Murgia
891d997d56 Fix Player walk miscaluculation (#425) 2021-10-27 22:27:03 +02:00
Dennis Ploeger
57ce7fbcae feat: Made dialogs pluggable (#424)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-10-27 08:34:13 +02:00
Julian Murgia
b7b01c5770 Simplified overcomplex test (#423) 2021-10-26 21:30:20 +02:00
Julian Murgia
9dbcf2b58b Make ESCLocation is_start_location work (#421)
Introducing BYPASS_LAST_ROOM global to allow changing scene without considering the previous room
Fixes godot-escoria/escoria-issues#40
2021-10-26 16:36:02 +02:00
Dennis Ploeger
94d86d24d5 fix: Huge cleanup (#420)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-10-25 08:59:07 +02:00
Julian Murgia
b3cd9abe21 Fix a wrong validation check in camera_set_limits (#418)
Events interruption should now work at all time (added interruption in room_selector scene)
Fixed missing test in game.gd for when the player is not set
Fixed some ESC scripts (worker filled sheet event is now blocking, room13 left door waits simple click, not use verb)
2021-10-22 09:17:03 +02:00