Discuss Scratch

CubeFrost2
Scratcher
12 posts

I need help making a pen platform.

I can't seem to make lines with the pen, like using a defined block(Create Line, X, Y, Color), if someone could help, I'd love to hear. Also, I need help with making the character with pen and making it move.

Thank You!
footsocktoe
Scratcher
1000+ posts

I need help making a pen platform.

You need two X's and two Y's to define a line. Your define block should look like this…

penupsetpencolortoCOLORgotox:X1y:Y1pendowngotox:X2y:Y2penup

Last edited by footsocktoe (Feb. 21, 2016 19:58:22)

CubeFrost2
Scratcher
12 posts

I need help making a pen platform.

Thanks
CubeFrost2
Scratcher
12 posts

I need help making a pen platform.

How do you set the x and y and color
footsocktoe
Scratcher
1000+ posts

I need help making a pen platform.

CubeFrost2 wrote:

How do you set the x and y and color

Do you know how to use define blocks? If you don't you can just put that piece of script into your regular script and set the x's and y's for where you want the line to be.

The Scratch stage center is zero. x goes from -240 to +240 and y goes from -180 to +180.

Pen color goes from 0 to 200.
CubeFrost2
Scratcher
12 posts

I need help making a pen platform.

Thanks again

Powered by DjangoBB