• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Sprite_Save seems to do nothing

GML:
sprite_save(Sprite1, 0, working_directory+"smile.png");
GML:
sprite_save(Sprite1, 0, "smile.png");
No matter what version of the code I use it doesn't generate the image file, nor does it throw an error. It just does nothing.
 
That was 100% it, this works

GML:
smile = sprite_duplicate(Sprite1)
sprite_save(smile, 0, working_directory+"smile.png");
sprite_delete(smile)


You'd think an entirely new version of the program with several major updates later they'd either fix it to work with a pre-existing sprite or clearly document that it only works with dynamically created temporary assets
 

TsukaYuriko

☄️
Forum Staff
Moderator
I'd think that those who have encountered and dealt with this issue would then have gone (or will go) ahead and file a bug report so that the technical writer will become aware of and add the missing documentation in future releases... wink wink. ;)
 
Top