StraToN
23b51938e7
chore: storing version and changelog
2022-03-21 21:32:20 +00:00
balloonpopper
23ce44eefb
feat: Updated exit documentation ( #545 )
...
Co-authored-by: Dennis Ploeger <github.dennis@dieploegers.de >
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca >
Co-authored-by: Balloonpopper <balloonpopper@git.com >
2022-03-21 22:31:57 +01:00
Julian Murgia
3c0ebf1869
Fix: out of bounds exception in camera_push ( #546 )
2022-03-21 22:19:11 +01:00
Julian Murgia
9b80aeb154
New logo that looks less like a risen middle finger ( #544 )
2022-03-18 10:20:41 +01:00
Dennis Ploeger
e98209d387
fix: Reset audio bus layout ( #542 )
2022-03-17 23:09:53 +01:00
StraToN
8e1302b57b
chore: storing version and changelog
2022-03-17 21:33:42 +00:00
Balloonpopper
2dd931fdd0
fix
2022-03-17 22:33:20 +01:00
StraToN
1e0862c3f2
chore: storing version and changelog
2022-03-17 21:33:02 +00:00
Julian Murgia
0262a75b25
Managed mirrored speak animations in ESCItem
...
Simplified sprite mirroring in cases of movement and talking
Simplified even more
Fix: simplification again
2022-03-17 22:32:34 +01:00
Balloonpopper
1b4f3dccfe
feat: Add walk fast flag to walk_pos commands to make them consistent with the walk commands
2022-03-17 22:30:02 +01: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
Dennis Ploeger
fdd61de4d5
fix: Reduced log to warning if multiple navigation polygons are enabled while in editor
...
fixes godot-escoria/escoria-issues#103
2022-03-14 22:38:36 +01:00
bolinfest
d0d97ba9bf
feat: add gamepad support to escoria-ui-simplemouse ( #518 )
...
This commit starts by introducing a new action, `ESC_UI_PRIMARY_ACTION`,
that is used to represent a "primary action" from an input device, such
as a left-click on a mouse or the press of the primary button on a
gamepad. Although this action is not added to `InputMap` by default in
`escoria-core`, `_unhandled_input()` in `esc_item.gd` is updated to look
for it.
The other portion of this commit is an update to
`addons/escoria-ui-simplemouse/game.gd` that adds a gamepad mapping to
the `InputMap` for both `ESC_UI_PRIMARY_ACTION` as well as another new
action `ESC_UI_CHANGE_VERB_ACTION`. These actions are mapped to X and Y
on an XBox controller, respectively.
Note that `game.gd` is also updated to implement `_process()` such that
moving `JOY_AXIS_0` and `JOY_AXIS_1` on "gamepad 0" will move the
cursor around on the screen as the mouse would.
Overall, this makes the game fairly playable with a gamepad, though
admittedly a mouse is still currently required to click the "New game"
button on the initial menu because `BaseButton::gui_input()` appears to
be hardcoded to check for mouse events exclusively:
godotengine/godot@a09814e/scene/gui/base_button.cpp#L55-L81
2022-03-14 22:15:01 +01:00
StraToN
8adc164254
chore: storing version and changelog
2022-03-10 22:42:08 +00:00
Julian Murgia
cb538edb01
fix: Wrong variable used causing a crash on UI de-registering
2022-03-10 23:41:46 +01:00
StraToN
4042ea81af
chore: storing version and changelog
2022-03-10 22:07:27 +00:00
Balloonpopper
9037e160c2
fix: Fix issue #166
2022-03-10 23:07:04 +01:00
StraToN
a20932a8e4
chore: storing version and changelog
2022-03-10 22:05:52 +00:00
balloonpopper
0a45140fad
documentation: Fixes to command descriptions ( #506 )
...
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca >
Co-authored-by: Balloonpopper <balloonpopper@git.com >
2022-03-10 23:05:27 +01:00
Balloonpopper
b05be369b2
fix: Automatically remove trailing whitespace when parsing scripts to avoid needing to change all regular expressions separately
2022-03-09 07:40:43 +01:00
Michael Bolin
5a77bd6fdc
feat: introduce escoria-ui-keyboard-9verbs to verify register_custom_input_handler() API
...
This commit was started by copying `addons/escoria-ui-9verbs` as the
basis for `addons/escoria-ui-keyboard-9verbs`. It was then amended to
wire up keyboard shortcuts for each verb using the new
`register_custom_input_handler()` API.
Note that `addons/escoria-ui-keyboard-9verbs/input_map.gd` introduces
one action per verb and provides a `add_actions_to_input_map()`
function to add the actions to the `InputMap`. The `_process_input()`
function in `game.gd` is responsible for mapping each action to the
appropriate call to `verbs_menu.on_action_selected()`.
2022-03-08 14:06:18 +01:00
Michael Bolin
14cf1327fe
feat: register_custom_input_handler() API
...
This introduces a new API on `ESCInputsManager` that makes it
possible to inject custom logic for processing input events.
An example of how to use this API will be introduced in a
separate commit as part of
https://github.com/godot-escoria/escoria-demo-game/pull/503
via a new plugin, `addons/escoria-ui-keyboard-9verbs/`,
which shows how this can be used to add support for keyboard shortcuts
to select a specific verb.
2022-03-08 14:06:18 +01:00
Michael Bolin
7bf3e9f276
refactor: remove trailing whitespace from all .gd files
...
Not sure why these files were not included in
https://github.com/godot-escoria/escoria-demo-game/pull/494 .
Created this diff by running the following on Linux:
```
find -name \*.gd | xargs sed -i -e "s/[[:space:]]\+$//g"
```
2022-03-07 22:01:59 +01:00
StraToN
58476828c6
chore: storing version and changelog
2022-03-07 16:28:18 +00:00
Julian Murgia
ac2e7ba20e
Fix wrong (old) documentation about setup and ready events ( #524 )
...
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca >
2022-03-07 17:27:55 +01:00
StraToN
19272ffeb2
chore: storing version and changelog
2022-03-07 08:44:59 +00:00
Michael Bolin
f21ec15560
fix: early return for mouse_in_shape
2022-03-03 21:50:47 +01:00
Balloonpopper
10f770855f
refactor: remove redundant check for camera node
2022-03-03 21:49:20 +01:00
Balloonpopper
4fbe3527e8
fix: parameter validation function cant print arrays
2022-03-03 18:41:52 +01:00
Balloonpopper
5bdd519d67
feat: more useful error messages
2022-03-03 18:30:49 +01:00
bolinfest
0570edc3ff
fix: ESCItem that is a trigger should not capture input events ( #516 )
...
Fixes https://github.com/godot-escoria/escoria-issues/issues/147
2022-03-01 20:48:59 +01:00
balloonpopper
02a66fecda
fix: add validates to camera commands missing them ( #508 )
...
Co-authored-by: Balloonpopper <balloonpopper@git.com >
2022-02-27 17:05:24 +01:00
balloonpopper
deac3df61d
fix: fix error message - bug 143 ( #513 )
...
Co-authored-by: Balloonpopper <balloonpopper@git.com >
2022-02-25 08:17:01 +01: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
5adf5b8d49
fix: stops negative numbers being interpreted as strings ( #511 )
...
Co-authored-by: Balloonpopper <balloonpopper@git.com >
2022-02-25 08:12:20 +01:00
balloonpopper
d3f1b8b6e2
fix: camera commands to use time instead of speed ( #509 )
...
Co-authored-by: Balloonpopper <balloonpopper@git.com >
2022-02-25 08:06:18 +01:00
bolinfest
282ea24b7d
fix: enable transition to ESCRoom even if esc_script is not set ( #502 )
2022-02-24 16:35:32 +01:00
Dennis Ploeger
93926390b3
Merge pull request #501 from bolinfest/remove-action-to-string
2022-02-19 18:19:19 +01:00
Michael Bolin
045cf9a05e
Remove non-existent escoria.action_to_string() function.
...
Apparently this was accidentally introduced in
99dc1e0110 . This commit
removes it and consolidates one clause into the existing
conditional check.
2022-02-19 09:08:24 -08:00
Balloonpopper
166414098a
fix: animations doesnt have a speaks parameter when it is null
2022-02-19 14:08:29 +11: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
Dennis Ploeger
b40c0a241c
feat: Removed obsolete code. Fixes godot-escoria/escoria-issues#99 ( #499 )
2022-02-17 22:25:13 +01:00
Julian Murgia
bb4d218277
Fix crash when save folder is empty and manage corrupted savegame file ( #497 )
2022-02-17 22:23:41 +01:00
Duncan Brown
d41f647a11
Merge branch 'develop' into issue-98
2022-02-16 10:59:03 -05:00
Duncan Brown
ea3543b5ee
fix: guard for cases where no animations are set.
2022-02-16 10:57:21 -05:00
balloonpopper
5e0e83f23e
feat: Debug set state animations ( #495 )
...
Co-authored-by: Balloonpopper <balloonpopper@git.com >
2022-02-15 18:24:08 +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
326618df18
fix: set a proper guard in case of no speaking animations ( #488 )
...
+ correct the upper limit check for the speaking index
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com >
2022-02-06 11:24:55 +01:00
Duncan Brown
9d16122d1a
Also need this here.
2022-02-05 13:08:20 -05:00
Duncan Brown
31b57505b5
fix: set a proper guard in case of no speaking animations and correct the upper limit check for the speaking index
2022-02-04 17:10:23 -05:00