根据官方文档的目录整理,重新分组、排序。
这些事件都是字符串常量,其值通常是其名称去除下划线并全部小写的结果。
为方便可用字符串,而为稳健兼容则使用系统定义的常量。
比如Phaser.Animations.Events.ANIMATION_COMPLETE === 'animationcomplete'
。
但是Phaser.Animations.Events.ADD_ANIMATION === 'add'
。
- Phaser.Animations.Events. 动画事件
- Phaser.Cache.Events. 缓存事件
- Phaser.Cameras.Scene2D.Events.
- Phaser.Core.Events. 内核事件
- Phaser.Data.Events.
- Phaser.GameObjects.Events.
- Phaser.Input.Events.
输入事件
- BOOT
- DESTROY
- DRAG
- DRAG_END
- DRAG_ENTER
- DRAG_LEAVE
- DRAG_OVER
- DRAG_START
- DROP
- GAME_OUT
- GAME_OVER
- GAMEOBJECT_DOWN
- GAMEOBJECT_DRAG
- GAMEOBJECT_DRAG_END
- GAMEOBJECT_DRAG_ENTER
- GAMEOBJECT_DRAG_LEAVE
- GAMEOBJECT_DRAG_OVER
- GAMEOBJECT_DRAG_START
- GAMEOBJECT_DROP
- GAMEOBJECT_MOVE
- GAMEOBJECT_OUT
- GAMEOBJECT_OVER
- GAMEOBJECT_POINTER_DOWN
- GAMEOBJECT_POINTER_MOVE
- GAMEOBJECT_POINTER_OUT
- GAMEOBJECT_POINTER_OVER
- GAMEOBJECT_POINTER_UP
- GAMEOBJECT_POINTER_WHEEL
- GAMEOBJECT_UP
- GAMEOBJECT_WHEEL
- MANAGER_BOOT
- MANAGER_PROCESS
- MANAGER_UPDATE
- POINTER_DOWN
- POINTER_DOWN_OUTSIDE
- POINTER_MOVE
- POINTER_OUT
- POINTER_OVER
- POINTER_UP
- POINTER_UP_OUTSIDE
- POINTER_WHEEL
- POINTERLOCK_CHANGE
- PRE_UPDATE
- SHUTDOWN
- START
- UPDATE
- Phaser.Input.Gamepad.Events. 游戏手柄事件
- Phaser.Input.Keyboard.Events. 键盘事件
- Phaser.Loader.Events. 资源加载事件
- Phaser.Physics.Arcade.Events. Arcade物理系统事件
- Phaser.Physics.Matter.Events. Matter物理系统事件
- Phaser.Renderer.Events. 渲染事件
- Phaser.Renderer.WebGL.Pipelines.Events. WebGL渲染管道事件
- Phaser.Scale.Events. 游戏缩放事件
- Phaser.Scenes.Events. 场景事件
- Phaser.Sound.Events. 声音事件
- Phaser.Structs.Events.
- Phaser.Textures.Events. 纹理事件
- Phaser.Tweens.Events. 补间事件
- SpinePluginEvents. Spine插件事件