Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barrybecker4/totemdestroyer
Example phaser and planck.js game
https://github.com/barrybecker4/totemdestroyer
Last synced: about 1 month ago
JSON representation
Example phaser and planck.js game
- Host: GitHub
- URL: https://github.com/barrybecker4/totemdestroyer
- Owner: barrybecker4
- Created: 2021-05-01T14:34:27.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T12:34:20.000Z (over 3 years ago)
- Last Synced: 2024-11-02T05:41:51.287Z (3 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Totem Destroyer
Re-creation of the old Flash based Totem Destroyer game in javascript using [Phaser](https://phaser.io/) and [Planck](https://github.com/shakiba/planck.js/). This project is derived from [Emanuele Feronato's blog post](https://www.emanueleferonato.com/2021/03/13/build-a-html5-game-like-old-flash-glory-totem-destroyer-using-phaser-and-planck-js-physics-engine/).'
## Develop
Npm is used to manage the dependencies. Run `npm ci`, then open index.html in your favorite browser.
If you want to create your own levels you can use [Tiled](https://www.mapeditor.org/). Hold control key when creating block so vertices snap to grid. Create new tile map, create new object layer, and then insert rectangles where desired, with a totem on top. Export as json when done and clean it up a bit.