This is a demo Phaser Editor 2D project to show how to create buttons with different behaviors. The behaviors are coded as User Components so no-coding level designers can create the scenes with the drag-and-drop Scene Editor.
Just clone this repo in the Phaser Editor 2D workspace, and open it.
If you find any problem or suggestion, please open an issue in this project.
Compatible with Phaser Editor 2D v3.7.0.
-
Does not load the
GameSounds.js
andEventComponent.js
in theindex.html
file. Now they are loaded in the Asset Pack file using the new Scripts file type. -
Changes user components properties:
- The Checkbox component uses a Texture Config type.
- Rename the property uncheckedTextureFrame to uncheckedTexture. And other similar names.
- The StartSceneOnClick uses an Asset Key type.
Compatible with Phaser Editor 2D v3.6.0.
- First upload.