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

#1 2008-05-14 13:59:14

Nokomisbroadcasting
Scratcher
Registered: 2008-05-02
Posts: 8

Color Changing

I have a script on my Avatar Creator project so you can change the color of the skin, hair, etc.

When I'm viewing it on the program Scratch, I'm able to hold down a key and it will change colors much faster. When uploaded I have to continuously hit the key to get it to change.

Is there any way to fix this or is it just something that happens when you upload?

Offline

 

#2 2008-05-14 14:05:24

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Color Changing

The online Scratch Player handles "When key pressed" hats completely different then the Scratch program offline.

Instead of using
[blocks]<when[  ]key pressed>[/blocks]
try using
[blocks]<if>
<end>[/blocks]

This will allow you to use the "and " block.
Just put them all in one forever loop. You will only need one script anymore!

Joren

Last edited by JSO (2008-05-14 14:06:01)


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#3 2008-05-14 14:09:14

Nokomisbroadcasting
Scratcher
Registered: 2008-05-02
Posts: 8

Re: Color Changing

Thanks.  smile

Offline

 

Board footer