0
\$\begingroup\$

I'm using Godot and I want to set an outline on the tile which is currently being hovered over, but I'm not sure whether to do it as a seperate tilemap which is hidden until it is hovered over or just display a highlighted tile sprite when the tile is hovered.

This is an example of how I sorta want it. enter image description here

Any advice?

\$\endgroup\$
3
  • \$\begingroup\$ It sounds like you have two potential solutions already. Which have you tried implementing so far? Are you unsatisfied with a particular aspect of how that solution is working for you? \$\endgroup\$ – DMGregory Apr 18 '20 at 19:22
  • \$\begingroup\$ @DMGregory It's more I was after maybe an easy method (if there is one). As it seems like a thing many games implement, so users can see where they're clicking. \$\endgroup\$ – James Nixon Apr 18 '20 at 19:37
  • 2
    \$\begingroup\$ What in particular about your current proposals is not as easy as you'd like? Bear in mind that many things that are common in games are actually quite hard — we just buckle down and do them anyway — so I'd recommend that you just try one of your solutions to see if it works and you can keep building the rest of your game, rather than waiting for a better alternative that might or might not exist. \$\endgroup\$ – DMGregory Apr 18 '20 at 19:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.