Commit Graph

86 Commits

Author SHA1 Message Date
Duncan Brown
9f2cfd0dd0 fix: yield a frame for any tweening period in case camera commands are back-to-back, resulting in a potential race condition. 2022-11-13 16:38:15 +01:00
Duncan Brown
20f1aee6c2 feat: adds blocking versions of camera commands that can tween/transition. 2022-11-13 16:38:15 +01:00
Duncan Brown
0a0a57bd02 First pass at blocking camera command. 2022-11-13 16:38:15 +01:00
balloonpopper
54bfcc7640 chore: storing version and changelog 2022-11-08 00:06:59 +00:00
BHSDuncan
fed2a98270 chore: storing version and changelog 2022-10-31 20:45:30 +00:00
Duncan Brown
d5b15b3f5c chore: fills in missing docstrings; adds new base class for cameras to avoid duplication of viewport warnings. 2022-10-31 16:44:53 -04:00
Duncan Brown
e807044e45 fix: cleaning up and updating validation code. 2022-10-31 16:44:53 -04:00
Duncan Brown
3673977d5c Start of cleanup. Previous changes look to be holding up according to testing. 2022-10-31 16:44:53 -04:00
Duncan Brown
6d0e9e5326 WIP: Iterating on warning message. Clamping set_target target in case of target being too close to limits. 2022-10-31 16:44:53 -04:00
Duncan Brown
ec33580d73 WIP: Correcting for switched camera limits. Updating validation for camera methods, although this is a WIP. 2022-10-31 16:44:53 -04:00
Duncan Brown
d95d26ff5f fix: updates camera limit checking in commands to respect viewport limits (i.e. taking into account camera centre and half-screen limits); also updates warning message and no longer fails on limit violation. 2022-10-31 16:44:53 -04:00
Duncan Brown
9842feea33 Fixed up math for compensation. It looks as though no other limit clamping or checking should be needed. 2022-10-31 16:44:53 -04:00
Duncan Brown
cc74206e6c fix: Updates those camera commands that make use of translation to compensate for drag margins. 2022-10-31 16:44:53 -04:00
Julian Murgia
04348147b9 Unified settings management and sound fixes
- fix: speech was not paused during pause menu
- fix: allow sound levels to reach min value 0.0 (=muted)
- fix: crash was happening when switch language during the game
2022-09-01 14:47:53 -04:00
balloonpopper
c9e785142f chore: renames items_autoregister_path to inventory_items_path (#620)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-08-09 08:11:36 +02:00
StraToN
d7b8c893af chore: storing version and changelog 2022-07-11 21:04:09 +00:00
StraToN
2e67aa9973 chore: storing version and changelog 2022-07-10 18:40:30 +00:00
Julian Murgia
ad79aa69d1 Big refactor: Fix plugin issues when disabling/reenabling plugins (#598)
Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
2022-07-10 20:40:08 +02:00
StraToN
dfbceadd1c chore: storing version and changelog 2022-06-23 09:27:38 +00:00
Duncan Brown
653e336383 fix: handles translation keys that have only one word (i.e. no spaces… (#596)
* fix: handles translation keys that have only one word (i.e. no spaces) in the actual dialogue

* fix: fixes dialogue that starts with a space

* fix: issues warning if translation key cannot be found (same for a voice file that can't be found) and uses the untranslated text in this case
2022-06-23 11:27:04 +02:00
Duncan Brown
6afff99e7c fix: allows for transition to be disabled on init; still has issue w/ UI showing up for fraction of a second 2022-04-30 20:06:13 +02:00
Julian Murgia
4b2b6f516e feat: Save objects states in Obj Manager to keep them btwn rooms (#554) 2022-04-23 18:55:21 +02:00
Balloonpopper
584b81a496 fix: Corrected wether to whether 2022-04-21 09:55:00 +02:00
Balloonpopper
eeea2d0e5a refactor: remove deprecated debug command 2022-04-21 09:54:02 +02:00
Duncan Brown
0175342a61 wip: splits out camera from UI game scene; makes camera a per-room thing; updated check for running rooms directly; corrected timing issue w/ updating state immediately by ensuring animation player does seek with immediate animation update 2022-04-19 16:25:26 +02:00
Duncan Brown
4b3b96b688 fix: missing this parameter 2022-04-19 16:25:26 +02:00
Duncan Brown
baee79f5a0 feat: reports source of ESC errors when possible (#568) 2022-04-09 16:13:09 +02:00
StraToN
fda97352a0 chore: storing version and changelog 2022-04-08 19:20:45 +00:00
StraToN
431efd853a chore: storing version and changelog 2022-04-08 19:19:23 +00:00
Duncan Brown
85b86f38be fix: handles the case where no coroutines are run as part of room creation; also fixes a small bug in ESCCamera 2022-04-08 21:18:57 +02:00
Duncan Brown
503d6134dd fix: eliminates the need to run two batches of ESC commands for loading games by introducing an extra ESC command; also corrects situations where transitions that are mixed and matched don't work together; and additional cleanup 2022-04-08 21:18:57 +02:00
Duncan Brown
84c84d3a0f fix: makes the loading process more consistent by using all ESC commands; also fixes issue caused by loaded save games not executing :setup or :ready, thereby preventing proper room switching in this case 2022-04-08 21:18:57 +02:00
Duncan Brown
ecb7bfb528 fix: accommodate empty parameter 2022-04-08 21:18:57 +02:00
Duncan Brown
82acf8374d feat: adds instant transitions with an object manager rework, along with
something missed from PR #487
2022-04-08 21:18:57 +02:00
balloonpopper
0a45140fad documentation: Fixes to command descriptions (#506)
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-03-10 23:05:27 +01:00
balloonpopper
deac3df61d fix: fix error message - bug 143 (#513)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-02-25 08:17:01 +01:00
balloonpopper
d3f1b8b6e2 fix: camera commands to use time instead of speed (#509)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-02-25 08:06:18 +01:00
balloonpopper
21df2af2c8 refactor: Whitespace removal from all .gd files (#494)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-02-17 23:00:53 +01:00
Dennis Ploeger
b40c0a241c feat: Removed obsolete code. Fixes godot-escoria/escoria-issues#99 (#499) 2022-02-17 22:25:13 +01:00
Duncan Brown
99dc1e0110 feat: refactor numerous areas and tokenize string literals where possible; also fixes some small bugs (#487)
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2022-02-04 17:10:40 +01:00
Julian Murgia
b4d5e380e6 Fix: makes dialog players pausable by removing yields (#472) 2021-12-01 09:39:24 +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
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
c2bbefedd3 Issue 58 (#453)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-21 22:18:15 +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
c4d1432d66 fix: Fixed input problems (#440)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-14 13:36:59 +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
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