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?

#76 2010-11-26 15:46:03

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

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

MathWizz wrote:

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!

Is that not what I said? Sorry if I caused any confusion.  wink

Offline

 

#77 2010-11-27 05:44:17

nickpapadaki
Scratcher
Registered: 2010-10-29
Posts: 22

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

My games dont work online either! I guess we must wait for scratch 2.O  big_smile

Also check this out http://scratch.mit.edu/projects/nickpapadaki/1422384


Curiosity killed the cat, but for a while I was a suspect.
Steven Wright

Offline

 

#78 2010-11-29 06:59:17

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

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

scratchmaniac58 wrote:

hey, uuhh... does anyone know why on one of my projects when you need to yell into the mike it doesn't work on the website but it does on scratch?

those kinds only work offline

scmb1 wrote:

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.

or [blocks]<abs( [/blocks]

nickpapadaki wrote:

My games dont work online either! I guess we must wait for scratch 2.O   big_smile

Also check this out http://scratch.mit.edu/projects/nickpapadaki/1422384

try editing them out but certainly write that they need to be downloaded (if you didn't already)

Last edited by scimonster (2010-12-25 12:41:45)

Offline

 

#79 2010-12-24 22:12:48

PieLabs
Scratcher
Registered: 2010-12-13
Posts: 7

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

This was a very very useful thread, because I've always known that projects work differently online, and I understood that it was because the Java Player runs scratch differently, but I never knew quite what was different, so this'll really help me fix glitches.

Offline

 

#80 2010-12-25 10:15:38

paperninjamaster
Scratcher
Registered: 2010-08-23
Posts: 40

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

Paddle2See wrote:

tmaaan wrote:

wow. how did you figure all that out?

Some I learned from other people, some by trial and error  smile 

I really like my projects to work online just as well as they do when they are downloaded so I've spent a lot of time learning what I can to make my projects work in both places.  If anybody else has any helpful hints, feel free to post them here.

Experimental viewer and Scratch 2.0 should be the same on and offline


This is a message to new Scratchers
Just keep on Scratching  smile

Offline

 

#81 2010-12-25 10:47:34

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

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

paperninjamaster wrote:

Paddle2See wrote:

tmaaan wrote:

wow. how did you figure all that out?

Some I learned from other people, some by trial and error  smile 

I really like my projects to work online just as well as they do when they are downloaded so I've spent a lot of time learning what I can to make my projects work in both places.  If anybody else has any helpful hints, feel free to post them here.

Experimental viewer and Scratch 2.0 should be the same on and offline

And that will certainly be a blessing!


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

Offline

 

#82 2010-12-30 20:14:07

Emberclaw
Scratcher
Registered: 2009-09-27
Posts: 6

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

If there is music or lots of forever scripts going at once then it usually lags alot

Offline

 

#83 2011-01-01 17:09:43

walrusninja
Scratcher
Registered: 2011-01-01
Posts: 31

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

I'm working on a gun simulation. It works fine in Scratch, but I don't understand why it doesn't work online. I'll show you an example with 2 sprites and their code.


Sprites: ammo1, tnt (size: 60x60, location: x -1, y -111)


ammo1 code:

when [space] key pressed
if <touching [sprite2]?>
change size by {-30}
hide
play sound [M1 Garand Single]
wait {0.25} secs
go to [gatlinggun]
show
change y by {9}
change x by {30}
glide {0.08} secs to x: {0} y:{-110}
if <touching [tnt]?>
  hide
  stop script
else
  glide {0.06} secs to x: {80} y: {-110}
  ......


tnt code:

when [space] key pressed
wait until <touching [ammo1]?>
switch to costume [costume2]
wait {0.1} secs
switch to costume [costume3]
wait {0.1} secs
switch to costume [costume4]
wait {0.2} secs
hide
stop script


According to the interaction between the code, when ammo1 touches tnt, tnt goes into a costume animation, which is an explosion. That works in the program, not not online. Can someone help?


http://blocks.scratchr.org/API.php?user=walrusninja&amp;action=onlineStatus - walrusninja - deviantART
http://i1108.photobucket.com/albums/h406/walrusninja/Banner.png

Offline

 

#84 2011-01-01 17:29:49

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

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

walrusninja wrote:

I'm working on a gun simulation. It works fine in Scratch, but I don't understand why it doesn't work online. I'll show you an example with 2 sprites and their code.


Sprites: ammo1, tnt (size: 60x60, location: x -1, y -111)


ammo1 code:

when [space] key pressed
if <touching [sprite2]?>
change size by {-30}
hide
play sound [M1 Garand Single]
wait {0.25} secs
go to [gatlinggun]
show
change y by {9}
change x by {30}
glide {0.08} secs to x: {0} y:{-110}
if <touching [tnt]?>
  hide
  stop script
else
  glide {0.06} secs to x: {80} y: {-110}
  ......


tnt code:

when [space] key pressed
wait until <touching [ammo1]?>
switch to costume [costume2]
wait {0.1} secs
switch to costume [costume3]
wait {0.1} secs
switch to costume [costume4]
wait {0.2} secs
hide
stop script


According to the interaction between the code, when ammo1 touches tnt, tnt goes into a costume animation, which is an explosion. That works in the program, not not online. Can someone help?

You might be hiding Ammo before the tnt has had a chance to sense it.  Timing works differently online than in the native Scratch environment.  It would be much safer to just have one sprite detect the collision and have it send a Broadcast message to alert the other sprite, rather than having each sprite try to sense separately.


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

Offline

 

#85 2011-01-04 18:26:05

MarioLuigi2009
Scratcher
Registered: 2009-12-26
Posts: 63

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

kgordon wrote:

I think the hide variable/show variable blocks work online now...

They don't appear where you want them to, and they revert to normal layout (at least in my "Balloon Factory" projects it does).


http://mag.racked.eu/mcimage/i349/Achievement++get%21/Slammin+Salmon/mca.pnghttp://mag.racked.eu/mcimage/i5007/Achievement++get%21/Smile+for+the+camera/mca.pnghttp://mag.racked.eu/mcimage/i54/Achievement++get%21/Storin+dirt.../mca.pnghttp://www.minecraftanonymous.com/assets/banners/banner_78.png

Offline

 

#86 2011-01-10 08:11:42

bobkiller55
New Scratcher
Registered: 2010-09-02
Posts: 2

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

hi!

Offline

 

#87 2011-01-10 09:05:38

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

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

bobkiller55 wrote:

hi!

go to the New Scratch Members forum for that.

Offline

 

#88 2011-02-15 16:32:25

bitz
Scratcher
Registered: 2010-11-11
Posts: 27

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

2 things number: 1) the variables cause colour detection! 2)i made an online/offline dectector without using errors! i don't understand why but it may be that it is some scientific calculator offline but online not, why does this happen?
http://scratch.mit.edu/projects/bitz/1584844


