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 868 public repositories matching this topic...
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
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 run "npm run deploy". After the build dir created in root dir, the error occured.
- 0 info it worked if it ends with ok
- 1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
- 1 verbose cli 'C:\Users\admin\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
- 1 verbose cli 'run',
- 1 verbose cli 'deploy' ]
- 2 info using npm@6.4.0
- 3 info using node@v8.11.
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
The correct plugin configuration seems to be the one used in the index.html file. Something like this should appear on the main page for the example to work correctly:
plugins: {
scene: [
{
key: "DragonBones",
plugin: dragonBones.phaser.plugin.DragonBonesScenePlugin,
mapping: "
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
Multiplayer game engine/framework built using SocketCluster and Phaser
-
Updated
Jan 25, 2020 - JavaScript
Project to get you started with your Phaser-CE (using the npm module) game using Typescript and Webpack for building! No hassle asset management, Google Web Font loader, live server, development vs distribution build pipeline, Electron packaging for desktop builds, and more...
-
Updated
Jan 11, 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?
It would be useful if the slider handles were able to have defined snap points along the slider lines.
Is this already possible somehow or would it require some changes to the underlying Slider element?
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
State transition plugin for Phaser.js
-
Updated
Jan 2, 2020 - JavaScript
Build awesome 2D games with Phaser.js and Expo
-
Updated
Jan 20, 2020 - JavaScript
Learn how to make Slither.io with JavaScript and Phaser! This game clones all the core features of Slither.io, including mouse-following controls, snake collisions, food, snake growth, eyes, and more. Progress through each part of the source code with our Slither.io tutorial series.
-
Updated
Jan 24, 2020 - JavaScript
A plugin for path-finding in JS using navmeshes, with wrappers for Phaser 3 and Phaser 2
-
Updated
Jan 17, 2020 - JavaScript
:video_game: Game collections made by Phaser
-
Updated
Jan 6, 2020 - JavaScript
An HTML5 game 'Catch The Cat' powered by Phaser 3
-
Updated
Jan 17, 2020 - TypeScript
Create a wiki page that lists all the tile slope types and how to create your own mappings for custom tile sets.
Kinetic Scrolling plugin for Canvas using Phaser Framework
-
Updated
Dec 29, 2019 - JavaScript
-
Add examples to readme
-
They're now Containers/Groups with a Sprite and Text inside, not a Sprite with text as a child. Setting text is a separate function call, etc
Created by Richard Davey
Latest release 12 days ago
- Repository
- photonstorm/phaser
- Website
- phaser.io
Related Topics
game typescript
The Gems
Solve puzzles, fight enemies, overcome leaps and bounds to help solve a very important mission in this point-and-click / action adventure game. Awarded 1st place in Audio category.
Version
Description
Tilemap .filterObjects and .findObject both return GameObject but ObjectLayer objects is of type Array.<Phaser.Types.Tilemaps.TiledObject>
All Tilemap classes "properties" except the Tile class return "object" when it propably should be of type Array.<Phaser.Types.Tilemaps.TiledProperty>.
I propose adding the Phaser.Types.Tilemaps.TiledPro