Top Down Shooter Blueprint Code [Unity3D 4.3]

DOWNLOAD Game Jam coming up and you don’t want to waste time programming the basics of a top down shooter game? If your using Unity, then this code may be for you! I have set up the basic structure for a top down shooter game for you to use for your game development needs. I … Read more

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. [code language=”c”] #define SPACEBAR 32 #define MAX_BULLET_ON_SCREEN … Read more

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 … Read more

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 … Read more

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 … Read more

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 … Read more