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: 383
Reputation: 10,656

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
85
S
27
G
79
Posts: 5,018
Reputation: 54,770


Return to How do I....?

Who is online

Users browsing this forum: KreKre, ninepixels, oddreal, Pulstar and 12 guests