logo

Babylon.js Market

By Lawrence

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

bjs download scene WingmanFlight2 --all

Copy that scene.json over your src/scenes/wingman.json and you are caught up to the start of this lesson.

Every tracer you've fired since lesson 1 is still in the world. Hold the trigger and the 256-slot bullet pool fills up. Then the pool runs out of free slots. It starts reusing its own oldest rounds, even ones still in flight. A tracer disappears not because its time ran out, but because the pool needed the slot back. Debris works the same way. And when a critical hit finally kills you, the kill path from lesson 4 freezes the ship dead and stops there. Nothing counts down to bring it back. Two small countdowns fix both problems.

Continue reading

Unlock the Full Course

Every lesson, the runnable examples, and the finished build — yours to keep.

$9one-time

Was this page helpful?

We read every note — tell us what's working and what isn't.

↑↓ NavigateEnter SelectEsc CloseCtrl+K Open Search