Celeste Player Source Code(github.com) |
Celeste Player Source Code(github.com) |
Obviously the link is primarily talking about the fact that the player function is 4000 lines long. That's a lot. Maybe that's the lesson, your code does not have to be perfect, the result must.
I'll also add to the discussion this amazing video by GMTK, which explains what video game developers must think about when designing movement. It's wonderful.
Why Does Celeste Feel So Good to Play? (https://www.youtube.com/watch?v=yorTG9at90g)