Skip to content

BlackHarpy/phaser-first

Repository files navigation

Phaser First Game

Breakout game made with Phaser using Typescript.

Requirements

This was made using Node v8.9.1.

Running the Project

First, install dependencies

$ npm install

The server runs in Typescript using ts-node with no need of compiling first (only the game script gets built so it can be added to the HTML file). After that you can run the app in http://localhost:3000/

$ npm run serve

To only build the game app script

$ npm run build

And to run a simple test for serving the index file

$ npm run test

Acknowledgments

The code for this project is based on the book Developing an HTML5 Brick-breaker Game With Phaser by Jorge Palacios

Checkout the repository for information about assets.