Commit Graph

54 Commits

Author SHA1 Message Date
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
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
f4c5803646 fix: Safety guard for characters without speaking animations (#457)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-22 15:09:37 +01:00
Dennis Ploeger
e14373b179 feat: New streamlined exit item (#455)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-22 13:08:10 +01:00
Dennis Ploeger
9adc7bbade feat: This introduces background events queue in Escoria (#444)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-22 11:04:35 +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
012d978d66 fix: Optimized ESC command docs (#450)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2021-11-21 21:10:56 +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
Dennis Ploeger
c9a6f802c7 feat: Optimizes animation commands (#446)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-18 20:01:03 +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
Dennis Ploeger
1823845141 Makes ESCDialog and ESCDialogOption instantiable without an ESC string
and other dialog optimizations
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-11-11 22:55:35 +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
9dbcf2b58b Make ESCLocation is_start_location work (#421)
Introducing BYPASS_LAST_ROOM global to allow changing scene without considering the previous room
Fixes godot-escoria/escoria-issues#40
2021-10-26 16:36:02 +02:00
Dennis Ploeger
94d86d24d5 fix: Huge cleanup (#420)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-10-25 08:59:07 +02:00
Dennis Ploeger
af26521d3d feat: Rewrote inventory handling basing on ESCItems (#417)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-10-21 21:56:25 +02:00
Julian Murgia
4fd1d72993 Fix crashes in rooms 9 and 13 (#415) 2021-10-19 15:48:13 +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
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
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
903422960a Small fixes and issue 386 (#387)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-07 08:07:10 +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
Dennis Ploeger
3dc779311c Issue 336 (#380)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-08-30 20:57:25 +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
Dennis Ploeger
1f28fdc8f3 feat: Implemented all dialog features. Fixes #345 (#376)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-08-27 08:15:52 +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
Dennis Ploeger
15bf1a8c81 Stable interface for both Animation player and Animated Sprite (#363)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-08-10 21:35:01 +02:00
Julian Murgia
51e1cfa92b Some fixes in mark_animations and span command (#355)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-04 11:02:48 +02:00
Julian Murgia
392dc2d607 Add ESCAnimationResource to hold characters animations. (#342)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-08-03 17:48:55 +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
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
43dc217359 Add ESCLocation node (#323)
Fixes #306
2021-07-15 09:42:22 +02:00
Julian Murgia
dc4cda82ab Moved UI scenes and resources to their own plugin. 2021-07-05 14:34:44 +02:00
Julian Murgia
e0de1de1ce Fix bug in a warning not correctly formatted. 2021-07-05 11:23:00 +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
5d1df7aaa9 Add sound volume management and language selection
Not all translated yet though
2021-06-01 07:35:50 +02:00
Julian Murgia
909031f536 Added translations management
Prepares work for line voiceovers management.
2021-04-07 08:39:59 +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
52d19c34bd Created ESCGame class to force game.tscn scene to have empty functions by inheritance.
Also continued some tests about tooltip following mouse.
Fixed project settings wrongly set.
2021-02-11 13:40:23 +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