Repository for the IT University of Copenhagen Game Programming course.
You are free to use any development setup you want, as long as you can confortably build and debug CMake projects.
If you don't have an IDE setup, you can follow this quick platform-independent setup:
- download and install CMake (for mac users, use brew instead of downloading from the website)
- download VSCode and install these two extensions (both of them from Microsoft)
- C/C++ Extension Pack
- CMake Tools
- clone the exercise repository
git clone --recurse-submodules https://github.com/Chris-Carvelli/game-programming-25.git - open repository in VSCode
- in
Preferences->Settings, search forcmake pathand replace the content with the path to your CMake executable (you can find in typingwhere cmakeorwhich cmakeon the command line) - restart the editor
After reopening the editor, you should see all available targets in the cmake tab, in the Project Outline section.
Build and run them from there, or set one to be the "default" target (right-click->Set Launch/Debug Target)
- setup and test you development environment
- build and run the files in the
examplesfolder - be sure to befamiliar with the basics of C/C++ (syntax, control flow, variable and functions, structs/arrays/enums/unions/, pointers). You can check the course page for additional resources on this
- refresh a bit of linear algebra and trigonometry
I've setu up a folder for you (playground) if you want to test things out. Just create a .cpp file in there and reconfigure the CMake project, and you can try everything that doesn't involve external dependencies.