Watch out I'm epic. Bitz.yolasite.com
smile  does pie make you hungry?  smile

Offline

 

#89 2011-02-16 20:08:52

The-Critic
Scratcher
Registered: 2011-02-06
Posts: 59

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

It isnt too different.

Offline

 

#90 2011-02-17 05:01:25

lank132lank
Scratcher
Registered: 2010-04-01
Posts: 4

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

It is because Java works slightly differently to scratch.  smile

Offline

 

#91 2011-02-19 07:50:16

Purika
Scratcher
Registered: 2011-01-26
Posts: 100+

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

This will be fixed with version 2.0!  big_smile


https://lh3.googleusercontent.com/-ZlPXbnYAtro/TxRNNopA6XI/AAAAAAAAAvY/worvlbyfCYI/s589/Purika.gif
If I was three birds, I could see myself fly below us!  big_smile

Offline

 

#92 2011-02-19 09:32:01

MagicMedia
Scratcher
Registered: 2010-12-26
Posts: 3

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

i dont get why i have been banned? I DIDNT HACK MY ACCOUNT!!! MY BROTHER DID!!! PLEEEEEEEEAAAAAAAAAAAAAASEE JUST UNBAN ME PLEEEAAAAAAASE!!!

Offline

 

#93 2011-02-19 09:35:05

