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

#1 2007-05-04 12:51:10

JAK-Gaming
Scratcher
Registered: 2007-05-03
Posts: 3

Sliders

Does anyone know how to make a slider? If so, please post.

Offline

 

#2 2007-05-04 13:25:43

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

Re: Sliders

What kid of slider do you want to make?


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

Offline

 

#3 2007-05-06 19:25:28

JAK-Gaming
Scratcher
Registered: 2007-05-03
Posts: 3

Re: Sliders

I would like a slider so i can adjust pen size.

Offline

 

#4 2007-05-07 12:37:27

maximo
Scratcher
Registered: 2007-03-12
Posts: 7

Re: Sliders

I think is easy.
You have to make a variable. Set the thickness of the pen to the value of that variable.
You can change the aspect of the variable to it shows like a slider by double click on its view in the stage.
Excuse by my badly English.

Offline

 

#5 2007-05-07 15:00:39

bernatp
Scratcher
Registered: 2007-03-07
Posts: 49

Re: Sliders

Hi, this is my pic to help you:
http://scratch.inf.elte.hu/stuff/set_pen_size.jpg

As Maximo said, you can right-click on the variable's view in the stage, and select 'show slider'. After that, right click again and choose 'set slider min and max'. Here you can set the min and max value of the slider (eg. 1 to 30).
You can add more scripts to that sprite, of course.
But don't forget to push the green flag button to activate your scripts.

Offline

 

#6 2007-05-09 12:13:19

JAK-Gaming
Scratcher
Registered: 2007-05-03
Posts: 3

Re: Sliders

Thanks, you guys saved my life.

Offline

 

#7 2007-05-11 15:55:50

Bloing_Gloing
Scratcher
Registered: 2007-05-11
Posts: 27

Re: Sliders

Hey, I was just about to ask this! I'm glad I used search first...

Offline

 

Board footer