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
Escoria Demo Game
Libre framework for the creation of point-and-click adventure games with the multi-platform game engine Godot Engine.
Check out the Escoria documentation, especially the Getting Started Guide for further details.
If you want to contribute to the development of Escoria, please read our Contribution guidelines.
This is the demo game that acts as a testing ground for future Escoria development and a general showcase of its features.
Art credits
Characters
- Mark spritesheet by Marco Giorgini - marcogiorgini.com Licence : CC0 Licence https://opengameart.org/content/mark-2d-adventure-game-sprite with some additions (talk animations) by Julian Murgia
- Worker spritesheet based on Mark spritesheet by Marco Giorgini - marcogiorgini.com Licence: CC0 Licence edited by Julian Murgia
Items
- Generic items by Kenney
- Animal pack redux by Kenney Licence: CC0 Licence https://www.kenney.nl/assets/generic-items
Sound credits
- Concrete footstep Licence: CC0 Licence https://www.kenney.nl/
- “Game Menu Looping” (Licence CC-BY 4.0)
- “Mystical Ocean Puzzle Game” (Licence CC-BY 4.0) by Eric Matyas www.soundimage.org
Cursors
- Pointers part 4 by "yd" Licence: CC0 Licence https://opengameart.org/content/pointers-part-4x edited by Julian Murgia
Font
These fonts are provided as an example. Please mind checking the licence before redistributing with your game.
-
Caslon Antique https://www.1001fonts.com/caslon-antique-font.html#license Licence: Free for personal use - Free for commercial use This is the font used in LucasArt's game Curse of Monkey Island.
-
Onesize https://www.whatfontis.com/Onesize.font Licence: Free for personal use This is the font used in LucasArt's games The Secret of Monkey Island and Monkey Island 2: Lechuck's Revenge.
