LoGaCulture / LUTE

LUTE stands for LoGaCulture Unity Toolkit/Engine. A Unity based tool to create narrative rich location-based games for the purposes of heritage preservation.
MIT License
0 stars 0 forks source link

Hide locations #24

Open IoIoToTM opened 1 month ago

IoIoToTM commented 1 month ago

When creating a simple game where I want to have a hidden location that can be unlocked afterwards, there is no way for me to hide it from the map view. This can add a lot of diversity to the games. Maybe it could be a simple checkbox in the Variables menu for every Location Variable (this is a quick mock-up to show):

image

Jacki3 commented 2 weeks ago

The simplest implementation currently will be to have a 'Hide Location' Order which will hide the chosen location from the map. This can then be reversed to 'Show Location' Order which can be called when certain criteria are met. This will essentially add a boolean to the Location Variable (show/hide the visuals) which we could then make public in the variable inspector if this is desired.

Jacki3 commented 2 weeks ago

Added Orders to Reveal/Hide Location

Added two orders that allow users to hide or reveal location markers ('hide/reveal location')

Fixed the spawn on map class as it was duplicating locations found

Two new orders to help users who want to hide/reveal multiple locations using an array of locations

Have been tested but could do with some UX and bug testing

If the poster is happy with this implementation then I will close this but will keep it open for now until we all reach an agreement and this has been tested.