Hey, me again. Now, I know what you're thinking; 'if a sprite is annoying, what's the point of making it in the first place?!'. So I'll explain it with an example of mine.
I'm currently working on a Scratch Project (it's become a bit of a hobby for me now), and occasionally I'll experience problems with Sprites and variables and they somehow end up getting in the way of everything else. This usually causes the game to stop because of things in the scripting. I've carefully gone through each and every component of every sprite script and have eliminated scripts and modified them in order to make it better, but there still seems to be the odd mishap.
Which leads me to the question I wanted to ask in the beginning: Is there a way to completely STOP a sprite, rather than fiddle and fuss about with a bunch of scripts?
I know this same question I'm asking now might have been asked by many before, but I'd appreciate any answer!
Thanks Scratch-users!
Offline
Hm... You mean stopping a single sprite?
Maybe you can replace every 'forever' block with this:
repeat until <(command) = (1)> your command end stop scriptWhen starting the project, set the (command) variable to 0, and when you want to end the script, change it to 1.
Last edited by BLU_Spy (2013-01-23 05:12:57)
Offline
You'll have to "fiddle and fuss about with a bunch of scripts", stopping every single script when a variable is true, or something - no other way.
Offline
Thanks guys, I appreciate your help. BLU_Spy, your method proved very effective, thank you very much for your reply.
Offline