Summary
Throughout this chapter, you learned about Unreal Engine’s basic gameplay framework classes, including AActor
, APawn
, ACharacter
, APlayerController
, AGameModeBase
, AGameStateBase
, and UGameInstance
. By extending these classes, you can create the most needed elements for developing new games. Besides creating game actors, two important macros, UPROPERTY
and UFUNCTION
, were also introduced so that you can make actor properties and functions recognizable and work together with the engine. Your new classes’ data can also be edited in the engine editor.
In this chapter, the following tasks were completed to enhance the game development process in Pangaea
. New classes, including DefenseTower
, Projectile
, and PlayerAvatar
, were created by inheriting from the Actor
and Character
classes. These classes were enriched with additional properties and functions to provide customization and unique behaviors.
Different methods for rebuilding uprojects after code changes...