An "infinite" wave example in Phaser.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.md
README.md
boat.png
boat.pyxel
example.gif
index.html
phaser.2.6.2.js
sky.png
sky.pyxel
sunset-palette.png
sunset-palette.pyxel
wave.js
wave.png
wave.pyxel

README.md

Phaser.js endless wave example

example

Demo

cfurrow.github.io/phaser-wave-example/

How to run

  1. Clone/download this repository
  2. npm install -g http-server if you have not already
  3. http-server -p 5000
  4. Open your browser to localhost:5000

Keyboard Shortcuts

  • Press 'Spacebar' to show the physics bodies
  • Press 'D' to show the wave position info and FPS