Stage 2 · Lesson 2 of 8
Actors, components and the gameplay framework
Unreal gives every game a ready-made structure. are objects placed or spawned in a level. add reusable behaviour to them.
The gives each class a role. The GameMode holds the rules. A Pawn or Character is the body the player controls.
The PlayerController turns the player's input into commands. show the HUD, the on-screen health and score. Actors get when play starts and Tick every frame, but switch Tick off wherever you do not need it.
Putting logic where Unreal expects it makes respawning, switching characters and multiplayer far easier.
Common trapputting the game rules and the score on the player character, then losing them when the character dies.
A question to check yourself, an AI practice session and 2 cheat sheet entries come with the full roadmap. Unlock
Resources for this stage
Start with· follow one of these
- CourseFreeUnreal Engine Learning (Epic Developer Community)
Epic Games
Epic's free courses: Your First Hour and Your First Game teach the editor and Blueprints
- CourseFreeLearnCpp.com
LearnCpp.com · Beginner
Free, thorough modern C++, so Unreal C++ is only new macros, not a new language
Practise
Keep handy
Also worth your time
How Unreal C++ differs from standard C++ and how it fits with Blueprints
- Game Programming PatternsGo deeper
Free book on the state, observer, component and other patterns games rely on