Giter VIP home page Giter VIP logo

abdallahhemdan / spacetrippers Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 2.0 19.76 MB

๐Ÿš€ SpaceTrippers is a 3D infinite survival game in which you trying to avoid rocks and obstacles to get high score which is coded using TypeScript and NodeJS...

License: MIT License

HTML 1.69% TypeScript 85.61% GLSL 12.57% SCSS 0.12%
webgl game computer-graphics computer-graphics-webgl fecu 3d 3d-graphics typescript yarn npm

spacetrippers's Introduction

Space trippers

Space Trippers

GitHub contributors GitHub issues GitHub forks GitHub stars GitHub license


๐Ÿค– ๐Ÿš€ A 3D WebGL interactive game using TypeScript and NodeJS.

๐Ÿ“ Table of Contents

๐Ÿง About

A 3D space game. Travelling 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.

๐Ÿ Install

  1. Install Node.js and Visual Studio Code.
  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. 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" ๐Ÿƒ 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 - strict syntactical superset of JavaScript.
  • glMatrix - Javascript Matrix and Vector library.
  • WebGL - JavaScript API for rendering interactive 3D graphics.
  • NodeJs - Server Environment

๐ŸŽฅ Demo

GIFDemo

๐Ÿ“ท Screenshots

ImageDemo1 ImageDemo4 ImageDemo5 ImageDemo6 ImageDemo2 ImageDemo3

spacetrippers's People

Contributors

abdallahhemdan avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kubanameste

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.