Commit Graph

36 Commits

Author SHA1 Message Date
0d38a8646a Updated escoria-demo-game 2023-06-06 19:28:49 +02:00
Duncan Brown
b827092176 fix: clears tooltip when event is finished 2022-12-28 00:04:16 -05:00
Julian Murgia
a131efcfc2 Fix when ESCPlayer is not selectable or interactive manage click through 2022-11-21 20:40:04 +01:00
Duncan Brown
62c2920439 fix: UI should now highlight proper verb instead of always going back to an item's default action 2022-09-14 08:50:36 +02: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
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
Duncan Brown
aeffe09e34 fix: avoids being able to pause during transitions; also moves pausing request responsibility to UI; also fixes issue w/ trying to pause during intro and main menu 2022-05-11 19:18:05 +02:00
StraToN
63e22e5fb9 chore: storing version and changelog 2022-04-30 19:51:16 +00:00
Duncan Brown
f9e39af798 fix: avoids crashing when selected_action is null (#586)
* fix: avoids crashing when selected_action is null
* fix: more robust handling suggested by @straton
2022-04-30 21:50:55 +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
Michael Bolin
7bf3e9f276 refactor: remove trailing whitespace from all .gd files
Not sure why these files were not included in
https://github.com/godot-escoria/escoria-demo-game/pull/494.

Created this diff by running the following on Linux:

```
find -name \*.gd | xargs sed -i -e "s/[[:space:]]\+$//g"
```
2022-03-07 22:01:59 +01:00
StraToN
58476828c6 chore: storing version and changelog 2022-03-07 16:28:18 +00:00
StraToN
19272ffeb2 chore: storing version and changelog 2022-03-07 08:44:59 +00: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
353b349d1b Set a default implementation for ESCGame._on_event_done() (#486) 2022-02-04 16:27:21 +01:00
Julian Murgia
2179b803e0 Implement custom data save in settings and savegames (#484) 2022-01-13 11:09:06 +01:00
Julian Murgia
a0f15af10b Removed ESCController and greatly reworked ESCActionManager (#480) 2021-12-13 14:06:43 +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
47fe4df841 feat: Several fixes and optimizations (#467)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-27 20:10:16 +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
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
37b0c6c0f1 Support fixes (#445)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-17 22:27:57 +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
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
Julian Murgia
89da6924a3 Clean after change room: game scene is cleanly removed from prev room (#416) 2021-10-19 15:48:26 +02:00
Julian Murgia
00de7fcc4d Removed hardcoded "camera" name reference and manual tween node camera (#411)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-10-07 08:22:27 +02:00
Dennis Ploeger
60ea4d851b Issue 320 (#396) - Mobile fixes
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-23 08:32:08 +02:00
Julian Murgia
b4bf5b82d6 Event flags implementation (#382)
* Added event flags
* Added transition ESC command
* Also edited .gitignore to ignore .translation files
* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-09-07 09:13:09 +02:00
Dennis Ploeger
a639ad5f32 Issue 343 (#379)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-08-28 22:29:04 +02:00
Julian Murgia
711cfe9888 Added a method to interrupt a running event in ESCEventManager. (#375)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-27 08:16:12 +02:00
Julian Murgia
fc3ea147a7 Implement save overwrite confirmation (#368)
* Implement save overwrite confirmation + fixed pause game not pausing game execution.

* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-13 09:28:38 +02:00
Julian Murgia
cbb64df969 Removed hardcoded global_id "player" (#359)
* Removed hardcoded global_id "player"
Removed hardcoded node name "start_position"

* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-08 12:10:46 +02:00
Julian Murgia
a0218e2998 Add default behaviors in ESCGame click handlers on BG and items. (#356)
If ESCGame functions concerned by this PR are not overridden in user's game.gd script, the default behavior will be used.
NB: if these function are overridden in user's game.gd script, these default behaviors will not be called (unless explicitly called using parent script call by adding a dot before the function: .left_click_on_bg())
2021-08-04 12:57:42 +02:00
Julian Murgia
dc4cda82ab Moved UI scenes and resources to their own plugin. 2021-07-05 14:34:44 +02:00