example/index.ts
Function create
has 113 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function create() {
console.log("create");
// We specify the x and y position, the width and height and the key for the image of the image.
// It will be automatically scaled!
const metalPanel = this.add.ninePatch(200, 200, 300, 300, "metalPanel_blueCorner", null, {