cd phaser-test
npm install
npm start
cd phaser-test
npm run build
cd ./dist
Due to problems with bundling shaders and requirement of the Phaser3 to get URL as input, we made following workaround:
-
Put your shaders in
public/shaders/
-
In
preload
load shaderthis.load.glsl('fire', "./shaders/sample.frag");
-
In
create
use shaders as game objectsthis.add.shader('fire', 300, 50, 400, 400);
What we need: shader-based effects: explosions, spells, fire, lightnings, portals, acid puddles and more.
Networking demo: https://github.com/ujenjt/aurora-multiplayer Requirements:
- Handle disconnects
- Basic multiplayer mechanics
Extra
- Add snapshot-interpolation (hint: https://github.com/geckosio/snapshot-interpolation)
- PvP Shooter (Slime Rush Scene)
- Generate Map with Proc Gen (Proc Gen Scene)