Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/timruddell/2d-platformer

A simple browser-based 2d platform game template using three-js and matter-js
https://github.com/timruddell/2d-platformer

Last synced: 10 days ago
JSON representation

A simple browser-based 2d platform game template using three-js and matter-js

Awesome Lists containing this project

README

        

# Platformer (2D)
A simple browser-based 2d platformer game template using the three-js rendering framework, and the matter-js physics body system.

![Example game scene](http://i.imgur.com/ZVTOuW9.png)

# Running the solution

Install the node dependencies with npm:

`npm install`

Prepare the static client directory by copying the appropriate dependencies:

`npm run prep:static`

Serve the static resources at `localhost:1337`, and the webpack js bundle transpiled from the `src` directory at `localhost:1338`:

`npm run serve`

# Assets
The `.ase` image files in the root level `assets` directory can be edited in [Aseprite](https://www.aseprite.org/). Changes to the images should be published to the client static `img` directory.