Commit Graph

45 Commits

Author SHA1 Message Date
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
Julian Murgia
5d1df7aaa9 Add sound volume management and language selection
Not all translated yet though
2021-06-01 07:35:50 +02:00
Julian Murgia
40dd4a6718 Added bg_sound manager and according ESC command.
Started transitions scene.
2021-04-01 08:15:28 +02:00
Julian Murgia
4acb971d54 Added a default action used when item is in inventory. 2021-03-02 07:39:00 +01:00
Julian Murgia
b8f668df0a Fixed a bug where bottle in magical closet room 9 had wrong interaction position. 2021-02-26 21:31:50 +01:00
Julian Murgia
38f554b496 Implemented tooltip follows mouse (not perfect).
Fixed bug when using mousewheel action on inventory items.
Added a debug mode for tooltip following mouse
2021-02-19 07:53:45 +01:00
Julian Murgia
6aa466d6d2 Finished ESC camera commands reimplementation.
Some cleaning done, and all logging commands put in escoria.logger script.
2021-02-09 08:56:30 +01:00
Julian Murgia
bd3ef71c80 Added hover stack to manage overlapping Area2Ds
Added room selector in demo scenes
Modified dialogues in room 1, fixed bug in room 8 and 9
2021-02-03 18:19:40 +01:00
Julian Murgia
b789490f63 Attempt to fix dialogs "finish_fast" action. 2021-01-30 14:00:23 +01:00
Julian Murgia
e6f4af74a8 Fixed bug where walk action initiated by ESC would never call finished().
Also removed call to inexisting function in ESCInventoryContainer.
2021-01-28 17:12:10 +01:00
Julian Murgia
14e85edba7 Fixed double click cause actions being executed twice on "arrived" signal.
Known bug: NPC movement broken ("arrived" not emitted?)
2021-01-28 08:49:44 +01:00
Julian Murgia
183439337a Added check on "arrived" event in Movable so that the right context continues, not others.
To continue: move walk_* variables in ESCPlayer into Movable makes camera go wrong.
2021-01-27 17:02:13 +01:00
Julian Murgia
6890d927f5 Continued camera effects adding (zoom, shift)
Added trigger behaviour to ESCItem and removed ESCTriggerZone.
2021-01-18 23:34:58 +01:00
Julian Murgia
ff56816205 Deleted ESCHotspot (use ESCItem instead)
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.
2021-01-13 23:23:04 +01:00
Julian Murgia
933122f085 Deleted non-CC0 assets
Managed room7 camera pushes
2021-01-09 18:41:35 +01:00
Julian Murgia
ff89dc1677 Add NPC and items walking. 2020-12-28 08:39:57 +01:00
Julian Murgia
f26d96f115 Initial commit of Escoria-Reloaded. Still a lot of missing stuff. 2020-12-17 16:31:12 +01:00