So I've been doing a bit of the tutorials to get familiar with Construct 2, which is a really awesome tool - loving it.
What I'm trying to accomplish is moving a player about a hexagon grid by using the mouse as a click-to-move feature. I've got that part actually working, however, the player can move themselves freely about the map. There isn't any pathfinding or limit to their distance.
I'm trying to implement the functionality to only move to the space adjacent to the player, essentially a 1 space radius around the player.
This is a bit more confusing than I thought and it was hard to search the forums for this - I found mouse movement, but it was just point-to-point and I found grid movement, but that was using WASD or other keys.
So, the main problem is only allowing the mouse click to move the player onto an adjacent hex tile only. I went about it a few different ways and it seemed UID's were the way to go, although this got just as confusing. I think I need to use instance variables too?
dropbox.com/s/nkd170m1q9l261s/1_HexGrid_MouseClickMoving.capx
The capx should have everything in it (I made it a project, but everything should be in the layout - chess, tile - that's about it.)
Also, I was fudging it a bit just now and saw something weird where it spawns one at where it should, but then when it moves, there is another one. Not sure how that came about since I got rid of all the stuff I was trying to do, and put it back to how it was.