home/categories/arts-crafts/phaserjs-phaser-skills-graphics-and-shapes-skill-md
arts-craftslifestyle

graphics-and-shapes

Use this skill when drawing shapes and graphics in Phaser 4. Covers the Graphics game object, lines, rectangles, circles, arcs, polygons, gradients, fill, stroke, and generated textures. Triggers on: Graphics, draw shape, fillRect, lineStyle, polygon, arc.

phaserjs
maintainer
phaserjs
更新於 4/10/2026
星標
39335
分支
7130
quick start

Installation and usage

Use this skill when drawing shapes and graphics in Phaser 4. Covers the Graphics game object, lines, rectangles, circles, arcs, polygons, gradients, fill, stroke, and generated textures. Triggers on: Graphics, draw shape, fillRect, lineStyle, polygon, arc.

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use graphics-and-shapes