Project setup
Create a new project and download the project assets from https://github.com/PacktPublishing/Godot-Game-Engine-Projects/releases.
For this project, you'll set up custom input actions using the Input Map. Using this feature, you can define custom events and assign different keys, mouse events, or other inputs to them. This allows for more flexibility in designing your game, as your code can be written to respond to the jump input, for example, without needing to know exactly what input the user pressed to make the event happen. This allows you to make the same code work on different devices, even if they have different hardware. In addition, since many gamers expect to be able to customize a game's inputs, this enables you to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access