examples
examples copied to clipboard
Phaser 3 Examples
Make it interactive by allowing mouse click to move target. This expands the example by also showing how to change the moveTo-position at runtime, so it can follow the mouse...
Transition mask with a shape like in New Super Mario Bros. Copied from my code example here https://phaser.discourse.group/t/use-camera-mask-as-transition-at-start-of-scene/3571
As example.json contained `\\` instead of `/`, examples with multiple files (e.g. http://labs.phaser.io/index.html?dir=scenes/cross%20scene/&q=) could not be loaded (except locally on Windows). Nota bene: there are a few examples where the...
The example repo, when cloned into the server folder of nginx, fails to work via localhost on Ubuntu/Linux. For instance, going to http://localhost/phaser3-examples/public/boot.html?src=src\camera\multi%20camera\boot.json attempts to access http://localhost/phaser3-examples/public/Controller.js?_=1597765543353 instead of http://localhost/phaser3-examples/public/src/camera/multi%20camera/Controller.js?_=1597765624222...
Add output from `npm run plugin.spine.full.dist` in phaser repo which copies into this repo Ref this issue: https://github.com/photonstorm/phaser/issues/5118 (files were edited and included in Phaser 3.23 but spine plugin was...
In the current example turning does not work. By changing 'car.body.angle' to 'car.rotation' the car turns as expected. This works because car.body.angle does not return a radian as expected by...
Add example with custom polygon shape
https://github.com/phaserjs/phaser/issues/6880