Create spritesheet from a part of a big spritesheet?

Hi !

Is there a way to create a spritesheet with an existing spritsheet part ?

Exemple :

this.load.spritesheet('tiles', 'assets/tilemap/0x72_DungeonTilesetII_v1.3.png', { frameWidth: 16, frameHeight: 16 });

This spritesheet contain all my tiles for create my level, but alson my player spritesheet, items sprites et spritesheets.

Is it possible to use it to ‘create’ new spreetsheet from it ?

Thank you !!

You can select frames with the startFrame and endFrame config properties.

1 Like