Hi there
I want create a dynamically spritesheet, this is my current code.
this.textures.addSpriteSheet(‘puzzle_image’, this.textures.get(‘image’+selected_image).getSourceImage(), {frameWidth: frame_size, frameHeight: frame_size});
It’s working, but i cant create a add texture again, since it’s sprite key are already exist.
I know i can just create a unique sprite key, but i think it’s will be bad.
Is there any way to unlink a source of a spritesheet by a key name ? or just update it with a new data ?
Thanks