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.
If you're really into C, then you can't get much more "from scratch" than Handmade Hero (<a href="https://handmadehero.org/" rel="nofollow">https://handmadehero.org/</a>)<p>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 (<a href="https://www.youtube.com/channel/UCaTznQhurW5AaiYPbhEA-KA" rel="nofollow">https://www.youtube.com/channel/UCaTznQhurW5AaiYPbhEA-KA</a>).
3D Math Primer for Graphics and Game Development by F.Dunn and I.Parberry - <a href="https://thefinancialengineer.net/wp-content/uploads/2015/04/F.Dunn-I.Parberry-3D-Math-Primer-for-Graphics-and-Game-Development.pdf" rel="nofollow">https://thefinancialengineer.net/wp-content/uploads/2015/04/...</a>
I've found the book Game Engine Architecture extremely helpful with this. <a href="http://www.amazon.com/Game-Engine-Architecture-Jason-Gregory/dp/1568814135" rel="nofollow">http://www.amazon.com/Game-Engine-Architecture-Jason-Gregory...</a><p>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. <a href="https://github.com/erincatto/Box2D" rel="nofollow">https://github.com/erincatto/Box2D</a>
There are a lot of open source efforts to learn from<p>Cocos2d-x - cocos2d-x.org<p>They also have forums to jump in and ask questions: discuss.cocos2d-x.org<p>There is even a Programmers Guide to get you started: cocos2d-x.org/programmersguide<p>ping me on there if you want to chat about game stuff @slackmoehrle