TitleScreen Functionality


Upgraded Titlescreen a lot for flow, mostly using existing things:

Pressing "Start New World" button disables the button, and then animates the title screen objects to float upward in a wave. As well as shifts the Menu UI buttons to the side. Then it shifts the camera to face the world head on and opens the "preview seed UI panel"

Preview Seed UI Panel - Two input text boxes for Terrain Noise Height Variation and a Continental Seed Variation. PreviewButton calls appropriate methods (refactored the CubeSphereMesh.Generate() method to be an event call to the necessary methods -> Temp/Humidity Manager and Land/Water Biome Managers)

Confirm Seed Button - Not yet wired in but will pass the two noise params through to the MainGame scene and then it should be as simple as just assigning those two variables and giving it one more "Generate" call which will snap everything into place (hopefully i haven't confirmed temps or anything since tiles aren't clickable on title screen).

Should be an easy 10-15 minute implementation to push those values forward and refresh the planet generation and then proceed with tutorial/gameplay but I want to have a quick snack before I finish the ConfirmSeedButton

Comments

Log in with itch.io to leave a comment.

Upon watching the video i see the seed values are maxing out for some reason, will be fixed in next "patch" lol