Screenshot saving - problems with tutorial

Started by Nexic, Wed 23/02/2005 09:09:40

Previous topic - Next topic

Nexic

I've been following a tutorial by someone on the boards. It was part of the AGS Ezine, the tutorial can be found here.

However after following the tutorial to the letter, and copying an pasting all the code I cannot get it to work. I keep gettings an error with DeleteSprite, in the function sgs_close() (DeleteSprite: Attempted to delete static sprite that was not loaded by script). The only thing I changed was the sprite number to be used as a blank save slot. The sprite is certainly in the project, and the number is correct.

Has anyone else followed this tutorial and got passed this problem? Does anyone have any idea how I could fix this?

I did email the author of the tutorial but I haven't yet had a reply and I'm kind of in a hurry to get this sorted.

SSH

Sorry that I haven't got back to you yet, but I'm desperately trying to finish my MAGS game by the end of Friday. I'll see if I can have a look at the tutorial code, as I've modified my own version of that stuff a lot since then.
12

Nexic

Actually, you tutorial works fine. The problem was I hadn't turned on the option to save screenshots!

Perhaps you should mention it as the start of the tutorial?

Sam.

he does, it happened to me, but i forgot to do it! just reread it carefully! i made the exact same mistake.
Bye bye thankyou I love you.

SSH

Maybe I can add something that will check for this, and also handle savegames without screenshots better...

but glad you got it sorted and that my tutorial is ok
12

SMF spam blocked by CleanTalk