5 minutes
Catching up?
Dropping in at this lesson? One command reinstalls the library components the build uses so far and writes the scene as it stood at the end of the previous lesson to public/scenes/SpaceshooterFlight-lesson-4/scene.json:

Copy that scene.json over your src/scenes/spaceshooter.json and you are caught up to the start of this lesson.
Your two enemies are furniture. Enemy1 and Enemy2 are typed into the scene file at fixed coordinates, they exist from the first frame, and when you kill them the fight is over for good. Every arcade game solves this the same way: something decides when fighters appear and how many, and the ships themselves come from a pool that was allocated before the round started.
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.