Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



76 Commits

Repository files navigation

Envy My Simplex

A WebGL shooter game based on code from NVMyCar. Final project of Yale University CPSC 478 (Computer Graphics)

By David Yao, source code at Github


Concept of game

In the game, the target moves from a column top to another and shrinks and disappears when it reaches the last column of its route. There is also a character who can shoot a simplex from its arm. The goal is to hit the target with the simplex before it disappears.

The blinking simplex bullet is unique and hence only refills itself for the character when the previously shot bullet goes out of the game field without hitting the target.

There are various view modes (6 of them) available.

How to play Envy My Simplex

Open index.html, click on the canvas on the webpage to start playing. To play another game just refresh (and re-click the canvas). The game starts immediately after the webpage loads but one cannot use keyboard commands until he clicks the canvas.

A comprehensive instruction is on index.html, copied here:


Shoot the moving ball before it reaches its last column, the one with the bloody red top.

List of views

  1. First-person view View from the eye of the character

  2. Bullet Chaser view View from close to the front of the simplex (bullet).

  3. Target Chaser view View from behind the target(ball).

  4. Bird's-eye view Orthogonal projection viewed from the sky. Can see the whole game field.

  5. Character Chaser view View from behind the character.

  6. Photographer view Fixed observer at the center of the game field. Can lock view to the character or the target.


  1. General Instructions - [1/2]: Go to the previous/next view. - [W/S]: Character moves forward/backward. - [A/D]: Character turns left/right. - [E]: Fire! - [T/G]: Raise/Lower the gun. - [F/H]: Point gun slightly to the left/right.
  2. Special Command in Photographer View - [R/V]: Stand up / Lower himself. - [L/U]: Lock/Unlock camera to character. - [P/O]: Lock/Unlock camera to target.


First-Person View Bird's Eye View Character Chaser View Photographer View Target Pieces


No releases published


No packages published