Series
Celeste
2 games, 2015–2018.
Games
Interactive: timeline (needs JavaScript)
The series by yearMechanics
A marked cell changed from the game before. “Uses” means the game has the mechanic, with no variant recorded yet.
Every claim, by mechanic and game
| Concept | Celeste Classic 2015 | Celeste 2018 |
|---|
| Air control | | |
| Coyote time | | - The jump grace time, Celeste's coyote time, is 0.1 s. Code
- Grounded updates refill the jump grace timer; airborne ones subtract the update's time step before the normal state's update, which jumps on a press while it is above zero. Code
- At normal speed, Celeste's time step per update is most likely
(float)0.0166667 s, the XNA and FNA default 166,667-tick step, not an exact 1/60 s. Wiki - The 0.1 s grace and 0.2 s variable-jump timers end on float rounding: a 0.0166667 s step gives 5 and 11 updates, and an exact 1/60 s step gives 6 and 12. Code
- Each update starts by looking for ground; while her vertical speed is 0 or more, Madeline is on the ground if her hitbox, moved 1 px down, overlaps a solid or a jump-through platform. Code
|
| Gravity | | |
| Hitbox | | - Madeline moves one pixel at a time and stops at the pixel before a solid, then the collision callback runs. Dev blog
- When Madeline hits a solid sideways in the normal state, the horizontal collision handler zeroes her horizontal speed, unless, while she's dash-attacking, a dash block rebounds, bounces, or ignores her, or a dream block takes her in. Code
- Madeline's hitbox is 8 px wide and 11 px tall, centered on her X with her position at its bottom; ducking shrinks it to 8 × 6 px. Code
- When Madeline rises into a solid in the normal state, she is moved 1 px up and 1 to 4 px sideways to the first spot where her hitbox fits, keeping her speed. She tries leftward first unless she is moving right, then rightward unless she is moving left. Code
- Madeline stands up from a duck only where her standing 8 × 11 px hitbox fits. Under a solid that's too low, releasing Down on the ground in the normal state, or starting to fall, leaves her ducked. On the ground in the normal state, if she is stopped, she slides at 50 px/s toward room within 4 px. Code
- On stages with floating blocks, a frame-by-frame model of Madeline rising into solids, her ducking box, and the check for room to stand matches a statement-by-statement float32 simulation of the released code on every frame of random stages and input scripts. Code
|
| Jump | | - A normal jump sets Madeline's vertical speed to the jump speed, −105 px/s. Code
- Jumping while ducked keeps Madeline's 8 × 6 px ducking hitbox until she is falling with room to stand, because the jump function leaves her ducking flag alone and only the falling check, which tests whether she has room to stand, clears it in the air. Code
- The jump function adds a horizontal boost, 40 px/s, times the d-pad direction to Madeline's horizontal speed, after that update's running step, so a running jump leaves at 130 px/s. Code
- On a landing in her normal state while not dash-attacking, the code zeroes Madeline's vertical speed and keeps her horizontal speed, unless her latest dash went down and to the side: then the landing multiplies her horizontal speed by 1.2 and makes her duck, once per dash. While dash-attacking, a landing on a dream block can send her into the dream dash first, before either speed changes. The landing update has already used the air rates, and the ground rates start on the next. Code
- Simulating the code, a running jump leaves at 130 px/s and slows back to 90 px/s in 10 airborne updates with the d-pad held; a jump from a standstill with the d-pad held leaves at 56.67 px/s. Code
- Simulating a hop steered back with Left, the landing update still changes Madeline's speed at the air rate, −10.83 px/s, and the next at the ground rate, −16.67 px/s. Code
|
| Jump buffering | | |
| Running | | - Madeline's top running speed is 90 px/s, and the same limit applies in the air. Code
- Each update moves Madeline's horizontal speed toward 90 px/s times the d-pad direction by the run acceleration, 1000 px/s² on the ground, so the same rate speeds her up, turns her, and stops her. Code
- Above 90 px/s with the d-pad held the same way, Madeline slows toward 90 px/s at a reduction rate of 400 px/s², instead of the full 1000. Code
- Holding Down on the ground ducks Madeline; while ducked, her speed moves toward 0 at a duck friction of 500 px/s², whatever the d-pad holds. Code
- While Madeline is in control and isn't climbing, picking something up, red-dashing, or in the squash after a red dash hits a solid, she faces whichever way the d-pad points, on the ground or in the air, updated at the start of each update before her speed changes. Code
- Simulating the code, Madeline reaches 90 px/s from a standstill in 6 updates on the ground and 9 in the air, and needs 11 and 17 to turn from 90 to −90 px/s. Code
- A frame-by-frame model of the player's update and its normal state on flat ground matches a statement-by-statement float32 simulation of the released code on every frame of 300 random input scripts, for both delta-time steps. Code
|
| Variable jump height | | - The jump function sets vertical speed to the jump speed plus any platform lift boost, saves it as the variable-jump speed, starts the variable-jump timer at the variable-jump time, and zeroes the grace timer. Code
- The half-gravity threshold is 40 px/s, the vertical speed below which (in either direction) holding jump halves gravity. Code
- Gravity halves while the absolute vertical speed is under the half-gravity threshold and jump is held (or auto-jump is on), so a held jump hangs at the top. Code
- The variable-jump time, how long holding jump can keep the take-off speed, is 0.2 s. Code
- While the variable-jump timer runs, holding jump keeps Madeline rising no slower than the speed saved at take-off, canceling gravity; releasing zeroes the timer and cuts no speed. Code
- In each update, the player's update ticks both jump timers, the state machine runs the normal state's update (gravity, hold, and new jump), and then the vertical move applies the vertical speed times the time step. Code
- Celeste's developers describe the game as locked to 60 updates per second, so the bundled PICO-8 port skips every second frame. Developer
- Simulating the jump code (flat ground, no lift boost, a 0.0166667 s step) gives apexes of 7 px tapped and 27 px held, airtimes 15 and 39 updates; an exact 1/60 s step gives 29 px held in 40. Code
- When Madeline rises into a solid in the normal state and no corner correction fits, her vertical speed is zeroed. The variable-jump timer is zeroed too, unless it still reads at least the variable-jump time less a ceiling grace, 0.2 − 0.05 s, which spares hits in the jump's first 0.05 s. Code
- A ceiling hit spares the variable-jump timer on the jump's own update and the 2 after it with a 0.0166667 s step, and the 3 after it with an exact 1/60 s step. Three subtractions of the 1/60 s step leave the timer at exactly the float 0.15, which is not below the limit. Code
|