Skip to content
The Way is shaped by use, But then the shape is lost.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pub
scratch
src
webpack
.gitignore
LICENSE
README.md
package-lock.json
package.json
webpack.config.js

README.md

ponturion

The Way is shaped by use, But then the shape is lost.

  • Tao Te Ching

This is a procedural generation demo for generating an infinite (platformer) map with javascript.

It is uses web workers to generate the maps in a seperate thread.

The important files to study are:

pub/mapflow.js // the web worker

src/plugins/MapFlow.js // a phaser plugin to connect the web worker

src/scenes/Level.js // the phaser scene

Play the demo: https://quinten.github.io/ponturion/

You can’t perform that action at this time.