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…

Departure – Unity3D Game

Download the game and/or its source code here. Departure is a game that I decided to make to dabble in the top-down shooter genre and see how modular code I’ve written in the past could be. The game started out as one of my one day challenges; however, it turned out to take a bit…

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…

MrPig the Game!

Don’t like reading? Download the game here! During the past few months I have been playing Helicopter on my Palm-Pre (yes, ancient now), and with the up roar of FlappyBird I managed to try it out as well. The great thing about these games are that they are simple. Helicopter has nice smooth controls, but…

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…