pegchamp/Menu/MainMenu.tscn
2021-10-01 17:28:14 +02:00

115 lines
3.7 KiB
Text

[gd_scene load_steps=12 format=2]
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=1]
[ext_resource path="res://Menu/LevelList.tscn" type="PackedScene" id=2]
[ext_resource path="res://Effects/FadeIn.tscn" type="PackedScene" id=3]
[ext_resource path="res://Cannon/Cannon.tscn" type="PackedScene" id=4]
[ext_resource path="res://Menu/Buttons/Fullscreen/FullscreenButton.tscn" type="PackedScene" id=5]
[ext_resource path="res://Menu/LevelInfo.tscn" type="PackedScene" id=7]
[ext_resource path="res://Menu/Buttons/AudioSliders/VolumeSlider.tscn" type="PackedScene" id=9]
[ext_resource path="res://Menu/Buttons/AudioSliders/MusicVolume1.png" type="Texture" id=10]
[ext_resource path="res://Menu/Buttons/AudioSliders/MusicVolume2.png" type="Texture" id=11]
[ext_resource path="res://Menu/Buttons/AudioSliders/SFXVolume1.png" type="Texture" id=12]
[ext_resource path="res://Menu/Buttons/AudioSliders/SFXVolume2.png" type="Texture" id=13]
[node name="CanvasLayer" type="CanvasLayer"]
[node name="Control" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 4.0
margin_right = -4.0
margin_bottom = -4.0
theme = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TabContainer" type="TabContainer" parent="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
custom_colors/font_color_bg = Color( 0.454902, 0.337255, 0.607843, 1 )
custom_colors/font_color_fg = Color( 0.454902, 0.337255, 0.607843, 1 )
all_tabs_in_front = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Main Menu" type="Tabs" parent="Control/TabContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 39.0
margin_right = -4.0
margin_bottom = -4.0
theme = ExtResource( 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="Control/TabContainer/Main Menu"]
anchor_right = 1.0
anchor_bottom = 1.0
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="Control/TabContainer/Main Menu/VBoxContainer"]
margin_top = 133.0
margin_right = 368.0
margin_bottom = 165.0
alignment = 1
[node name="SFX Volume" parent="Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 9 )]
margin_left = 64.0
margin_right = 164.0
custom_icons/grabber_highlight = ExtResource( 13 )
custom_icons/grabber = ExtResource( 12 )
bus_channel = "SFX"
[node name="Music Volume" parent="Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 9 )]
margin_left = 168.0
margin_right = 268.0
custom_icons/grabber_highlight = ExtResource( 11 )
custom_icons/grabber = ExtResource( 10 )
bus_channel = "Music"
[node name="FullscreenButton" parent="Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 5 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 272.0
margin_right = 304.0
margin_bottom = 32.0
[node name="Levels" type="Tabs" parent="Control/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 39.0
margin_right = -4.0
margin_bottom = -4.0
theme = ExtResource( 1 )
[node name="HBoxContainer" type="HBoxContainer" parent="Control/TabContainer/Levels"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 4
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LevelInfo" parent="Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 7 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 55.0
margin_right = 172.0
margin_bottom = 165.0
[node name="LevelList" parent="Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 2 )]
[node name="Transition" parent="." instance=ExtResource( 3 )]
[node name="Cannon" parent="." instance=ExtResource( 4 )]
visible = false