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

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

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