As a Game Master / User
I want to log in to my TT account in the game
So that I can use cloud functions such as save, load, inviting and joining games, etc.
Requirements:
Main menu UI showing current auth status with button to sign in
When signed in, button to sign in changes to logout (another ticket)
Show login menu with username and password entry, ok / cancel buttons
Store relevant tokens to use in other cloud functions
If successful, UI hides and main menu UI updates with login status
If unsuccessful, spinner disappears, login UI shows again with message saying login was unsuccessful (no detail shared)
If user needs to validate e-mail, UI stays shown with message saying so
Not in scope:
"Remember me" by saving refresh token and using that in the next session (separate ticket will be raised)
During sign in, spinner is shown and UI is disabled
All UI components from the UI pack contain regular Text which doesn't scale well. These need to be replaced with TMPro, but some scripts require Text. So as part of this the prefabs need to be updated and the scripts changed to support TMPro_Text instead of just plain Text.
Also need to go through the entire UI and ensure everywhere labels, input boxes and other text is used, it's using the prefabs rather than unpacked prefabs.
Describe the bug
Deselecting an object by closing the menu and entering idle mode doesn't clear the highlighter on the previously selected object. This works fine when selecting another object.
To Reproduce
Steps to reproduce the behavior:
Place an object, river, etc.
Close the menu for that object type, taking the editor back into idle mode
The highlight persists
Expected behavior
The highlight disappears as the object is deselected.
Content is loaded locally at the moment, need to move this to the cloud. Consider local development so may want to keep a dev option to load locally for now.
Describe the bug
While placing a river and pressing escape, rather than just stopping placement mode, it deselects the river entirely. This is annoying when you want to place it and then edit some of its properties as you have to select it again.
To Reproduce
Steps to reproduce the behavior:
Place a river
While still in placement mode, press escape key
River is deselected
Expected behavior
Edit mode ends, but the river stays selected.
For a while there has been an issue wit the highlight package where it isn't completely deselecting objects, leaving a highlight behind.
Since upgrading the project to 2021.3, highlights on scatter areas (even not very large ones) make the framerate tank.
The package hasn't been updated for some time so a newer version that plays nicer with 2021.3 may be available. Upgrade to the latest and troubleshoot any performance issues.
Is your feature request related to a problem? Please describe.
It is difficult to create good looking sample videos due to selection highlights popping up and the manual camera controls not being smooth and accurate enough.
Describe the solution you'd like
Create a cinematic mode in which the UI is hidden and the map can't be interacted with, i.e. no selection highlights or ability to select any objects. It should be possible to configure the camera to go through certain points, similar to the Cinemachine camera, but controllable in-game (maybe that can be done with Cinemachine?)