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.
Offline
My games dont work online either! I guess we must wait for scratch 2.O
Also check this out http://scratch.mit.edu/projects/nickpapadaki/1422384
Offline
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
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
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
Paddle2See wrote:
tmaaan wrote:
wow. how did you figure all that out?
Some I learned from other people, some by trial and error
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
Offline
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
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!
Offline
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?
Offline
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.
Offline
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).
Offline
hi!
Offline
bobkiller55 wrote:
hi!
go to the New Scratch Members forum for that.
Offline
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
Offline
It isnt too different.
Offline
It is because Java works slightly differently to scratch.
Offline
i dont get why i have been banned? I DIDNT HACK MY ACCOUNT!!! MY BROTHER DID!!! PLEEEEEEEEAAAAAAAAAAAAAASEE JUST UNBAN ME PLEEEAAAAAAASE!!!
Offline
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.
Offline
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!
Offline
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".
Offline
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".
Offline
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".
Whatever you say.
Last edited by Rexpup (2011-03-02 09:03:01)
Offline
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".
Whatever you say.
Trust me. I know some squeak.
Offline