Commit Graph

47 Commits

Author SHA1 Message Date
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
738ce0debc fix: implement varargs for ESC commands. 'custom' makes use of this #592 2022-05-02 22:50:57 +02:00
StraToN
422db46f87 chore: storing version and changelog 2022-04-30 18:10:36 +00: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
f69b29da29 fix: eliminates intermittent flicker with UI; NO_UI shouldn't be allowed for :setup events 2022-04-30 20:06:13 +02:00
StraToN
59aff141a3 chore: storing version and changelog 2022-04-19 14:25:52 +00: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
eac4385b81 wip: moving camera setup closer to actual :setup event post-transition out to allow for more setup to be done 'under the hood' 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
6d98e7bdce fix: should now also prevent areas from spawning events; also removes a superfluous variable 2022-04-08 21:18:57 +02: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
114ef2fc55 wip: rough attempt at properly incorporating existing coroutines to correctly place room swapping. 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
348a2b697c fix: check to see if requested camera limit is invalid. (#512)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-02-25 08:13:09 +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
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
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
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
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
Julian Murgia
729a60f6c0 Manage save game in case of room loading failure (#441) 2021-11-15 09:18:15 +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
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
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
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
df78b52b8a feat: This enables user-defined transition and uses a tween to animate the transitions (#405)
* feat: This enables user-defined transition and uses a tween to animate the transitions

fixes #344

* docs: Automatic update of API docs

* docs: Automatic update of API docs

Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-28 11:30:40 +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
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
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
Julian Murgia
2c8107964c Fix tooltip_node wrong references (#332)
* Created a signal room_ready in ESCMain to notify ESCTooltip that it is ready.
Fixes #302

* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-07-29 07:53:44 +02:00
Julian Murgia
bd4c33cf77 Implement save and loading games (#8) 2021-07-02 23:08:43 +02:00
Dennis Ploeger
d5a0022b7b Optimization Part 2 (#6)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-06-20 18:19:42 +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
40dd4a6718 Added bg_sound manager and according ESC command.
Started transitions scene.
2021-04-01 08:15:28 +02: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
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
af8a9ea086 Added a new character and modified the way :setup and :ready events are run. 2020-12-26 23:00:10 +01:00
Julian Murgia
f26d96f115 Initial commit of Escoria-Reloaded. Still a lot of missing stuff. 2020-12-17 16:31:12 +01:00