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-7/scene.json:

Copy that scene.json over your src/scenes/spaceshooter.json and you are caught up to the start of this lesson.
Course 2 left you a loose end and told you it was deliberate. When you die, destroyShip freezes the ship, hides it, silences the gun, tags it dead, and attaches a RespawnTimer — and nothing in the entire combat set reads that timer. You sit there, invisible and stationary, for as long as you care to wait.
That was the right place to stop, because "what happens after a death" is not a question the damage code gets to answer. Here is the component that does:
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.