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/WingmanFlight-lesson-7/scene.json:
Copy that scene.json over your src/scenes/wingman.json and you are caught up to the start of this lesson.
MissionDirector already counts your kills. But it only checks them against a finish line. Six kills wins the run. Five kills means nothing. No score goes up while you fight. There's no total to beat, and no reason to keep shooting once you hit the quota. That same kill event needs a second listener. This one doesn't care about winning. Its only job is points.
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.