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

#1 2008-12-14 10:32:40

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Why does the script die?

please look at this projects script by downloading it and then try to tell me why the script "dies"           http://scratch.mit.edu/projects/bosox397/263794


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#2 2008-12-14 10:52:17

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Why does the script die?

I notice you have a Pick Random -30 to 29 in the denomoninator of a division operation.  At some point, it is going to pick a zero value which is going to cause division by zero.  That will stop the Java player cold.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-12-14 11:03:02

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: Why does the script die?

oh. thank you again  smile   smile   smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

Board footer