I'm thinking about adding a map system to my game whereas discovered areas will be visible on the map.
I want the player to be able to hover over these visible areas (using four to eight directions with a keyboard/gamepad and NOT a mouse) to select the closest unlocked area in that direction.
Here's the thing though, I only want the visible discovered areas to be hover-able and not the invisble locked areas.
There will be lots of areas and they will be unlocked in different order depending on where the player goes first, so there is no clear order in which areas will be unlocked. So the discovered areas will all have different X/Y positions.
The main problem I'm thinking about here is the logic in how to make the hoverinig/selection of levels skip the invisible locked areas.
Is there any best practice regarding doing something like this?