News for hackers. Stuff that matters.
Re:How do I design a game from scratch? A primer on core loops by sunpazed on Friday July 17, 2020 @09:19PM (#23878069)
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

Re:How do I design a game from scratch? A primer on core loops by panopticon on Friday July 17, 2020 @10:15PM (#23878361)
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.

Re:How do I design a game from scratch? A primer on core loops by jholman on Saturday July 18, 2020 @06:11PM (#23885282)
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.

Re:How do I design a game from scratch? A primer on core loops by marai2 on Saturday July 18, 2020 @12:00PM (#23882268)
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.
Re:How do I design a game from scratch? A primer on core loops by rishav_sharan on Saturday July 18, 2020 @01:22AM (#23879205)
Thank you. That's a lovely resource