add more menu backgrounds and change how they work
This commit is contained in:
parent
3778dfb3f9
commit
3e9e732530
18 changed files with 157 additions and 52 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue