From fb00f9faca7276cad063ea5143ebdcfc2802edc4 Mon Sep 17 00:00:00 2001 From: Yash Mittal Date: Wed, 17 Jan 2024 02:24:21 +0530 Subject: [PATCH] incresed the iterator in the loop so that all the images could be load --- public/src/actions/align to base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/actions/align to base.js b/public/src/actions/align to base.js index 03ab92d7a..d41cbbccc 100644 --- a/public/src/actions/align to base.js +++ b/public/src/actions/align to base.js @@ -32,7 +32,7 @@ class Example extends Phaser.Scene const sprites = []; - for (let i = 1; i < 15; i++) + for (let i = 1; i < 16; i++) { sprites.push(this.add.sprite(150, 493, `image${i}`)); }