Snap to a hex grid.

Get help using Construct 2

Post » Sun Aug 26, 2012 11:28 pm

Take a look here: Hex Snapping, you can drag the 'fighters' hex around but I would like it to snap to the hexes as it moves around. How would I do that?
B
72
S
25
G
9
Posts: 382
Reputation: 10,649

Post » Mon Aug 27, 2012 1:45 am

If each hexagon is a different object instance you can do this:
http://www.scirra.com/forum/custom-grid-shape_topic54226_post340446.html#340446

If you want to do it with math instead here is a formula for it:
http://dl.dropbox.com/u/5426011/examples14/hex_grid.capx
B
79
S
24
G
52
Posts: 4,723
Reputation: 39,709


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 21 guests