Commit Graph

273 Commits

Author SHA1 Message Date
Julian Murgia
bb93dc1ef3 Fixed escoria.current_state when dialog line finishes (#391)
- Fixed connect() errors concerning the player being ready'd 2 times in certain cases, so trying to connect signals twice
2021-09-10 10:04:11 +02:00
Julian Murgia
0e6e8aa161 Re-implemented turn_to command (#390)
* Re-implemented turn_to command

Fixes #385
Fixed a bug in esc_movable blocking player_orients_on_arrival for ESCLocation nodes

* docs: Automatic update of API docs

* Fixes

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-09-09 22:57:03 +02:00
Julian Murgia
ad390a6f65 Fix when no speech key is used and translate speech key if used (#389) 2021-09-09 09:15:56 +02:00
Julian Murgia
cb711b329b Fix inverted transitions in/out (#388) 2021-09-09 08:23:03 +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
3ee46f4977 Issue 335 (#384)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-06 08:57:45 +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
Artur Maciąg
eb9441df52 Fixed error on double left click and right click in inventory. (#378) 2021-08-28 22:27:35 +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
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
2ed184ad4a Refactor ESCMovable._process() (#374)
* Refactor ESCMovable._process()
Fixes #348

* Fixes

* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-26 14:29:35 +02:00
Julian Murgia
3ab3d0945c Refactor ESCMovable._is_angle_in_interval() (#373)
* Refactor ESCMovable._is_angle_in_interval().
Fixes #349

* docs: Automatic update of API docs

* Fixes

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-24 15:59:29 +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
Dennis Ploeger
712083d126 fix: FIxed non-editor call to _set_animation_player (#369)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-08-12 23:22:09 +02:00
Julian Murgia
a00bbd4d4d Removed hardcoded access to node named "sprite" (#364) 2021-08-10 22:20:30 +02:00
Dennis Ploeger
c1c25aae03 Optimized item and background signal handling (#365)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-08-10 22:14:00 +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
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
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
c711db5d3c Add set_angle 'immediate' parameter. (#357)
* Add set_angle 'immediate' parameter.
Modified fade_in transition to happen between :setup and :ready so that :ready don't start before fade_in is finished.

* docs: Automatic update of API docs

* Same fixes in style and removed a useless test.

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-08 12:10:20 +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
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
f2991c30c7 Added sound management in savegames and load games. (#337)
Fixes #300
Fix crash on loading game when the saved position was a float while teleport_pos command needs integers.
Fix pause menu missing in simplemouse-ui, causing a crash when calling pause menu.
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-07-29 14:22:42 +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
387d20ba92 Fix inputs on player CollisionShape2D node causing a crash (#334)
* Fix inputs on player CollisionShape2D node causing a crash

* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-07-28 15:38:54 +02:00
Julian Murgia
7f8555f6a4 Renamed _hover_stack_pop() to _hover_stack_erase_item() (#331)
* Renamed _hover_stack_pop() to _hover_stack_erase_item(). Fixes #313

* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-07-28 12:37:28 +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
Dennis Ploeger
604cccb56d Fix command docs, automate API doc generation (#327)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-07-27 16:05:14 +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
f84d1be741 Fix bug when leaving a room after a item was picked up 2021-07-06 12:59:46 +02:00
Julian Murgia
7de969d75e Renamed all room folders to use 2 digits. 2021-07-06 10:25:09 +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
ccb34e319b Added new ESC command rand_global. 2021-07-05 08:04:36 +02:00
Julian Murgia
bd4c33cf77 Implement save and loading games (#8) 2021-07-02 23:08:43 +02:00
Dennis Ploeger
58d880101d Optimized Docs (#7)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-06-22 23:06:20 +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
73266ec1d9 fix: Fixed correct settings path (#4)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-06-04 17:13:42 +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