Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really love this talk by Mary Rose Cook — she illustrates step-by-step how to code a game loop from scratch in 30 minutes.

https://youtu.be/hbKN-9o5_Z0



Note that the article being discussed here is about gameplay loops; not a game engine loop.

I only mention this because this comment primed me for a discussion about game engine design instead of game design.


panopticon is correct that this talk is sort of off-topic, because it's about game-dev gameloops, not game-design gameloops, which are not the same thing at all.

And rishav_sharan is correct that it's nonetheless lovely, so thank you for linking it.

It's interesting that, being from 2014, it uses a lot of patterns that would be completely imprudent (though still possible) in modern post-2015 Javascript, so on a line-by-line basis more than half the lines are not how I would recommend doing this today, while the approach is still totally perfect.

Hard to believe, though, that that video has so few views/likes/comments, because she really nails it.


This was awesome! I'm going to code this with my son this weekend! It's simple enough to comprehend and should allow us to code this in a few hours with his basic programming knowledge.


Thank you. That's a lovely resource




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: