uhhh
This commit is contained in:
parent
14f0200b50
commit
03c365890f
9 changed files with 117 additions and 139 deletions
9
start.gd
9
start.gd
|
@ -1,8 +1,9 @@
|
|||
extends Control
|
||||
|
||||
@onready var start_button = get_node("TextureRect/MarginContainer/HBoxContainer/VBoxContainer/PlayButton")
|
||||
@onready var quit_button = get_node("TextureRect/MarginContainer/HBoxContainer/VBoxContainer/QuitButton")
|
||||
@onready var levellist = $TextureRect/MarginContainer/HBoxContainer/LevelList
|
||||
@onready var start_button = get_node("MarginContainer/HBoxContainer/VBoxContainer/PlayButton")
|
||||
@onready var quit_button = get_node("MarginContainer/HBoxContainer/VBoxContainer/QuitButton")
|
||||
@onready var levellist = $MarginContainer/HBoxContainer/LevelList
|
||||
@onready var bgmusic = get_node("AudioStreamPlayer")
|
||||
var playbutton = false
|
||||
var stringing = "hi"
|
||||
|
||||
|
@ -11,6 +12,8 @@ func main():
|
|||
|
||||
func _ready():
|
||||
print("READY!!! >w<")
|
||||
bgmusic.stream = load("res://assets/audio/FlyingHomeMain.ogg")
|
||||
bgmusic.play()
|
||||
levellist.hide()
|
||||
start_button.pressed.connect(_start_button_pressed)
|
||||
quit_button.pressed.connect(_quit_button_pressed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue