This is The Mechanic, where Alex Wiltshire invites developers to discuss the difficult journeys they underwent to make the best bits of their games. This time, mountain-climbing platformer Celeste and the importance of timing in its movements and kindness in its code.
Early last month, the makers of Celeste released the source code behind the game’s star, Madeline. Across 5472 lines and in variables like JumpGraceTime, DashHJumpThruNudge and DuckFriction, the code precisely defines her ability to run, climb, jump and dash, bringing her to life in your hands.
If you’re not a programmer, it’s difficult to figure out what the code really means, so I asked Noel Berry to explain how it coalesces into a character who feels so good to control. Focusing on her dash, the mechanic around which Celeste revolves, it turns out that a lot of it’s down to the game making her do what you expected her to do, and not necessarily what you actually did. Read the rest of this entry »