Before you begin
Have an enemy controller and a player attack configured.
Build it step by step
Select the enemy and inspect its Health property. Configure enemy shows the current value and can apply the Sprite Studio starting health.
Set Hurt recovery, Show defeat for and Score on defeat. Enable Remove after defeat animation if the defeated enemy should disappear.
When creating a Combat preset against this controlled enemy, choose Keep it — my rules decide and score 0 there. Let the controller own defeat and score.
Test attacks until Health reaches zero. Watch the hurt response, defeat delay and score award.
Restart and repeat. Remove any older rule that instantly removes the same enemy if you want its defeat animation to finish.
Practical example
An enemy with 3 health can award 10 points after three accepted one-point hits, then show its defeat pose before removal.
Test your work
The enemy stops acting when defeated and awards its intended score once.
If it does not work
If score doubles, inspect both Combat preset rules and Score on defeat. If the animation disappears immediately, look for Remove object or Restart actions.
Student challenge
Make an enemy worth extra points because it takes longer to defeat, while preserving a clear damage rhythm.
Show the result to a partner. Explain what you changed and how you tested it.
