- 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.
- Visual C++程序設(shè)計學習筆記
- 自己動手實現(xiàn)Lua:虛擬機、編譯器和標準庫
- NLTK基礎(chǔ)教程:用NLTK和Python庫構(gòu)建機器學習應用
- Java程序設(shè)計與實踐教程(第2版)
- 游戲程序設(shè)計教程
- 前端HTML+CSS修煉之道(視頻同步+直播)
- 小程序,巧應用:微信小程序開發(fā)實戰(zhàn)(第2版)
- Visual C#.NET Web應用程序設(shè)計
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- 算法圖解
- C++程序設(shè)計
- 虛擬現(xiàn)實建模與編程(SketchUp+OSG開發(fā)技術(shù))
- Java EE基礎(chǔ)實用教程
- 流暢的Python
- 匯編語言程序設(shè)計教程