4 ms·
While I can certainly appreciate a desire to get down in the nuts and bolts of a programming problem, and really understand what you're doing, I don't think tha
by zeta0134 7y ago
While I can certainly appreciate a desire to get down in the nuts and bolts of a programming problem, and really understand what you're doing, I don't think that's required to spark the joy of learning in a new student. No, for video games in particular, what seems to work most consistently is rapid iteration. How fast can the student go from idea in their head to their character doing that behavior on screen? That core loop is fascinating to a youngster, who immediately begins to piece together how Mario might run and jump, or a race car might move along a track, almost entirely on their own.
To that end, there's a certain value in declaring that, "You know what, PyGame Zero's event loop is probably fine. Let it sweat the details, and we'll worry about writing the character.jump() function next." Another framework I love that works this way is Love2D, which targets Lua but has a similar approach:
https://love2d.org/ https://love2d.org/
Sure it's not suitable for any project of decent complexity, but there's a reason we keep reaching for it during Ludum Dares, and any time we want to rapidly prototype an idea. It takes the least amount of effort of any tool I know to go from concept to prototype, and get the idea in playtesters hands so we know if it's worth doing properly. Getting to do that in Python sounds awesome, so kudos all around; this is neat stuff.
- Kwantuum 7y agoDepends on what you mean by decent complexity: https://lk-games.itch.io/citizen-of-nowhere https://lk-games.itch.io/citizen-of-nowhere This game is made using love2d