Phaser
Phaser is a fast, free, and fun open source HTML5 game framework. It uses a custom build of Pixi.js for WebGL and Canvas rendering, and supports desktop and mobile web browsers. Games can be compiled to iOS, Android and native desktop apps via third party tools. You can use JavaScript or TypeScript for development.
Here are 920 public repositories matching this topic...
-
Updated
Jan 27, 2020 - JavaScript
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).
a step-by-step guide
Hi, it is a nice work to learning machine learning and I like it very much. I am new to HTML and JS, can you give a step-by-step guide to install, train and play this game?
I was having trouble getting a body to collide with the world, and I finally realized that the collision only worked if I called updateCollisionMask() on the body. Right now this is only called by Phaser when you toggle the value of collideWorldBounds, so maybe the fix is just calling it at the end of the constructor of the body? I'm not too sure...
There is a demo at https://codepen.io/jav
-
Updated
May 5, 2020 - TypeScript
First of all, thank you very much for the coolest animation tool. Thanks to you, a huge number of people have the opportunity to animate.
I have a few comments for you.
1. Examples in ES6
It will be great if you provide examples not only in Typescript, but also in ES6. Typescript is very popular, but Vanilla JS is much more popular. Therefore, it is more reasonable maintain pur
I've seen plenty of folks use alternatives to SASS.
Such as:
- LESS http://lesscss.org/
- Stylus http://stylus-lang.com/
- PostCSS http://postcss.org/
So it might be nice to have a prompt such as Choose your CSS Preprocessor
Sent from my Pixel 2 using FastHub
-
Updated
Mar 21, 2017 - JavaScript
-
Updated
Mar 16, 2020 - JavaScript
The LoaderPlugin documentation https://photonstorm.github.io/phaser3-docs/Phaser.Loader.LoaderPlugin.html does not give a clue about what the "Animation JSON Data file" is.
Is there an external documentation for this file format?
-
Updated
Jan 1, 2020 - JavaScript
-
Updated
Apr 3, 2020 - JavaScript
-
Updated
Apr 16, 2020 - JavaScript
-
Updated
Aug 9, 2018 - JavaScript
If I follow the documentation and enter something like the following code
this.pointInput = game.add.inputField(300, 300, {
type: 'text',
forceCase: 'upper',
max: '6',
});It doesn't force the upper case and it also doesn't limit the length of entered text to 6 charactes as expected. In order to let forceCase work, you need to enter forceCase: 2.
the max property w
-
Updated
Feb 27, 2019 - TypeScript
-
Updated
Jan 2, 2020 - JavaScript
Please let me know if this should be posted in the Expo forums instead of here. When following the basic example in the README I get the following error
TypeError: Cannot assign to read only property 'readyState' of object '#'
Module.game
node_modules/expo-phaser/lib/game.js:12
9 | onRender,
10 | }): Phaser.Game {
11 | global.__context = context;
> 12 |
-
Updated
May 18, 2020 - JavaScript
-
Updated
Mar 11, 2020 - JavaScript
Multiplayer
I followed your tutorial. It would be nice to make a multiplayer tutorial so we can expand this game to the next level.
Your assistance is much appreciated.
-
Updated
Dec 18, 2018 - JavaScript
-
Updated
Jun 1, 2020 - JavaScript
Create a wiki page that lists all the tile slope types and how to create your own mappings for custom tile sets.
-
Updated
Dec 7, 2019 - JavaScript
Created by Richard Davey
Latest release about 1 month ago
- Repository
- photonstorm/phaser
- Website
- phaser.io
Version
Last doc
Description
The documentation doesn't provide the good description for
gameobject.body.drag.URL: https://photonstorm.github.io/phaser3-docs/Phaser.Physics.Arcade.Body.html#useDamping__anchor
Example Test Code
Additional Infor