Hi,
My game has a tilemap and I'd like the player to move based on these tiles. A similar approach is available in Construct 3 as a behaviour but uses the keyboard for movement.
What I'd like to do is for the player to click on a tile on the tilemap. The player object would then check if the distance between that tile on the tilemap is within a certain limit. If yes, then the player then moves to that tile (i.e. setting the position to the center of the tile).
So far what I was able to do is get the object to move to the mouse position within a certain distance, but I can't get the center of a tile in a tilemap to set it as the potion of the player.
Is this possible in Construct 2? Any idea how I can achieve this?