#18: The Game Class

August 27, 2018 comments 97 Reads

You know that incomprehensible blob of code in runApp that magically makes everything work? Yeah, we’re fixing that today. We’re creating the Game class to do that in a much more organized, scalable, and understandable fashion.
Starting code: https://github.com/BennyQBD/3DGameProgrammingTutorial/tree/71f2c5b538a64f292963eaa9cb96feb32ed6918c
Finished code: https://github.com/BennyQBD/3DGameProgrammingTutorial/tree/1bd89e603c209d2c6d2d0e6f13dd61e55e758c70
Line-by-line code change breakdown: https://github.com/BennyQBD/3DGameProgrammingTutorial/commit/1bd89e603c209d2c6d2d0e6f13dd61e55e758c70
Base code: https://github.com/BennyQBD/CGFX5
Discord: https://discord.gg/aMqvk3E
If you’d like early access to videos, special discord roles, or just to support the creation of these videos. consider becoming a patron on Patreon: https://www.patreon.com/thebennybox
A very special thanks to my most devoted supporters for making this video possible:
Thundzz (Yacine)
Andreas Nordh
matthew motsinger
Galymzhan Sh
Jonas Svedberg
Walter Cardozo
Mel Florance