pegchamp/Menu/MainMenu.tscn

144 lines
4.7 KiB
Plaintext

[gd_scene load_steps=14 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://Menu/MainMenuCam.gd" type="Script" id=4]
[ext_resource path="res://Menu/Buttons/Fullscreen/FullscreenButton.tscn" type="PackedScene" id=5]
[ext_resource path="res://Menu/Buttons/CameraFXButton.tscn" type="PackedScene" id=6]
[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]
[ext_resource path="res://Effects/Background.tscn" type="PackedScene" id=14]
[node name="Node2D" type="Node2D"]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="CanvasLayer"]
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="CanvasLayer/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="CanvasLayer/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="CanvasLayer/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="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer"]
margin_top = 125.0
margin_right = 368.0
margin_bottom = 165.0
alignment = 1
[node name="SFX Volume" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 9 )]
margin_right = 100.0
margin_bottom = 40.0
rect_min_size = Vector2( 100, 40 )
custom_icons/grabber_highlight = ExtResource( 13 )
custom_icons/grabber = ExtResource( 12 )
bus_channel = "SFX"
[node name="Music Volume" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 9 )]
margin_left = 104.0
margin_right = 204.0
margin_bottom = 40.0
rect_min_size = Vector2( 100, 40 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_icons/grabber_highlight = ExtResource( 11 )
custom_icons/grabber = ExtResource( 10 )
bus_channel = "Music"
[node name="FullscreenButton" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 5 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 208.0
margin_right = 286.0
margin_bottom = 40.0
size_flags_horizontal = 3
size_flags_vertical = 4
theme = ExtResource( 1 )
align = 2
[node name="CameraFXButton" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 6 )]
[node name="Levels" type="Tabs" parent="CanvasLayer/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="CanvasLayer/Control/TabContainer/Levels"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 4
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LevelList" parent="CanvasLayer/Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 2 )]
margin_left = 0.0
margin_right = 192.0
[node name="LevelInfo" parent="CanvasLayer/Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 7 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 196.0
margin_right = 313.0
margin_bottom = 165.0
[node name="Transition" parent="CanvasLayer" instance=ExtResource( 3 )]
[node name="MainMenuCam" type="Camera2D" parent="."]
pause_mode = 2
current = true
zoom = Vector2( 0.975, 0.975 )
limit_left = 0
limit_top = 0
limit_right = 384
limit_bottom = 216
limit_smoothed = true
smoothing_enabled = true
smoothing_speed = 2.4
script = ExtResource( 4 )
[node name="Background" parent="." instance=ExtResource( 14 )]