- Unreal Engine 4 Game Development Quick Start Guide
- Rachel Cordone
- 238字
- 2021-06-24 13:44:00
Input settings
The input settings are part of the Engine section, but I want to discuss it separately from the other editor preferences. This section defines the keyboard, mouse, and gamepad inputs that our game will use, and will come into play in Chapter 2, Programming Using Blueprints. Let's take a look at the inputs that have been provided for our third-person project:

When you create your project, these inputs will automatically be created based on the template you use, but you will naturally want to add more depending on your gameplay. For instance, to add a Use key, you would press the plus sign next to Action Mappings, then change the name from NewActionMapping_0 to Use, and then select a keyboard key for it to use (E is common). Now, when you are creating or modifying your character class, you will be able to use this as an input event (discussed more in Chapter 2, Programming Using Blueprints).
Axis Mappings have an additional setting for scale, since they include gamepad thumbsticks that don't have a strict on/off state. If you look at MoveForward for example, you can see that the backward key (S) also calls the same input event; it just gives it a negative value so the character will move in the opposite direction.
Now that we've customized the editor with our preferences, let's look at how to further expand the engine's capabilities by using plugins.
- 深入核心的敏捷開發:ThoughtWorks五大關鍵實踐
- Java面向對象思想與程序設計
- C++面向對象程序設計(微課版)
- 云原生Spring實戰
- Mastering Ubuntu Server
- Linux Device Drivers Development
- 程序是怎樣跑起來的(第3版)
- Bootstrap for Rails
- Mastering Apache Storm
- Python+Office:輕松實現Python辦公自動化
- 深入淺出 HTTPS:從原理到實戰
- Learning NHibernate 4
- Java EE互聯網輕量級框架整合開發:SSM+Redis+Spring微服務(上下冊)
- Instant AutoIt Scripting
- HTML 5與CSS 3權威指南(第4版·下冊)