Drawing a simple hexagon in Photoshop

MadDoc

macrumors 6502
Original poster
Apr 25, 2005
321
3
UK
Hi,

I am relatively new to Photoshop. I am working on a game that uses hex-tiles as its base. I need to draw a simple hexagon as a .png file in Photoshop (black outline of a hexagon on a white background). Accuracy is key. It needs to be perfect (i.e. the internal angle at the top must be 120 degrees). I want the point of the hexagon at the top of the image. How do I do this? Angles are important as they are used in the game engine to determine tile placement.

Thanks,

MadDoc,
 

bartelby

macrumors Core
Jun 16, 2004
19,797
4
Hold down the Line tool until the menu pops up.
Choose the Polygon.

In the options at the top of the screen you can say how many sides you need.

Draw it level and then can you use Arbitary rotation?
 

barr08

macrumors 65816
Aug 9, 2006
1,361
0
Boston, MA
All you need to do is hold down the shift key while creating the shape, and it will snap to nice tidy angles as you drag the rodent around.
A little off topic, but if you are new to photoshop, it might be helpful to know that the shift key is one of your best friends when using PS.
 

werther

Suspended
May 15, 2006
108
0
ok I am gonna hijack this thread. I primarily use fireworks, but I enjoy making/using brushes in photoshop more and more. I can get around photoshop fine except one thing......and it's pretty stupid: How does one know the dimensions of an object.

for instance say I am working on a document 800 x 600 and on one layer I put a box. The box only needs to be 200 x 100 or whatever. How do I find out the size of said box? In fireworks it states it right in the objects properties.
 

iMeowbot

macrumors G3
Aug 30, 2003
8,636
0
for instance say I am working on a document 800 x 600 and on one layer I put a box. The box only needs to be 200 x 100 or whatever. How do I find out the size of said box? In fireworks it states it right in the objects properties.
Use F8 to bring up the info window. Click on the layer/object of interest, pick Edit->Transform->Scale (or Free Transform) from the menu, and the dimensions will show up in the info window. esc if you don't really want to adjust the size.
 

decksnap

macrumors 68040
Apr 11, 2003
3,070
70
for instance say I am working on a document 800 x 600 and on one layer I put a box. The box only needs to be 200 x 100 or whatever. How do I find out the size of said box? In fireworks it states it right in the objects properties.
This is another reason why Fireworks is your friend. Everything is rounded to even pixels and viewable at all times. Even vectors.
 

elppa

macrumors 68040
Nov 26, 2003
3,230
108
ok I am gonna hijack this thread. I primarily use fireworks, but I enjoy making/using brushes in photoshop more and more. I can get around photoshop fine except one thing......and it's pretty stupid: How does one know the dimensions of an object.

for instance say I am working on a document 800 x 600 and on one layer I put a box. The box only needs to be 200 x 100 or whatever. How do I find out the size of said box? In fireworks it states it right in the objects properties.
One way is to specify to draw a box 100px x 200px in the options panel.
 

werther

Suspended
May 15, 2006
108
0
thanks for the replies. I know about the transform dimensions and that I can specify dimensions beforehand, I guess what I really wanted to know was, is there a way to display that information all the time like fireworks does.

I know they are two different programs, but I figured it couldn't hurt to ask.