Discuss Scratch

Dylanica
Scratcher
54 posts

Pause script not working

In my project There is some strange behavior And i don't quite know weather to put this in bugs or help with scripts. But if you go into the map sprite there is some code that to me should change the pause variable but now matter how many times i click space it remains unchanged. Please help
drmcw
Scratcher
1000+ posts

Pause script not working

I you read your script then; if pause equals 1 then set pause to 0 followed by if pause = 0 set pause to 1. Can you see that pause will be stuck on 1. The first if block should be an if else block.
Dylanica
Scratcher
54 posts

Pause script not working

drmcw wrote:

I you read your script then; if pause equals 1 then set pause to 0 followed by if pause = 0 set pause to 1. Can you see that pause will be stuck on 1. The first if block should be an if else block.
Oh My goodness i am such an idiot thanks much.

Powered by DjangoBB