Week 5: Combat, Hitboxes, and Enemies (Part 1)
Learning objectives: Implement player attacks and first enemy combat loop.
Estimated time: 8-10 hours
Signed in as loading...
Checking purchase access...
Learning objectives: Implement player attacks and first enemy combat loop.
Estimated time: 8-10 hours
Signed in as loading...
Checking purchase access...
This week is split into short video parts so you focus on one concept at a time, complete the matching build task, and verify results before moving to the next part.
This week is split into short video parts so you focus on one concept at a time, complete the matching build task, and verify results before moving to the next part.
Use one lesson segment per step for Week 5: Combat, Hitboxes, and Enemies (Part 1). Pause between segments and complete the hands-on task before continuing.
Capture setup screenshots, inspector states, and scene graphs as you work so each step has a visual checklist to validate progress.
Embed a short clip for this step and keep it under 10 minutes before moving to the build task.
Create hitbox/hurtbox architecture with Area2D
Embed a short clip for this step and keep it under 10 minutes before moving to the build task.
Trigger damage via signals and groups
Embed a short clip for this step and keep it under 10 minutes before moving to the build task.
Build first patrol enemy with contact damage
Add or adapt this snippet during your build pass, then run and verify behavior before moving to the next week.
# Step checkpoint for Week 5: Combat, Hitboxes, and Enemies (Part 1)
func _ready() -> void:
print("Checkpoint complete for this week")