◀ VibeCruiser

lightshift game

A free asteroids game — play it in your browser, no install. Asteroids clone written in JavaScript. This project was to help teach myself better object-oriented programming structure, game update/draw loops, and general JavaScript. Implemented using the P5.js framework for the event loop and drawing functionality. Overall there is a game object that contains…

by @tyrelh · tyrelh/lightshift-game on GitHubLANG JavaScript★ 2HOSTED ON SUPERFLUX.DEVUPDATED 17 Sep 2018

Vote and save it — continue with GitHub or sign in free

Made this, @tyrelh? 5+ people played it here → or use email

▶ Play full screen ▲ Vote with GitHub ▲ Vote with email

GitHub asks to share your profile and email with us. We never post anything.

Open the live demo Source on GitHub

From the README

This project was to help teach myself better object-oriented programming structure, game update/draw loops, and general JavaScript.

Implemented using the P5.js framework for the event loop and drawing functionality.

Overall there is a game object that contains many layers of the game for title screen, end screen, and game functionality. Each game layer contains objects associated with its purpose.

Any feedback or comments are welcome! This is very much at a version 0.5 state.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

More asteroids games →

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →