add more menu backgrounds and change how they work

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-14 17:10:00 -07:00
parent 3778dfb3f9
commit 3e9e732530
18 changed files with 157 additions and 52 deletions

View file

@ -4,7 +4,8 @@ func _ready():
OS.request_permissions()
randomize()
$VersionLabel.text = "Pneumatic Plaything v%s" % ProjectSettings.get_setting("application/config/version")
$Backgrounds.get_child(randi() % $Backgrounds.get_child_count()).visible = true
var selectedBG = GlobalVariables.background_index[randi() % GlobalVariables.background_index.size()]
$BackgroundImage.set_texture(load(selectedBG))
$Buttons/EditorButton.grab_focus()
GlobalVariables.loadConfig()