Hi!
I've been fooling around with a simple 2D turn-based strategy concept, and quite quickly smashed against a wall. I want to make a movement system identical to 99% of turn-based games out there: you point your mouse at a tile, click it, and the character goes there.
I created a tile map and was able to make a movement system for my characters just fine, but problems emerge when I try to tie it to the tile grid and specific tiles. As is, I can't figure out how to even select specific tiles.
I tried using mouse enter and mouse hover global events to spawn an indicator over the tile being selected, but it will always spawn in the center of the tileset, acting as if it was a singular, whole object, and ignoring the grid.
So far the only workaround that comes to mind would be to make each tile a prefab, but I'm afraid that doing so will damage the game's performance.
Is it possible to use playmaker and unity's grid tile system to reference specific tiles, or are there add-ons/plugins that would provide such functionality? How do I resolve this?
There have been some people asking similar questions, but those refer to moving across tiles using the keyboard, teleporting the player a single tile's length, but those solution don't apply to mouse controls. I need for the player to be able to select far away tiles easily.