-
Setting Up
-
Making The Block
-
The Grid
-
Map Grid
-
Grid Logic
-
Effects & UI
Load the Spritesheet
Right-click and save image to your images folder
Load Spritesheet snippet
this.load.spritesheet('char', 'images/mainChar.png', { frameWidth: 128, frameHeight: 128 });
block sprite sheet code
this.load.spritesheet('blocks', this.common+'images/blocks.png', { frameWidth: 115, frameHeight: 115 });
Prev
Setting Up
Next
Block Class