phaser-ce-examples
phaser-ce-examples copied to clipboard
Contains hundreds of source code examples and related media for the Phaser HTML5 Game Framework.
When googling something for Phaser 3 we get many links to Phaser 2 examples (half or more). Please, try to add special tags to the site to skip indexing text...
The load spritesheet expects {frameWidth: x, frameHeight: y}. The line in question uses the Phaser 2 format. I think it might not work. > TextureManager.SpriteSheet: Invalid frameWidth given. https://github.com/photonstorm/phaser-examples/blob/921295a5d7316e7f860a466644948f2eb32cf640/examples/phaser3/075%20blitter%20tilemap.js#L7
Cloned the repo locally Ran cmd npm install. Ran cmd npm start Browser opens to url 127.0.0.1:8081 With error message This page isn't working 127.0.0.1 sent a invalid response ERR_INVALID_REDIRECT
[Flow](https://photonstorm.github.io/phaser-ce/Phaser.Particles.Arcade.Emitter.html#flow) and [explode](https://photonstorm.github.io/phaser-ce/Phaser.Particles.Arcade.Emitter.html#explode) are simpler but beginners often don't know about them.
Go back
Confusing API and example http://labs.phaser.io/edit.html?src=src/paths/curves/cubic%20bezier%20bounds.js // Draw t curve.getPoint(path.t, path.vec); graphics.fillStyle(0xffff00, 1); graphics.fillCircle(path.vec.x, path.vec.y, 16); Took me a while to understand that `getPoint` actually changes the path. Why you don't...
> Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user gesture. Probably should use `game.input.onUp` instead (photonstorm/phaser-ce#27).