Written by: Rayner Tan
Welcome! The goal of this workshop is to introduce some basic patterns in game programming through a simple exercise. Some concepts that you will go through:
At the end, you will create something that looks like this:
A green circle representing the player, that can move using WASD and shoot where the mouse is at upon left clicking. And red circles representing enemies that move towards the player, which upon contact, the player dies and the game is over. Player wins by killing all the enemies.
Let’s begin by downloading the starter project from here:
<aside> đź’ˇ
For mac users:
clang --version
and if a version comes out, you’re good to go. (This also auto installs make)make run
in the directory to build and run.For Windows users:
gcc -v
and if a version comes out, you’re good to go.build.bat
script. (DO NOT USE THE MAKEFILE)