Skip to content

kharkawy/thecosmonautgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Cosmonaut Game

Description

A shooter game made in Unity and exported in WebGL.

Plot

You are a cosmonaut on an alien planet. Your goal is to shoot and kill as many enemies as possible.

Installation

  1. Clone the repository onto your local machine
  2. Run npm install

Development

  1. Run npm run start and click the link printed in the console.

Game controls:

  1. Use W, S, A and D keys to move the Cosmonaut around the map
  2. Use mouse to rotate the Cosmonaut
  3. Use left mouse button to shoot laser

Spawn points:

There are three spawn points - one to the left of the starting location, one to the right and one in the back.

Added functionality:

  • start menu
  • end menu with your score and restart button
  • collectable hearts that increase health value