Commit Graph

406 Commits

Author SHA1 Message Date
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
StraToN
d47e2316ee chore: storing version and changelog 2022-03-17 21:30:26 +00: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
StraToN
29d0f6d6a9 chore: storing version and changelog 2022-03-15 06:45:22 +00: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
StraToN
2ab675613c chore: storing version and changelog 2022-03-14 21:38:59 +00: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
dploeger
e83b8161d0 chore: storing version and changelog 2022-03-14 22:15:01 +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
StraToN
28e95cc687 chore: storing version and changelog 2022-03-10 22:04:12 +00:00
Balloonpopper
061ff9193c fix: player_start needed to be where the level description is 2022-03-10 23:03:49 +01:00
dploeger
febfd462f9 chore: storing version and changelog 2022-03-09 10:57:42 +00:00
balloonpopper
21ebb017e6 fix: Updated camera x limit to 1280 to match the background graphics (#535)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-03-09 11:57:19 +01:00
StraToN
44680938aa chore: storing version and changelog 2022-03-09 07:51:40 +00:00
Balloonpopper
587b3b316b fix: room text is readable again 2022-03-09 08:51:18 +01:00
StraToN
7a6e98dbab chore: storing version and changelog 2022-03-09 07:02:46 +00:00
Balloonpopper
7e3688fa63 feat: Updated room 9 graphics 2022-03-09 08:02:23 +01:00
StraToN
ab795f2fd9 chore: storing version and changelog 2022-03-09 06:56:31 +00:00
Balloonpopper
3a2913f6a5 feature: Updated room 4 graphics 2022-03-09 07:56:30 +01:00
Balloonpopper
a3d531c89b feat: New graphics room 12 2022-03-09 07:56:08 +01:00
StraToN
49cb278ee3 chore: storing version and changelog 2022-03-09 06:41:06 +00: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
StraToN
7aca986cf7 chore: storing version and changelog 2022-03-08 13:33:26 +00:00
Balloonpopper
7a64c7707f Feat: New graphics for room 8 2022-03-08 14:33:02 +01:00
StraToN
7e6fb7b047 chore: storing version and changelog 2022-03-08 13:06:40 +00: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
StraToN
641d630b10 chore: storing version and changelog 2022-03-07 21:02:24 +00: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
Dennis Ploeger
9e9111c7cb chore: Fixed error handling 2022-03-07 09:44:36 +01:00
Dennis Ploeger
46f46b28b3 chore: Fixed error handling 2022-03-07 09:44:36 +01:00
Dennis Ploeger
eae37707b2 chore: Remove trailing whitespace on merge to develop (#523) 2022-03-07 09:07:23 +01:00
dploeger
05ab30e62a chore: storing version and changelog 2022-03-07 08:06:19 +00:00
balloonpopper
eea74ff828 fix: New graphics for room 10 (#529)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-03-07 09:05:57 +01:00
dploeger
217f3a966f chore: storing version and changelog 2022-03-07 07:54:13 +00:00
balloonpopper
b70c52edda feat: Made room 5's background more interesting (#530)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-03-07 08:53:49 +01:00
dploeger
e82e56fe2e chore: storing version and changelog 2022-03-04 13:49:41 +00:00