gettysburg11
Scratcher
Registered: 2008-06-14
Posts: 1000+

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

MagicMedia wrote:

i dont get why i have been banned? I DIDNT HACK MY ACCOUNT!!! MY BROTHER DID!!! PLEEEEEEEEAAAAAAAAAAAAAASEE JUST UNBAN ME PLEEEAAAAAAASE!!!

For issues like that, contatcting the Scratch team directly would be better. Here's a link for you to do that.


http://i256.photobucket.com/albums/hh184/mnacmilan/LOGO_ACMILAN-Splash.gif

Offline

 

#94 2011-02-26 15:02:16

Purika
Scratcher
Registered: 2011-01-26
Posts: 100+

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

gettysburg11 wrote:

MagicMedia wrote:

i dont get why i have been banned? I DIDNT HACK MY ACCOUNT!!! MY BROTHER DID!!! PLEEEEEEEEAAAAAAAAAAAAAASEE JUST UNBAN ME PLEEEAAAAAAASE!!!

For issues like that, contatcting the Scratch team directly would be better. Here's a link for you to do that.

And it wasn't the appropriate forum!


https://lh3.googleusercontent.com/-ZlPXbnYAtro/TxRNNopA6XI/AAAAAAAAAvY/worvlbyfCYI/s589/Purika.gif
If I was three birds, I could see myself fly below us!  big_smile

Offline

 

#95 2011-03-01 10:58:17

rahmasa
New Scratcher
Registered: 2011-02-19
Posts: 2

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

hmm...

Offline

 

#96 2011-03-02 08:41:59

Rexpup
Scratcher
Registered: 2010-10-17
Posts: 100+

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

Another error online, as my overly-observant cousin Joshua discovered was this:  If you don't type in an answer to the question box, but just press enter, the project will get stuck in an endless loop when the project tries to retrieve an answer that isn't there.  I think that in Scratch 2.0, there should be a default answer, such as "Null" or "Nothing".


http://i.imgur.com/QQH4J.gif

Offline

 

#97 2011-03-02 08:53:27

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

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

Rexpup wrote:

Another error online, as my overly-observant cousin Joshua discovered was this:  If you don't type in an answer to the question box, but just press enter, the project will get stuck in an endless loop when the project tries to retrieve an answer that isn't there.  I think that in Scratch 2.0, there should be a default answer, such as "Null" or "Nothing".

If it were still squeak, it would be "Nil".  wink

Offline

 

#98 2011-03-02 09:02:35

Rexpup
Scratcher
Registered: 2010-10-17
Posts: 100+

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

scimonster wrote:

Rexpup wrote:

Another error online, as my overly-observant cousin Joshua discovered was this:  If you don't type in an answer to the question box, but just press enter, the project will get stuck in an endless loop when the project tries to retrieve an answer that isn't there.  I think that in Scratch 2.0, there should be a default answer, such as "Null" or "Nothing".

If it were still squeak, it would be "Nil".  wink

Whatever you say.

Last edited by Rexpup (2011-03-02 09:03:01)


http://i.imgur.com/QQH4J.gif

Offline

 

#99 2011-03-02 09:25:18

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

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

Rexpup wrote:

scimonster wrote:

Rexpup wrote:

Another error online, as my overly-observant cousin Joshua discovered was this:  If you don't type in an answer to the question box, but just press enter, the project will get stuck in an endless loop when the project tries to retrieve an answer that isn't there.  I think that in Scratch 2.0, there should be a default answer, such as "Null" or "Nothing".

If it were still squeak, it would be "Nil".  wink

Whatever you say.

Trust me. I know some squeak.

Offline

 

#100 2011-04-17 21:51:36

beast102
Scratcher
Registered: 2011-04-17
Posts: 8

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

yeah i had two games with things the characters said and things you had to do but all it did was show the picture that was shown in the scratch box

Offline

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

Board footer