Raise-Your-Wand/Scripts/TitleScreen.gd
nc5432 3c2d81f584 Main Menu, music, and credits
- Got sprites for menu buttons
- Added buttons to the menu
- Added a manager script for the menu
- Created resources for playlists and credits
- Created a music player
- Created the root scene that everything will be loaded into
2024-05-09 22:21:58 -04:00

43 lines
992 B
GDScript

extends Node
@onready var raise: RichTextLabel = $Title/Raise
@onready var your: RichTextLabel = $Title/Your
@onready var wand: RichTextLabel = $Title/Wand
@onready var disclaimer: RichTextLabel = $Title/Disclaimer
@onready var play: TextureButton = $Buttons/Play
@onready var credits: TextureButton = $Buttons/Credits
@onready var settings: TextureButton = $Buttons/Settings
@onready var quit: TextureButton = $Buttons/Quit
@onready var about: TextureButton = $Buttons/About
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func hide():
raise.hide()
your.hide()
wand.hide()
disclaimer.hide()
play.hide()
credits.hide()
settings.hide()
quit.hide()
about.hide()
func show():
raise.show()
your.show()
wand.show()
disclaimer.show()
play.show()
credits.show()
settings.show()
quit.show()
about.show()