By Lawrence
5 minutes
5 minutes
Rocks in the Way
Asteroids give the stream something to get round: a wall, a belt, a shelf.
Solid or absorbing
A rock touching a mass is the one contact test from A Star Too Heavy for Light. The mass's absorbs flag picks the ending. A black hole absorbs, so the rock is swallowed. An asteroid doesn't, so the rock crashes.
An asteroid is a GravityMass that doesn't absorb. It pulls with a mass of 40, against a hole's 450. Each level sets how big its asteroids are.
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.
$9one-time
=