Hi, Zippzom.
Things are not always exactly the same on the website, but they are supposed to be close. However, they might be a bug in the Java player. I can investigate.
What project is giving you trouble?
-- John
Offline
Hi, Zippzom.
Thanks for reporting this. It appears to be a definite bug/difference in the image filter behavior between Scratch and the Java player on the website. It's a fairly unusual case--to start with black (no color) crank up the brightness so that it looks like it has a color and then shift that color. You can probably work around this by starting with colored circle. You can make it look black by setting the brightness to -100, but it will have a definite color. I have not tried this, but I think it should give the same color in both Scratch and the Java player on the website.
I will look into the Java bug. Thanks again!
-- John
Offline
zippzom wrote:
i posted an example "test"
http://scratch.mit.edu/projects/zippzom/66298
should appear red
This link doesn't work now.
Offline
http://scratch.mit.edu/projects/Axeblade/68937
On Java, the fast-walking stickman is green, but when I downloaded it, I was amased to find that it was actually blue.
Offline
When offline, there is a colour scale of 0 to 200
With a red sprite, different color effect values will give these colours:
Red=0, Yellow=33, Green=67, Cyan=100, Blue=133, Magenta=167.
When on Java (online), there is a colour scale of 0 to 360
With a red sprite, different color effect values will give these colours:
Red=0, Yellow=60, Green=120, Cyan=180, Blue=240, Magenta=300.
In Axeblade's walking animation, when offline, the fast man is blue, which is colour 130/200.
When online, the fast man is green, which is colour 130/360.
To test whether you are online of offline, see the web mode detection tutorial at http://scratch.mit.edu/projects/1tchy/92324 for instructions.
Then use the <{ on web? }> [/blocks] variable to test: 0=offline 1=on web.
If you are online, you should multiply all colour effects by 1.8.
Instructions:
Step 1. First, create a small red dot called Sprite1
Step 2. Add the following scripts to Sprite1:
[blocks]
<when green flag clicked>
<set[ color ]effect to( 133[/blocks]
Step 3. Create a dot that is the the same colour as the background (It should be the same size and shape as Sprite1).
Then make a global variable called "on web?"
Make sure that you select 'for all sprites
Step 4.
Click the green flag
Then add the following script:
[blocks]
<when green flag clicked>
<wait( 0 )secs>
<forever>
<if><touching color[ colour of Sprite1
<set{ on web }to( 0
<else>
<set{ on web }to( 1
<end>
<end>
[/blocks]
Finally, move Sprite2 to Sprite1
If you are online, Sprite1 will be green
If you are offline, Sprite1 will be blue
Did you know:
If you are offline, there is a colour scale of 200
On the website, there is a colour scale of 360 colours
This applies to colour effects but not to pen colours.
If you are online, multiply all colour effects by 1.8
Last edited by 1tchy (2008-05-11 06:56:29)
Offline