Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/benjaminboruff/blasteroids

An Asteroids type game written in ES2015 using the Phaser framework
https://github.com/benjaminboruff/blasteroids

asteroids blasteroids game phaserjs

Last synced: about 1 month ago
JSON representation

An Asteroids type game written in ES2015 using the Phaser framework

Awesome Lists containing this project

README

        

# [Blasteroids!](http://blasteroids.boruff.me)
#### An ES2015/Phaser game a la Asteroids

# Setup
You need to follow steps 1-4 before you have a working copy of the project.

## 1. Clone this repo:

Navigate into your workspace directory.

Run:

```
git clone [email protected]:benjaminboruff/blasteroids.git
```

## 2. Install node.js :

https://nodejs.org/en/

## 3. Install yarn :

https://yarnpkg.com/

## 4. Install dependencies :

Navigate to the cloned repo’s directory.

Run:

```
yarn
```

## 5. Run the development server:

Run:

```
yarn dev
```

This will run a server so you can run the game in a browser.

Open your browser and enter localhost:3000 into the address bar.

Also this will start a watch process, so you can change the source and the process will recompile and refresh the browser

## 6. Build for deployment:

Run:

```
yarn build
```

This will optimize and minimize the compiled bundle.

## Credits
Big thanks to these great repos:

https://github.com/lean/phaser-es6-webpack

https://github.com/belohlavek/phaser-es6-boilerplate

https://github.com/cstuncsik/phaser-es6-demo