actions-and-utilities
Installation
SKILL.md
Phaser Actions und Hilfsfunktionen
Verwandte Skills: ../groups-and-containers/SKILL.md, ../sprites-and-images/SKILL.md
Phaser.Actionsbietet Einmal-Operationen auf Arrays von Game Objects.Phaser.Utils.Array,Phaser.Utils.ObjectsundPhaser.Utils.Stringdecken häufige Listen-, Objekt- und String-Aufgaben ab.
Schnellstart
const sprites = [];
for (let index = 0; index < 20; index += 1) {
sprites.push(this.add.sprite(0, 0, "gem"));
}