Adding the Monsters
Learn how to add monsters.
We'll cover the following
Monsters have a lot in common with the adventurer; they have a position and render information. However, they aren’t keyboard-controlled, and they shouldn’t have a Player
tag. Instead, monsters need an Enemy
tag component. Let’s add an Enemy
tag component. Adding an Enemy
tag in components.rs
:
Get hands-on with 1400+ tech skills courses.