Skip to content

Three.js and Ammo.js Local-Multiplayer Game made for controllers

Notifications You must be signed in to change notification settings

wesleyearlstander/TwinStickShooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shooting Zombies in Space

Local multiplayer twinstick shooter - developed for Computer graphics and visualization course.

Local multiplayer game with up to 4 players made using three.js and ammo.js without a visual editor for running in browser. Game is to be played with multiple PS4 controllers.

To run game create a browser instance with CORS disabled and start game.

ScreenShot

View:

• Scene is 3D • Scene is animated, player and zombies are animated • View can be changed with arrow keys • Avatar is animated

Control:

• W (Keyboard) is restart • Controllers (left stick move, right stick aim, r1 shoot, x is jump) • Arrow keys move camera

Play-ability:

• Game wins after killing a 100 zombies • If all player’s die then lose • Permadeath per player • Game is competitive but co-operative

3D-effects:

• Directional light, spot light and ambient light • Textures on walls and floor • Materials, phong on health pickup and basic on others • Dynamic skybox playing video • Curve for health and ammo bar • Shadow mapped spot light • Reflection on sphere upon winning

Coding:

• Everything has it’s own handler (OOP) • Comments and indentations

Polish:

•Game can restart if lost or during game or win • Functional UI bars • Sounds • Consistent theme

About

Three.js and Ammo.js Local-Multiplayer Game made for controllers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages