Paddle2See wrote:
Also, make sure that when the Green Flag is clicked, the project is initializing properly. That means that all the variables are set to the right starting values, all the sprites are put in the right starting place and so on. Any Forever loops that are checking for a certain variable value should have a short Wait ahead of them to make sure that the variable has time to get set to the right starting value before the Forever loop starts checking it.
That was very helpful!
Random Terrain Generator
Bugs fixed.
Last edited by tom3_code (2010-07-17 14:52:35)
Offline
coolstuff wrote:
AddZero informed me of something that doesn't work online but does offline that maybe you might also want to add to your list: if you try accessing a list item that doesn't exist, the project fails online, but doesn't offline - which can be a pretty common problem in a number of projects.
Also, although this isn't directly related because it's sort of inverse to this topic, errors you get when trying to do things that are impossible such as dividing by zero doesn't stop the script online.
*Ahem* may I remind you of this difference?
Offline
ummm sorry if this is spamming but why in my project advancedcombat v1 you fall through the ground online (the sensing works offline)
Last edited by cruelty247 (2010-07-26 04:52:29)
Offline
cruelty247 wrote:
ummm sorry if this is spamming but why in my project advancedcombat v1 you fall through the ground online (the sensing works offline)
I would try increasing the thickness of the purple line that you are using for a bottom touching sensor. You currently have it a single pixel wide and then the costume is reduced to 55%...it could be that the online player is rounding that off to zero pixels for the display. Try doubling the thickness and see if that helps.
Offline
thanks
Offline
i haven't seen if this has already been said here, but i heard that play sound pick random 1 to 2 doesn't work online.
Offline
kcdscratch wrote:
i haven't seen if this has already been said here, but i heard that play sound pick random 1 to 2 doesn't work online.
I've heard that too...
Better not use it then.
Offline
kcdscratch wrote:
i haven't seen if this has already been said here, but i heard that play sound pick random 1 to 2 doesn't work online.
Yes, and something similar with lists, too, correct? I'm not entirely sure, but there's definitely something with the "pick random 1 to 2" block.
Offline
The boundries are also different
Last edited by karatekid1998 (2010-08-08 12:58:08)
Offline
Something really weird happened when I uploaded my projects. Every time I uploaded one, it came with an error message saying that it had failed. I tried twice with some of my projects and the message didn't pop up. Here's the weird thing: The ones that had an error worked online, and the ones without the error didn't work online. Think you can explain that for me?
Offline
strascle wrote:
i ve a question im also new here and i just uploaded to projects but they are soo much too bright, what did i make wrong pls answer
mfg leon
Hey strascle, Scratch typically compresses projects when being uploaded, so it could be that the colors are being affected due to compression; you can try unchecking the compression block before uploading and see if that makes a difference.
Likewise, maybe the bright colors might be due to your browser settings. You can try searching up on how to change the color settings of your web browser.
Offline
I've had a problem (and Paddle helped me- thanks!) with using the less than and greater than blocks with values imputed with "ask." Offline, it works fine, but online, it doesn't recognize the values as number, so it doesn't work. The fix is easy- just perform a math operation on the value before using it in the () < () or () > (). Make it something that makes the answer be the same as the value, like adding zero or multiplying by one.
Last edited by scmb1 (2010-09-18 12:10:47)
Offline
because it has too much error online
Offline
johndo77 wrote:
Another thing that is different is this: If you make a white circle, there will be a faint grey outline around the edges.
Only if it is rotated a bit, I believe. But perhaps I'm wrong. I've always thought this was caused by poor antialiasing...
Offline
Hey everybody, I am working on a project wright now and I have some problems with it.
First, when I try my game on the scratch program, everything is working perfectly, the volume and sound modifications work, my variable are at the good places, etc...
But when I post the game on the site, The variables are placed at the wrong places, the volume and sond doesn't work etc...
If somebody have a response to my problems, it will be very nice to help me,
By the way, if you want to see my project, download it and view the errors, here's the link : http://scratch.mit.edu/users/Termeleon.
It is The StarCraft Emulator.
I wait for your response.
Termeleon.
Offline
Termeleon wrote:
Hey everybody, I am working on a project wright now and I have some problems with it.
First, when I try my game on the scratch program, everything is working perfectly, the volume and sound modifications work, my variable are at the good places, etc...
But when I post the game on the site, The variables are placed at the wrong places, the volume and sond doesn't work etc...
If somebody have a response to my problems, it will be very nice to help me,
By the way, if you want to see my project, download it and view the errors, here's the link : http://scratch.mit.edu/users/Termeleon.
It is The StarCraft Emulator.
I wait for your response.
Termeleon.
The variables issue I think I know. Are you hiding the variables? There's a problem with hidden variables when you run it on the Java player. The work around is to make sure that the variables are showing when you upload the project. Then, have a green flag script hide them as the game starts. So maybe set up the "S" key to show the variables just before you share the project and then have the When Green Flag clicked scripts set them up the way you want them as the game starts. Hope that helps.
Offline
I think that the online replace block works differently.
Offline
Is it possible to publish a Scratch project to a different website other than scratch.mit.edu?
Offline
carbonindustries wrote:
Is it possible to publish a Scratch project to a different website other than scratch.mit.edu?
Indeed you can. You may be interested in this topic here.
Offline
Thank You!
Offline
Paddle2See wrote:
Here's one that came up again recently...if you use the Pick Random block to choose a sound for the Play Sound block...it will stop the Java Player dead in it's tracks!
*** Update - This is reportedly fixed in version 34 ***
good thing that was fixed- it would kill my Super-Puters. thats how wmp runs. wait-no it doesn't
Last edited by scimonster (2010-11-29 06:54:48)
Offline
coolstuff wrote:
johndo77 wrote:
Another thing that is different is this: If you make a white circle, there will be a faint grey outline around the edges.
Only if it is rotated a bit, I believe. But perhaps I'm wrong. I've always thought this was caused by poor antialiasing...
I think the problem is caused BY antialiasing!
Offline