Commit Graph

66 Commits

Author SHA1 Message Date
0d38a8646a Updated escoria-demo-game 2023-06-06 19:28:49 +02:00
0380acc353 RESTORED ORIGINAL addons/escoria-core/game/escoria.gd 2023-03-07 23:41:30 +01:00
50ad55ce14 MODIFIED escoria.gdgit add . Action manager extended to apply needed changes for monkey UI 2023-03-07 00:29:46 +01:00
Balloonpopper
c597414659 fix: Fix bug where inventory is invisible by default 2023-01-26 16:39:18 -05:00
Duncan Brown
895700870d feat: allows for default/fallback actions to be specified 2022-09-13 19:27:03 -04:00
BHSDuncan
bc244d5c05 chore: storing version and changelog 2022-09-01 18:48:19 +00: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
Julian Murgia
d255f781ec Prefixed all Escoria console output with 'ESC' (#591)
Co-authored-by: Mathieu Bergounioux <Mathieu.Bergounioux@sectra.com>
2022-05-01 12:45:44 +02:00
Julian Murgia
8a58aa7efc Fix: disable ESCGame inputs until signal room_ready is emitted (#582)
* 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>
2022-04-30 20:10:14 +02:00
Duncan Brown
eeb7042d11 fix: adds control node to ESCGame for UI that must be populated, along with Escoria-only UI methods; this helps to avoid display issues on startup 2022-04-30 20:06:13 +02:00
monsieur xx
ad96ff4177 fix : crash when current scene is null (#583)
Co-authored-by: Mathieu Bergounioux <Mathieu.Bergounioux@sectra.com>
2022-04-23 19:09:12 +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
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
c87e853ba6 fix: add code to handle scenes run directly from the Godot editor and allow for the current room to be set in the object manager, allowing proper setup 2022-04-08 21:18:57 +02:00
Duncan Brown
7ff0176d62 fix: allows for proper reloading of all globals (reserved or otherwise); also now properly saves reserved objects; plus a couple small guards to correct issues while quitting after loading games in certain conditions 2022-04-08 21:18:57 +02:00
Dennis Ploeger
26e4e4c1a3 fix: Ensure escoria#apply_settings only called in game not editor (#543)
Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com>
Co-authored-by: Julian Murgia <the.straton@gmail.com>
2022-03-15 07:45:00 +01:00
Julian Murgia
cb538edb01 fix: Wrong variable used causing a crash on UI de-registering 2022-03-10 23:41:46 +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
Julian Murgia
2384127ca4 Fix: use Escoria plugin version from plugin.cfg in savegames (#489) 2022-02-15 18:21:19 +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
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
Duncan Brown
391bf08f21 feat: add esc_current_scene reserved global (#474)
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2021-12-03 08:45:02 +01:00
Julian Murgia
b4d5e380e6 Fix: makes dialog players pausable by removing yields (#472) 2021-12-01 09:39:24 +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
6393a7edd8 Adds a popup on crash, wait for it to close to quit the game (#447) 2021-11-18 20:52:54 +01:00
Julian Murgia
4221cda1c2 Logger outputs logfile and savegame on crash (#439) 2021-11-14 14:12:18 +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
57ce7fbcae feat: Made dialogs pluggable (#424)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-10-27 08:34:13 +02:00
Julian Murgia
c859cffa33 Move Escoria settings load action out of init (#414)
InputMap actions added/removed at plugin enabled/disabled
Some changes to README
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-10-14 21:56:02 +02:00
Julian Murgia
41902b5791 Adds "name" parameter to ESC spawn command (#410)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-10-07 08:22:11 +02:00
Julian Murgia
378f29283d Move settings load and main menu loading in _init method (#408) 2021-10-01 13:22:40 +02:00
Julian Murgia
ae34094196 Enhancement: load game scene once to allow run scene directly (#406)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-10-01 07:53:44 +02:00
Dennis Ploeger
c8958e7454 Issue 377 (#383)
* feat: Implements speech fixes #377

* docs: Automatic update of API docs

* chore: Updated speech translation.

Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-06 08:52:16 +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
b230966fc6 Moved and split escoria._ev_left_click_on_item() function into ESCController (#371)
* 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>
2021-08-24 08:19:55 +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
61726bca81 :setup action is not managed only once anymore (#358)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-08 23:23:11 +02:00
Dennis Ploeger
56bf96da8c Checked all FIXMEs and TODOs (#353)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-08-02 21:23:57 +02:00
Dennis Ploeger
90f880d090 Issue 315 (#341)
* feat: accept_input implemented

* feat: More fixes for accept_input and tests for it

* feat: play_snd implemented

* fix: Removed game_over and queue_animation commands

* docs: Automatic update of API docs

* fix: FIxes schedule_event command

* feat: Implemented slide and slide_block

* feat: Implemented turn_to

* docs: Automatic update of API docs

Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-07-29 23:05:24 +02:00
Dennis Ploeger
29d594e43f Fixes an issue with calculating the hover stack which resulted in #324
Fixes #324 
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-07-28 09:51:48 +02:00
Julian Murgia
43dc217359 Add ESCLocation node (#323)
Fixes #306
2021-07-15 09:42:22 +02:00
Julian Murgia
958c8b441b Fix settings being applied a second time with wrong data (#308) 2021-07-15 09:41:29 +02:00
Julian Murgia
bd4c33cf77 Implement save and loading games (#8) 2021-07-02 23:08:43 +02:00
Dennis Ploeger
4e09f522ff Documentation and Optimization Part 1 (#2)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-06-16 10:12:51 +02:00
Dennis Ploeger
746a724f5a ESC compiler rewrite
Splits the former ESC_Runner and ESC_Level_Runner into multiple dedicated managers. 
Authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-06-04 16:12:42 +02:00