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

bjs download scene SpaceshooterFlight2 --all

The scene you are caught up to at the start of this lesson, rendered from the full asset download.

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

Course 2 ended in a real dogfight: two pilots hunting you, wings shearing off, missiles tracking. Fly away from them and the game evaporates. Push the throttle in open space and the screen doesn't change — there is nothing out there for your speed to happen against. Boost feels identical to idle.

Rock fixes that, and rock is also what the rest of this course needs: something to hide behind, something to break a missile lock, something that kills you if you fly into it at 300 units a second. So the arena comes first.

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