Skip to content

feat: loading screen #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 59 commits into from
Apr 12, 2022
Merged

feat: loading screen #427

merged 59 commits into from
Apr 12, 2022

Conversation

LPLafontaineB
Copy link
Contributor

Description (*)

This PR adds a loading screen that appears when changing scenes.

Related Pull Requests

Issue Number(s) (*)

Fixes issue(s): MTT-1960 MTT-1746

Manual testing scenarios

  1. Start a game with a host
  2. Join with a client
  3. Move the client around
  4. Disconnect the client
  5. Reconnect the client

The host and the client should see the loading screen when starting the game, then when changing scenes to the CharSelect scene and the BossRoom scene. Those loading screens should hide the slight delay before player characters are spawned, during which the additive scene is not loaded in the BossRoom scene, the camera is at its default position, and the UI is at its default state. This should be more evident during step 5, which should hide the camera movement described in MTT-1746

Questions or comments

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

LPLafontaineB and others added 29 commits November 26, 2021 09:26
* Renamed class and file to reflect naming conventions
* Added namespace
* Replaced magic string and const with serialized fields
This validation doesn't make sense anymore since in-scene imps are now in a different scene than the NavigationSystem
Replaced cooldown coroutine with one that unloads the scene after a delay. The coroutine is stopped in OnTriggerEnter, and before starting a new one if it wasn't stopped before.
…loading

Reverted to polling to decide when to load/unload scenes instead of doing it in events to handle those intermediary states better
* Added support for non-networked game and for before the client connects
SamuelBellomo
SamuelBellomo previously approved these changes Apr 6, 2022
LPLafontaineB and others added 2 commits April 6, 2022 14:11
fernando-cortez
fernando-cortez previously approved these changes Apr 6, 2022
@fernando-cortez fernando-cortez added 2-One More Review One review in, one to go and removed 1-Needs Review PR needs attention from the assignee and reviewers labels Apr 6, 2022
SamuelBellomo
SamuelBellomo previously approved these changes Apr 6, 2022
@LPLafontaineB LPLafontaineB added DO NOT MERGE Do not merge this PR! and removed 2-One More Review One review in, one to go labels Apr 7, 2022
@LPLafontaineB
Copy link
Contributor Author

Adding DoNotMerge label until BossRoom is updated to NGO pre.7

@LPLafontaineB LPLafontaineB added 1-Needs Review PR needs attention from the assignee and reviewers and removed DO NOT MERGE Do not merge this PR! labels Apr 8, 2022
@LPLafontaineB LPLafontaineB added 2-One More Review One review in, one to go and removed 1-Needs Review PR needs attention from the assignee and reviewers labels Apr 11, 2022
@fernando-cortez fernando-cortez added 3-Good to Merge and removed 2-One More Review One review in, one to go labels Apr 12, 2022
@LPLafontaineB LPLafontaineB merged commit fdfaaa9 into develop Apr 12, 2022
@LPLafontaineB LPLafontaineB deleted the feature/loading-screen branch April 12, 2022 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants