Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aashrafh/spacetrippers

🤖 🚀 3D WebGL interactive game using TypeScript and NodeJS.
https://github.com/aashrafh/spacetrippers

3d 3d-game 3d-graphics 3d-models collision computer-graphics craft game glmatrix javascript nodejs npm rocks space space-game space-invaders typescript webgl webgl-game yarn

Last synced: about 2 months ago
JSON representation

🤖 🚀 3D WebGL interactive game using TypeScript and NodeJS.

Awesome Lists containing this project

README

        



SpaceTrippers logo

Space Trippers
















---

🤖 :rocket: A 3D WebGL interactive game using TypeScript and NodeJS.


## 📝 Table of Contents
- [About](#about)
- [Demo](#demo)
- [Install](#Install)
- [How To Play](#play)
- [Technology](#tech)

## 🧐 About
A 3D space game. Traveling along the space trying to avoid rocks and obstacles. The ship can avoid the rocks by moving right, or left. Collision with the rocks affects its health by decreasing total health by ONE and every second with no collision with the rock your score increase by ONE.

## 🎥 Demo



GIF Demo
Image Demo
Image Demo
Image Demo
Image Demo
Image Demo
Image Demo


## 🏁 Install
1. Install [Node.js](https://nodejs.org/en/) and [Visual Studio Code](https://code.visualstudio.com/).
2. Open the folder in Visual Studio Code.
3. Open a terminal (Terminal > New Terminal).
4. Run `npm install` . If it failed for any reason, try again.
5. Run `npm run watch` .
6. Ctrl + click the link shown in the terminal (usually it will be http://localhost:1234).

**Note:** you can use yarn to enable caching so that you don't download all the packages with project. You can download yarn from [yarnpkg.com](https://yarnpkg.com/lang/en/). Then replace `npm install` with `yarn install` and `npm run watch` with `yarn watch`.

## 💭 How To Play
The aircraft is running "to infinity and beyond" :runner: so your job is to avoid the obstacles to get survive for as much time as you can so can get a point for every second of avoiding the rocks.
1. Click on the canvas using the mouse to get into the game.
2. Use ```J``` to moving ```left```.
3. Use ```L``` to move ```right```.
4. Press ```ESC``` to exit play mode.

## ⛏️ Built Using
- [TypeScript](https://www.typescriptlang.org/) - strict syntactical superset of JavaScript.
- [glMatrix](http://glmatrix.net/) - Javascript Matrix and Vector library.
- [WebGL](https://get.webgl.org/) - JavaScript API for rendering interactive 3D graphics.
- [NodeJs](https://nodejs.org/en/) - Server Environment