1
Fork 0
mirror of https://github.com/Cookie-CHR/OfficeMadness-LD51.git synced 2024-11-21 22:34:19 +00:00
office-madness/Scenes/Main.tscn
2022-10-03 00:44:58 +02:00

57 lines
1.5 KiB
Text

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Sprites/M_spawner.tscn" type="PackedScene" id=1]
[ext_resource path="res://Scripts/Timer.gd" type="Script" id=2]
[ext_resource path="res://Sprites/Background.jpg" type="Texture" id=3]
[ext_resource path="res://Music/Music_Changer.gd" type="Script" id=4]
[ext_resource path="res://Sprites/Music_On.png" type="Texture" id=5]
[node name="root" type="Panel"]
margin_right = 1024.0
margin_bottom = 600.0
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 512, 300 )
texture = ExtResource( 3 )
[node name="Button_0" parent="." instance=ExtResource( 1 )]
margin_left = 65.0
margin_top = 220.0
margin_right = 210.0
margin_bottom = 320.0
[node name="Button_1" parent="." instance=ExtResource( 1 )]
margin_left = 65.0
margin_top = 320.0
margin_right = 210.0
margin_bottom = 420.0
[node name="Button_2" parent="." instance=ExtResource( 1 )]
margin_left = 65.0
margin_top = 420.0
margin_right = 210.0
margin_bottom = 520.0
[node name="SpawnPoint" type="Control" parent="."]
margin_left = 296.0
margin_top = 34.0
margin_right = 992.0
margin_bottom = 568.0
[node name="Timer" type="Timer" parent="."]
wait_time = 10.0
autostart = true
[node name="Main" type="AudioStreamPlayer" parent="."]
script = ExtResource( 4 )
[node name="Mute" type="Button" parent="."]
margin_left = 108.0
margin_top = 44.0
margin_right = 187.0
margin_bottom = 117.0
icon = ExtResource( 5 )
flat = true
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]