Adding a New Enemy
Last updated
Last updated
Navigate to:
Assets/RGame/RoguelikeKit/ScriptableObjects/DataSO/Enemy/
Right-click an existing enemy config (e.g., Enemy1.asset
) → Duplicate
Rename (e.g., Enemy_SkeletonMage.asset
)
Open the new config and modify attributes:
Go to:
Assets/RGame/RoguelikeKit/Prefabs/Enemy/
Duplicate an existing enemy prefab (e.g., Enemy_Orc.prefab
) → Rename (e.g., Enemy_SkeletonMage.prefab
)
Modify components:
SpriteRenderer: Assign new sprite (e.g., Assets/Sprites/Enemies/SkeletonMage.png
)
Animator: Procedural animations will auto-generate
Enemy script:
Assign your new MValueConfigSO
(e.g., created in the previous step)
Is Drop Out Box Whether or not it drops a bonus treasure chest, if it's a boss you have to check it off.
Edge Color is ablative colors after death. “Dissolve Effect” rest of it you don't need to set. You can try each part in practice. Practice is the quickest way to learn this section.