Closed darienyoder closed 1 week ago
We can now make linear ramps and non-rectangular lines of terrain. Ramps higher than HEIGHT + 1 are generally too steep for the ball to get over.
// Ramp. Middle of screen; HEIGHT + 1: ramp 100, 100, 200, 50, 20; // Flat line with no gradient. Top left; HEIGHT = -1: line 50, 20, 100, 30, 10; // Sand. Bottom left; HEIGHT = 01134: line 20, 110, 100, 130, 20; // Water. Right; HEIGHT = 843: line 250, 20, 220, 140, 30;
We can now make linear ramps and non-rectangular lines of terrain. Ramps higher than HEIGHT + 1 are generally too steep for the ball to get over.