Hello, scratchers!
I am working on a project called Red Aura. I have worked on it a long time, so I think it's time to share it. But there's the problem: It works good offline,but it doesn't work online!!! Every time I have shared it, and I want to try it, the game "Freezes". Why?
Can someone help me?
Offline
Wolfclaw13 wrote:
Hello, scratchers!
I am working on a project called Red Aura. I have worked on it a long time, so I think it's time to share it. But there's the problem: It works good offline,but it doesn't work online!!! Every time I have shared it, and I want to try it, the game "Freezes". Why?
Can someone help me?
There are a couple of things that I have found that will actually freeze the Java player. One is division by zero. Scratch will tolerate it (it puts a red box around the script when it happens but it keeps running) but it will stop the Java player cold. So check your scripts for any place you are doing a division and see if there is a possibility the denominator could be zero at any time in the calculation.
Another thing that will stop the Java player is if you use the Play Sound block with the Random number block used to select the sound to play. Hope that helps.
Offline
Thank you, everyone! My project is now online!
Offline