I am making a bowling game and most of the time when you toss the ball in to the pins the entire project freezes up. However the project works fine when played from the scratch program. I cannot find what is causing the problem. Any help would be appreciated.
The buggy project ----> http://scratch.mit.edu/projects/archmage/101881
I just tried another way for the pins to detect collisions with other pins and it still freezes. http://scratch.mit.edu/projects/archmage/103108
Last edited by archmage (2008-02-20 23:06:08)
Offline
After several edits, something that I've done is letting the project run! (It's a bouncing ball with no user input.) I have noticed that an odd bounce shows up occasionally; I wonder if the Java version has a problem with angles (perhaps a trig function is "blowing up") that doesn't happen in the Scratch environment?
Offline
On the web it is working perfect for me. Just your computer probably. It works fine.
Offline
Lucario621 wrote:
On the web it is working perfect for me. Just your computer probably. It works fine.
I changed it so that the pins don't check for other pins. They just check for the colour red on the other pins. When I tried to make the pins detect the other pins it would freeze.
Offline
Maybe, its because you over-programmed the limit on scratch!
Offline
Heybrian wrote:
Maybe, its because you over-programmed the limit on scratch!
But it worked when I played it on the scratch program. There is probally a bug in the java scratch player.
Offline
I tried it on several computers with the same result. You probably only played the project that uses colour sensing instead of collision testing for all the pins.
Offline
Not related to this project, but projects which have a "change mosaic by x" block inside an infinite forever loop appear to cause IE to totally lock up.
Offline
No archmage, I just tried the bowling you have right now. On February 26th, 2008 at 3:07 PM(EST)
Last edited by Lucario621 (2008-02-26 15:05:34)
Offline
Lucario621 wrote:
No archmage, I just tried the bowling you have right now. On February 26th, 2008 at 3:07 PM(EST)
The bowling I have on right now is FIXED. I updated it a while ago.
I reuploaded the broken version, try it out. http://scratch.mit.edu/projects/archmage/107609
Offline