Code of the Game Programming in C++ book. Complete OpenGL 3D tutorial code and samples to use as a learning resource. Including basic shader code examples too.

#gamedev #example #cpp #opengl #engine #tutorial #c++ #library #framework #starter #glsl #shaders #gl #3d #2d

Sanjay Madhav 4561a0581f Chapter 7 (Mac) 8 роки тому
Chapter01 fed429f9ec Chapter 1 mac 8 роки тому
Chapter02 91b7260499 Chapter 2 mac 8 роки тому
Chapter03 8e49ec2928 Chapter 3 mac 8 роки тому
Chapter04 70ddf554ae Chapter 4 mac 8 роки тому
Chapter05 09f77ffe65 Chapter 5 mac 8 роки тому
Chapter06 225600f1c1 Chapter 7 (PC) 8 роки тому
Chapter07 4561a0581f Chapter 7 (Mac) 8 роки тому
Chapter08 80c945af73 Chapter 8 Mac 8 роки тому
External 61add41043 Fixed FMOD version reference in readme 8 роки тому
.gitignore 4561a0581f Chapter 7 (Mac) 8 роки тому
LICENSE 87bace1813 Update LICENSE 8 роки тому
README.md 61add41043 Fixed FMOD version reference in readme 8 роки тому

README.md

Game Programming in C++ Code

This repository contains the source code for Game Programming in C++ by Sanjay Madhav.

The source code for the chapters is released under the BSD 3-clause license. See LICENSE for more detail. Note that this license does not apply to the code in the External directory. Each External project is licensed separately.

Building the Code

Each chapter's code is tested and works on both Microsoft Windows and Apple macOS.

To compile on Windows, install Microsoft Visual Studio 2017 Community (https://www.visualstudio.com/downloads/). During installation, select the "Game Development in C++" workflow. In each Chapter directory, there is a corresponding ChapterXX-windows.sln file to open.

To compile on macOS, install Xcode from the App Store. Each chapter has a corresponding ChapterXX-mac.xcodeproj file.

Code for Chapter 7 and beyond uses the FMOD API for audio. This requires a separate installation from (https://www.fmod.com/download). Download and install version 1.09.x of the FMOD Studio API (newer versions are untested). On Windows, install FMOD to the default directory. On Mac, copy the contents of the FMOD package into External/FMOD.