AideenMonike / f3nce

0 stars 0 forks source link

Add Settings #8

Closed AideenMonike closed 1 year ago

AideenMonike commented 1 year ago

Add a settings menu which should do the following:

AideenMonike commented 1 year ago

The UI for the settings menu has been completed and can be accessed from the home menu. Functionality will now be added.

image

Please note: the blue square is where a height calibration button was, but due to some disorganisation, this image was taken later in the development cycle.

AideenMonike commented 1 year ago

Swapping hands have been implemented, using PlayerPrefs. Similar functions can be added once audio is implemented, however, height calibration may not happen due to time constraints and how the model works.

image

This functions by toggling the corresponding game objects on and off. commit

AideenMonike commented 1 year ago

On further inspection of the settings menu, there is no real need for the height calibration feature. PlayerPrefs have been used for the remaining functions, being audio and the foil. This is not terribly complex, using the SetFloat() method whenever the slider value is changed and applying that to the corresponding variable. This has not been tested yet, so this issue will remain open for now.

AideenMonike commented 1 year ago

Height calibration has been added to the sandbox gamemode, more information in the commit from today and in the sandbox issues tab. The method from the last comment has been tested and works flawlessly, and with that settings has been completed.