Dungeon Architect for Unreal Engine 2.32 Help

Canvas Player Setup

You'll need a custom player controller to do two things:

  • Show your UI with the minimap widget

  • Add a component to this class, so it automatically takes care of setting everything up for you

Show UI

Open your player controller and create your UI widget and add to viewport

image|690x289

This will make the UI show up when your game starts. The Dungeon Canvas widget you placed in your UI will auto register itself when it constructs. So there's no more setup required here on the UI side

Add Canvas Component

Open up your Player Controller blueprint and add the DungeonCanvasPlayerController component to it

C001.png

Whenever you possess a character in game, it automatically takes care of the following:

  • Setting up that character as a Fog of War explorer

  • Add a player icon to the character

When the character is UnPossessed (e.g. in death), it will take care of cleaning up the above changes.

No more setup is required here. You may select the component and modify the fog of war settings and the icon settings

C002.png
Last modified: 15 November 2024