Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/timruddell/2d-platformer
- Owner: timruddell
- License: mit
- Created: 2016-12-02T06:27:15.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2022-08-05T23:55:47.000Z (over 2 years ago)
- Last Synced: 2024-08-01T12:21:57.143Z (3 months ago)
- Language: TypeScript
- Size: 19.5 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.