Projectiles (Bullets) using OpenGL/Glut

Compiled using Code::Blocks 13.12 in Ubuntu 14: Build options -> Linker Settings (Other Linker Options): -lGL -lGLU -lglut Properties -> Build Targets (Type): GUI Application The following code changes and additions are based off the code posted in Movement using OpenGL/Glut. New defines, structures, and global variables added. Addition to void keyboard() The keyboard() function…

Movement using OpenGL/Glut

Compiled using Code::Blocks 13.12 in Ubuntu 14: Build options -> Linker Settings (Other Linker Options): -lGL -lGLU -lglut Properties -> Build Targets (Type): GUI Application Movement.c is a program that draws a triangle on screen and accepts user input that moves/rotates the triangle. It is written in C using OpenGL/GLUT libraries. This post does not…

Simple Enemy Pacing Script [Unity3D]

Unity3D Version: 4.3.3f1 This C# code is for a simple enemy pacing script. The GameObject that has this script attached will go back and fourth in any Axis that isĀ desiredĀ (default is to pace in the X-Axis). The GameObject uses a Ridged Body which makes it is quick to add other mechanics to it, such as…

Simple Checkpoint System [Unity3D]

The other day I decided to make a simple checkpoint system, where there is an initial spawn point, a checkpoint, and a point that marks the end of the level. If the player falls out of bounds and has not hit a checkpoint they will respawn at the initial spawn; however once they hit the…

Global Game Jam 2014 – Trouble in Paradise

I participated in the Global Game Jam this year, and while I may have worked alone (as I got there late and groups were already formed) I learned a lot. We don’t see things as they are, we see them as we are. I received the theme (above) via text as I was waiting for…

Prototypes

Once you get your idea on paper you may want to make a prototype of the idea. A prototype doesn’t have to look great; as long as one can convey the basics of the idea it should be sufficient. Why would it be sufficient? It will be sufficient because one will re-write the code to…