Extractor Placement UI - UQcsse3200/2023-studio-2 GitHub Wiki
Extractor Placement UI
The Extractor Placement UI enables players to place extractors strategically on the map for resource gathering. This was achieved through collaborating with the team buildable, using their buildable menu UI and adding the functionality to place extractors onto the map.
structure_tools.json
By adding the necessary building cost and conditions to the structure_tools.json config file, we can create a UI element through the preexisting code from the team buildable.
Accessing the Buildable Menu
Players can access the UI by pressing '3' and then 'T/t' key on the keyboard. This will pop up a menu user interface, which helps players build different items necessary for survival and clear the current level.
Players can then drag and deploy the extractor onto the map using the left mouse button.