/Sky-Wars

An endless runner game developed on Three JS.

Primary LanguageJavaScript

Sky Wars

logo

Sky Wars is an endless runner game developed on Three JS. The aim of this game is to collect stars, as many as possible. But wait, its not easy as it sounds! Across the galaxy you will face asteroids in your path which you need to avoid in order to survive. Moreover, there are enemy planes constantly shooting deadly powerballs at you. The challenge is to last longer than anyone else. Are you ready to take up this challenge?

Trailer Video: Click Here
Play Game: Click Here
Note: Game requires good hardware specifications in order to run smoothly. Hence it might lag in case of low specifications.

Instructions

  • Open project folder in VS Code.
  • Now run the index.html through VS Code Live Server.
  • Our game will be launched.

demo

Gameplay

  • Upon launching the website, the game starts.
  • The space plane starts flying in the forward direction across the galaxy.
  • The directional movement of the plane can be performed using the below mentioned keys. Note that this directional movement is limited to a particular limit in order to make the game more challenging.
  • The plane needs to avoid asteroids as they cause a minor damage.
  • Similarly, the plane needs to avoid enemy planes, else it will crash. These enemy planes also shoot powerballs which should be avoided as well because they can deal huge damage to the plane.
  • In order to destroy asteroids and enemy planes, shoot powerballs at them.
  • At a time, one can shoot a maximum of 3 powerballs, which will get refilled after sometime.
  • The plane needs to collect stars which give a pretty good push to the score.
  • The game will end once the plane's health reduces to zero, and thus, it will crash.
  • In order to restart the game, webpage should be reloaded.

Keys

  • W: To move the space plane to the bottom
  • A: To move the space plane to the left
  • S: To move the space plane to the top
  • D: To move the space plane to the right
  • SPACE: To shoot powerballs

Dependencies

  • THREE.JS
  • Live Server

Models

  • Space plane: Dowloaded from here
  • Star: Built from scratch using blender
  • Rock: Built from scratch using blender
  • Powerball: Built from scratch using blender

Machine Specifications

Details of the machine on which this game was tested:

  • Operating System: Elementary OS 5.1 (Hera)
  • Terminal: Bash
  • Processor: Intel Core i7-8750H CPU @ 2.20 GHz 2.21 GHz
  • RAM: 16 GB