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

#1 2012-02-24 16:59:22

liupengty
Scratcher
Registered: 2009-08-24
Posts: 41

how to make a hexagon?

how to make a hexagon?
using pen + repeat block or......?

Offline

 

#2 2012-02-24 17:11:58

liupengty
Scratcher
Registered: 2009-08-24
Posts: 41

Re: how to make a hexagon?

everyone here?

Offline

 

#3 2012-02-24 17:19:54

liupengty
Scratcher
Registered: 2009-08-24
Posts: 41

Re: how to make a hexagon?

neutral

Offline

 

#4 2012-02-24 17:23:57

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: how to make a hexagon?

Use this:

when I receive [drawhexagon v]
set [hexagonsidelength v] to [10] //or the size of the hexagon
clear
pen down
set pen color to [#000000] //or the pen color
go to x: (0) y:(100) //or the place you want the hexagon to start
repeat (6)
move (hexagonsidelength) steps
turn clockwise (60) degrees
end


http://trinary.tk/images/signature_.php

Offline

 

#5 2012-02-24 17:30:08

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: how to make a hexagon?

I forgot to mention:

set pen size to (1) //or the thickness of the line you want
And if you want the hexagon to be tilted, put this in before everything else:
point in direction (3 v) //or another direction
You might also like to hide the sprite while it draws.


http://trinary.tk/images/signature_.php

Offline

 

#6 2012-02-24 17:47:40

liupengty
Scratcher
Registered: 2009-08-24
Posts: 41

Re: how to make a hexagon?

thanks you for your answer, are you new scratcher?

Offline

 

#7 2012-02-24 17:51:27

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: how to make a hexagon?

Not exactly.  wink


http://trinary.tk/images/signature_.php

Offline

 

#8 2012-02-24 18:03:31

liupengty
Scratcher
Registered: 2009-08-24
Posts: 41

Re: how to make a hexagon?

haha ,r u from新西兰?,i m from china ,thanks again

Offline

 

Board footer