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

#1 2007-06-26 22:04:51

Chefdude548
Scratcher
Registered: 2007-06-07
Posts: 2

Scratch randomly stops

In a game I am making, scratch just stops in the middle of one of the scripts.  I am not sure what is wrong, and I cannot see any bugs in my game myself, so I am fairly sure that I have too many actions listed.  Is anyone else experiencing that problem?


~Chef

Offline

 

#2 2007-06-27 09:24:30

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Scratch randomly stops

Hi, Chef.

This is a guess, since I don't know what your scripts look like...

If the script is started by a broadcast, it could be getting a second broadcast before it has finised responding to the first. In this case, it stops what it is doing and starts over. This can happen if the "broadcast" is in a loop.

If this is happening, you might consider starting the script using "broadcast and wait" to be sure that it completes before you start it again.

  -- John

Last edited by johnm (2007-06-27 09:25:49)

Offline

 

Board footer