返回 Skill 列表
extension
分类: 开发与工程无需 API Key

phaser

用于网页游戏、街机物理效果和网络部署的Phaser.js 2D游戏开发技能。

person作者: jakexiaohubgithub

Phaser Skill

Phaser.js 2D game development for web.

Overview

This skill provides capabilities for creating 2D web games using Phaser.js.

Capabilities

  • Configure game scenes
  • Implement arcade physics
  • Handle sprites and animations
  • Set up input systems
  • Deploy to web

Usage Patterns

class GameScene extends Phaser.Scene {
    preload() {
        this.load.image('player', 'assets/player.png');
    }
    create() {
        this.player = this.physics.add.sprite(100, 100, 'player');
    }
}

References