This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-08-23 20:50:45

Goldyfur
New Scratcher
Registered: 2010-08-22
Posts: 2

Randomly stop working

Previously working programming will randomly cease to work. Then later will work... why?

Offline

 

#2 2010-08-23 21:14:19

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Randomly stop working

Maybe certain parameters or conditions in your project (think variables, sprite positioning, etc) aren't resetting properly, causing the coding to not work sometimes? Try making sure everything resets completely when the green-flag scripts are run.  smile


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2010-08-23 21:24:25

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Randomly stop working

To add to that, sometimes you have to add a wait to the beginning to your green flag scripts, because sometimes when you have too many of them, a list might not initialize before a script that needs it runs.

Last edited by ScratchReallyROCKS (2010-08-23 21:24:39)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#4 2010-08-23 21:37:45

Goldyfur
New Scratcher
Registered: 2010-08-22
Posts: 2

Re: Randomly stop working

see, what is not working are the portals. I have checked and everything completely resets when the green flag is clicked. The broken portal codes are exactly the same as the working ones too...

Offline

 

#5 2010-08-24 09:29:54

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Randomly stop working

Do you have the project uploaded so we can see the problem more clearly? We promise we won't copy.  big_smile


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer