Quote: "I can see how that would work with a single large image but what if I want to use separate hexes? The image is going to want to set as a square and not a hex??!?!?
How do I get the 6 sides to work instead of 4?
Thanks"
Because Darkbasic considers black as transparent by default you just need a single hex that has black at the edges. Then make a routine to switch the starting y coordinate at every other column.
I didn't put "sync on" in this code snip to show what it's doing.
load image "hex.bmp",1,1
sy=-17:x=-28
do
for y=sy to 640 step 34
paste image 1,x,y,1
next y
inc x,28
if sy=0
sy=-17
else
sy=0
endif
if x>640 then exit
loop
wait key
Edit: The image used is attached to this message.