This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » FAQ
  •  » Why Don't My Projects Work Correctly Online?

#51 2010-07-08 14:41:43

tom3_code
Scratcher
Registered: 2009-10-10
Posts: 16

Re: Why Don't My Projects Work Correctly Online?

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!  big_smile

Random Terrain Generator
Bugs fixed.

Last edited by tom3_code (2010-07-17 14:52:35)

Offline

 

#52 2010-07-13 17:29:03

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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

 

#53 2010-07-26 04:52:11

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

Re: Why Don't My Projects Work Correctly Online?

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

 

#54 2010-07-26 05:22:43

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

Re: Why Don't My Projects Work Correctly Online?

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.


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

Offline

 

#55 2010-07-26 07:29:23

cruelty247
Scratcher
Registered: 2009-07-22
Posts: 100+

Re: Why Don't My Projects Work Correctly Online?

thanks

Offline

 

#56 2010-07-27 15:43:27

kcdscratch
Scratcher
Registered: 2008-09-19
Posts: 34

Re: Why Don't My Projects Work Correctly Online?

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.


http://scratch.mit.edu/projects/kcdscratch/1202796 check out my Sonic Advance 2 game!

Offline

 

#57 2010-07-28 02:31:27

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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...  hmm

Better not use it then.  tongue


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#58 2010-07-28 09:10:09

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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

 

#59 2010-08-08 12:57:52

karatekid1998
Scratcher
Registered: 2009-06-26
Posts: 24

Re: Why Don't My Projects Work Correctly Online?

The boundries are also different  big_smile

Last edited by karatekid1998 (2010-08-08 12:58:08)

Offline

 

#60 2010-08-13 13:01:10

Dan4rescue
New Scratcher
Registered: 2010-08-13
Posts: 3

Re: Why Don't My Projects Work Correctly Online?

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

 

#61 2010-09-07 10:36:21

strascle
New Scratcher
Registered: 2010-09-07
Posts: 2

Re: Why Don't My Projects Work Correctly Online?

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

Offline

 

#62 2010-09-07 15:05:15

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#63 2010-09-18 12:10:33

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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)


http://i48.tinypic.com/2z5pqad.png

Offline

 

#64 2010-09-20 01:04:00

Randomstuff
Scratcher
Registered: 2010-06-27
Posts: 11

Re: Why Don't My Projects Work Correctly Online?

because it has too much error online

Offline

 

#65 2010-10-02 19:38:35

johndo77
Scratcher
Registered: 2010-07-30
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

Another thing that is different is this: If you make a white circle, there will be a faint grey outline around the edges.


Crizapples

Offline

 

#66 2010-10-02 19:44:30

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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

 

#67 2010-10-07 21:39:13

Termeleon
New Scratcher
Registered: 2010-09-13
Posts: 2

Re: Why Don't My Projects Work Correctly Online?

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

 

#68 2010-10-07 22:10:26

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

Re: Why Don't My Projects Work Correctly Online?

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.


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

Offline

 

#69 2010-10-13 19:46:10

yaahoo
Scratcher
Registered: 2009-10-12
Posts: 29

Re: Why Don't My Projects Work Correctly Online?

I think that the online replace block works differently.


http://meowprogramming.weebly.com/uploads/5/0/7/0/5070029/header_images/1282794090.jpgMeow! The next Scratch My old sig: By the way my user-name is supposed to be "Yahoo!" =B
=B =B =B =B =B =B =B =B =B =B =B =B =B =B +B +b =b =B =B =B =B =B =B

Offline

 

#70 2010-10-14 18:45:50

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

yaahoo wrote:

I think that the online replace block works differently.

Does it? I'm not so sure... How would it work differently?

Offline

 

#71 2010-11-08 20:09:43

carbonindustries
New Scratcher
Registered: 2010-11-08
Posts: 2

Re: Why Don't My Projects Work Correctly Online?

Is it possible to publish a Scratch project to a different website other than scratch.mit.edu?

Offline

 

#72 2010-11-08 20:47:26

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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 heresmile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#73 2010-11-08 22:00:18

carbonindustries
New Scratcher
Registered: 2010-11-08
Posts: 2

Re: Why Don't My Projects Work Correctly Online?

Thank You!

Offline

 

#74 2010-11-22 08:53:33

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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

 

#75 2010-11-25 21:37:23

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Why Don't My Projects Work Correctly Online?

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!


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 
  • Index
  •  » FAQ
  •  » Why Don't My Projects Work Correctly Online?

Board footer