doc: Update README.md
This commit is contained in:
parent
cbfd16941c
commit
6f8b9fde9f
14
README.md
14
README.md
@ -4,23 +4,23 @@ The GameManager is a sort of bootloader, which sets up all the
|
|||||||
other managers and orchestrates the match start process.
|
other managers and orchestrates the match start process.
|
||||||
|
|
||||||
Once the main menu is loaded, the only real option is to start a
|
Once the main menu is loaded, the only real option is to start a
|
||||||
local 2v2 match.
|
local 1v1 match.
|
||||||
I use SlimUI, as the main menu for now, it is a store asset.
|
For now I'm using the SlimUI Unity store asset as the main menu.
|
||||||
Starting this match (using the button in SlimUI) sets off the async scene loading,
|
Starting this match (using the button in SlimUI) sets off the async scene loading,
|
||||||
transition to the arena camera and match setup in the GameManager.
|
transition to the arena camera and match setup in the GameManager.
|
||||||
|
|
||||||
The GameManager provides a method which invokes an event once a
|
The GameManager provides a method which invokes an event once a
|
||||||
specific scene has been loaded.
|
specific scene has been loaded.
|
||||||
Here I'm using that to trigger the camera transition once the arena scene was loaded.
|
Here I'm using that to trigger a camera transition once the arena scene was loaded.
|
||||||
|
|
||||||
After the camera transition the InGameUI scene is loaded and when the UI is there,
|
After the camera transition the InGameUI scene is loaded additively, after that
|
||||||
the match setup process in the GameManager is started.
|
the match setup process in the GameManager is started.
|
||||||
|
|
||||||
To look into this process see:
|
To look into this process see:
|
||||||
Assets\SlimUI\Modern Menu 1\Scripts\Managers\SlimUIMainMenu Line 162 onwards
|
Assets\SlimUI\Modern Menu 1\Scripts\Managers\SlimUIMainMenu Line 162 onwards
|
||||||
Assets\Scripts\Managers\GameManager Line 176 onwards
|
Assets\Scripts\Managers\GameManager Line 176 onwards
|
||||||
|
|
||||||
Also noteworthy is the Ship Movement logic in which I change the flying behavior and gravity
|
Also noteworthy is the ship movement logic in which I change the flying behavior and gravity
|
||||||
for the ship depending which zone it is in
|
for the ship depending which zone it is in
|
||||||
and the shader for the ripple effect of the inner/green/nimble zone, which is an older simple
|
and also the shader for the ripple effect of the inner/green/nimble zone, which is an older BRP
|
||||||
ripple shader converted to URP (in code not shader graph), featuring up to 5 simulateously animated ripples.
|
ripple shader converted to URP (in code not shader graph), featuring up to 5 simulateously animated ripples.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user