Hi, sorry to bother. I wanted to ask a question.
While using this script:
If i show a picture the game then can't save anymore and it deletes the files if you try to save again. I'm trying to figure out why, hope someone can help.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Make sure the picture is still not in memory when you try to save. If it is, the game will usually fail to save, and do exactly what you just described. That may require resetting the variable to 0 once you are done with using it to show a picture.
Ok, thanks a lot. I used this to have a png image always on the screen, but i guess i can't do that with this script. Sorry for posting in the wrong forum.
So... i need to use another script or make the game reset the variable to 0 when i open the menu...? Is it possible?
That script actually saves sprites and bitmaps into $game_system, which is saved with the save file, and that is a disaster code-wise and gameplay-wise as well.
Because the save file can not contain sprites/bitmaps, the save fails, and the save file will be deleted (because it is corrupted already and not usable).
I suggest you search for another script instead.