Skip to content
This repository has been archived by the owner on May 26, 2018. It is now read-only.

Jaliborc/rushgun

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

RushGun

Extremely simple shooting game I quickly made in one afternoon using Unity. Repo only includes the source code files, as I've lost the media files since then.

Video preview

Code

  • Player.cs: handes user interaction and controls (e.g: UI)
  • Glock.cs: handles the gun behavior
  • BulletStuck.cs: stops bullets when they hit static objects and instantiates the corresponding particle and sound effects
  • Spawner.cs: spawns mobs on somehow random intervals and moves them across predefined paths. Uses Catmull–Rom splines for path smoothing.
  • Overlord.cs: handles the mobs behavior when hit by bullets
  • Events.cs: helps keeping source files more independent from each other, by providing common event delegates