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

https://github.com/geocine/phaser3-platformer-basic

Phaser 3 Platformer Basic
https://github.com/geocine/phaser3-platformer-basic

hacktoberfest

Last synced: 3 months ago
JSON representation

Phaser 3 Platformer Basic

Awesome Lists containing this project

README

          

# Phaser 3 Platformer Basic

This is a game built with Phaser 3, [TypeScript](https://www.typescriptlang.org/), [Rollup](https://rollupjs.org) for bundling and [nollup](https://github.com/PepsRyuu/nollup) as development server.

## Available Commands

| Command | Description |
|---------|-------------|
| `yarn install` | Install project dependencies |
| `yarn dev` | Builds project and open web server, watching for changes |
| `yarn build` | Builds code bundle with production settings (minification, no source maps, etc..) |
| `yarn start` | Run a web server to serve built code bundle |

## Development

After cloning the repo, run `yarn install` from your project directory. Then, you can start the local development
server by running `yarn dev`.

After starting the development server with `yarn dev`, you can edit any files in the `src` folder
and [nollup](https://github.com/PepsRyuu/nollup) will automatically recompile and reload your browser (available at `http://localhost:8080`
by default).

## Production

After running `yarn build`, the files you need for production will be on the `dist` folder. To test code on your `dist` folder, run `yarn start` and navigate to `http://localhost:5000`