This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-12-12 16:02:37

zippzom
Scratcher
Registered: 2007-04-17
Posts: 9

Color Changes in Upload

when you upload a project with color effects, the color is different on the website than on scratch  sad

Offline

 

#2 2007-12-12 18:23:50

johnadmin
Scratch Team
Registered: 2007-03-13
Posts: 100+

Re: Color Changes in Upload

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

 

#3 2007-12-12 20:33:11

zippzom
Scratcher
Registered: 2007-04-17
Posts: 9

Re: Color Changes in Upload

its a project that i made but didnt post due to the color problem
it changed the red in scratch to green
might help you to know that the sprite was also being affected by brightness

Offline

 

#4 2007-12-12 20:36:24

zippzom
Scratcher
Registered: 2007-04-17
Posts: 9

Re: Color Changes in Upload

i posted an example "test"
http://scratch.mit.edu/projects/zippzom/66298
should appear red

Offline

 

#5 2007-12-12 20:41:11

Tails33
Scratcher
Registered: 2007-12-12
Posts: 12

Re: Color Changes in Upload

I just joined so i dont know anything about that  sad

Offline

 

#6 2007-12-13 10:45:24

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Color Changes in Upload

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

 

#7 2007-12-13 15:58:16

zippzom
Scratcher
Registered: 2007-04-17
Posts: 9

Re: Color Changes in Upload

no problem
thanks for looking into it  smile

Offline

 

#8 2007-12-13 17:36:53

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: Color Changes in Upload

zippzom wrote:

i posted an example "test"
http://scratch.mit.edu/projects/zippzom/66298
should appear red

This link doesn't work now.


~ihaveamac - visit ihaveamac.net

Offline

 

#9 2007-12-14 00:18:01

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Color Changes in Upload

ihaveamac: seems like zippzom removed her or his project


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#10 2007-12-20 19:26:56

Draakx
Scratcher
Registered: 2007-08-24
Posts: 11

Re: Color Changes in Upload

well, heres one that doesn't work for me
http://scratch.mit.edu/projects/Draakx/70250

Offline

 

#11 2007-12-20 22:44:08

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Color Changes in Upload

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.


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#12 2008-02-15 16:19:14

1tchy
Scratcher
Registered: 2007-12-28
Posts: 13

Re: Color Changes in Upload

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  wink

Last edited by 1tchy (2008-05-11 06:56:29)

Offline

 

#13 2008-12-16 06:45:10

FoxDur
Scratcher
Registered: 2008-07-07
Posts: 87

Re: Color Changes in Upload

This really helped. Thanks!  smile


Do you want an icon? Check out here. Bored? Do you want to animate something? Look here.

Offline

 

#14 2009-08-30 13:54:38

SnowGuy
Scratcher
Registered: 2008-11-25
Posts: 41

Re: Color Changes in Upload

this dosn't work anymore


This account is dead. See my new one here.

Offline

 

Board footer