Hacker News new | ask | show | jobs
Ask HN: Tutorials for game engine development?
10 points by grouma 3983 days ago
Can someone provide tutorials / resources for developing a game engine from scratch? I'm mostly interested in how the physics is done, followed by the rendering. I don't have a specific use or project in mind as I'm simply just curious and would like to have a general understanding.
5 comments

If you're really into C, then you can't get much more "from scratch" than Handmade Hero (https://handmadehero.org/)

I stopped trying to follow it all after about 30 episodes and just pick and choose the parts I find interesting at the moment from the youtube archives (https://www.youtube.com/channel/UCaTznQhurW5AaiYPbhEA-KA).

Isn't he building a game rather than an engine?
He is building a game from scratch, but he isn't using an engine, so by nature he is building an engine too. I am sure there would be a lot of reusable pieces in the end he could re-use.

I am watching the series too. I paid the $15 to support the efforts.

3D Math Primer for Graphics and Game Development by F.Dunn and I.Parberry - https://thefinancialengineer.net/wp-content/uploads/2015/04/...
I've found the book Game Engine Architecture extremely helpful with this. http://www.amazon.com/Game-Engine-Architecture-Jason-Gregory...

If you're looking to find out how a physics engine works you should check out Box2D, it's an open source 2D physics engine. https://github.com/erincatto/Box2D

There are a lot of open source efforts to learn from

Cocos2d-x - cocos2d-x.org

They also have forums to jump in and ask questions: discuss.cocos2d-x.org

There is even a Programmers Guide to get you started: cocos2d-x.org/programmersguide

ping me on there if you want to chat about game stuff @slackmoehrle