Coding the Verse Device
1. Coding the Verse Device
In this section, you'll learn how to create the Verse device to manage timing and transitions for the camera views and UI elements. You can copy-paste the complete script at the end of this section.
In this section, you'll learn how to create the Verse device to manage timing and transitions for the camera views and UI elements. You can copy-paste the complete script at the end of this section.
Follow these steps to create your Title Sequence Verse device:
- Create a new Verse device named title_sequence and add the device to your level. See Create Your Own Device Using Verse for steps.
- Add the following fields to your Verse device:
- An editable Fixed Point Camera device constant named
SplashScreenGameCamera, which will be the camera to show the splash screens against. - An editable Fixed Point Camera device named
TitleGameCamera, which will be the camera to show the game title against. - An editable Popup Dialog device named
StartGameDialog, which will show the dialog option for the player to choose to start the game. - An editable HUD Message device named
TitleScreen, which will show the game title UI. - An editable float named
GameMenuDelay, which defines how long the title screen should be shown before the game menu appears. - An editable array of HUD Message devices named
SplashScreens, which will show all the splash screens before the title screen. - An editable HUD Controller device named
IntroHUDController, which is the HUD Controller to hide all in-game UI elements during the intro. - An editable HUD Controller device named
GameHUDController, which is the HUD Controller to show all in-game UI elements that appear when the game starts. - An editable Trigger device named
GameStart, which you can use to notify any devices that the game is starting.
- An editable Fixed Point Camera device constant named
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.