Skip to content

nrsharip/threejs-shmup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Try the following link: https://nrsharip.github.io/threejs-shmup/

This is a classical Shoot 'em up to further sharpen some game development skills with Three.js and WebGL. Following are the features currently implemented:

  • Some form of a game design pattern emerged on top of Three.js's environment, including pooling, game lifecycles, separate scripts (classes) handling each game object etc.
  • Physics enabled with Ammo.js mostly to track collisions (bullets vs crafts, player vs enemies)
  • Yuka has been used to supply Seek Steering Behavior (to calculate the rocket's trajectories)

Screenshots

Development

  1. Download and unzip the source archive to a ./work directory/

    OR

    git clone https://github.com/nrsharip/threejs-shmup.git
    
  2. Install Python

  3. From a command line CD into your ./work directory/ with the sources and run this (see also):

    //Python 2.x
    python -m SimpleHTTPServer
    

    OR

    //Python 3.x
    python -m http.server
    
  4. Go to http://localhost:8000/

  5. Use any editor of your choice (VSCode for example)

File Structure

Game Lifecycles

Object Pooling

License

This project is available under the MIT license © Nail Sharipov