pegchamp/Menu/MainMenu.tscn

145 lines
4.7 KiB
Text
Raw Normal View History

2021-10-18 09:27:04 +00:00
[gd_scene load_steps=14 format=2]
2021-09-11 20:35:58 +00:00
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=1]
2021-10-01 15:28:14 +00:00
[ext_resource path="res://Menu/LevelList.tscn" type="PackedScene" id=2]
2021-09-11 20:35:58 +00:00
[ext_resource path="res://Effects/FadeIn.tscn" type="PackedScene" id=3]
2021-10-18 09:27:04 +00:00
[ext_resource path="res://Menu/MainMenuCam.gd" type="Script" id=4]
2021-09-14 10:22:39 +00:00
[ext_resource path="res://Menu/Buttons/Fullscreen/FullscreenButton.tscn" type="PackedScene" id=5]
2021-10-05 19:55:34 +00:00
[ext_resource path="res://Menu/Buttons/CameraFXButton.tscn" type="PackedScene" id=6]
2021-09-14 10:22:39 +00:00
[ext_resource path="res://Menu/LevelInfo.tscn" type="PackedScene" id=7]
2021-09-28 15:55:03 +00:00
[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]
2021-10-18 09:27:04 +00:00
[ext_resource path="res://Effects/Background.tscn" type="PackedScene" id=14]
2021-09-11 20:35:58 +00:00
2021-10-18 09:27:04 +00:00
[node name="Node2D" type="Node2D"]
2021-09-11 20:35:58 +00:00
2021-10-18 09:27:04 +00:00
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="CanvasLayer"]
2021-09-11 20:35:58 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
2021-09-14 10:22:39 +00:00
margin_left = 4.0
margin_top = 4.0
margin_right = -4.0
margin_bottom = -4.0
theme = ExtResource( 1 )
2021-09-11 20:35:58 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-10-18 09:27:04 +00:00
[node name="TabContainer" type="TabContainer" parent="CanvasLayer/Control"]
2021-09-11 20:35:58 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
2021-09-14 10:22:39 +00:00
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
2021-09-11 20:35:58 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-10-18 09:27:04 +00:00
[node name="Main Menu" type="Tabs" parent="CanvasLayer/Control/TabContainer"]
2021-09-11 20:35:58 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
2021-09-14 10:22:39 +00:00
margin_top = 39.0
2021-09-11 20:35:58 +00:00
margin_right = -4.0
margin_bottom = -4.0
theme = ExtResource( 1 )
2021-10-18 09:27:04 +00:00
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Control/TabContainer/Main Menu"]
2021-09-14 10:22:39 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
2021-10-18 09:27:04 +00:00
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer"]
2021-10-05 19:55:34 +00:00
margin_top = 125.0
2021-09-14 10:22:39 +00:00
margin_right = 368.0
margin_bottom = 165.0
2021-09-28 15:55:03 +00:00
alignment = 1
2021-10-18 09:27:04 +00:00
[node name="SFX Volume" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 9 )]
2021-10-05 19:55:34 +00:00
margin_right = 100.0
margin_bottom = 40.0
rect_min_size = Vector2( 100, 40 )
2021-09-28 15:55:03 +00:00
custom_icons/grabber_highlight = ExtResource( 13 )
custom_icons/grabber = ExtResource( 12 )
bus_channel = "SFX"
2021-10-18 09:27:04 +00:00
[node name="Music Volume" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 9 )]
2021-10-05 19:55:34 +00:00
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
2021-09-28 15:55:03 +00:00
custom_icons/grabber_highlight = ExtResource( 11 )
custom_icons/grabber = ExtResource( 10 )
bus_channel = "Music"
2021-09-14 10:22:39 +00:00
2021-10-18 09:27:04 +00:00
[node name="FullscreenButton" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 5 )]
2021-09-14 10:22:39 +00:00
anchor_right = 0.0
anchor_bottom = 0.0
2021-10-05 19:55:34 +00:00
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
2021-10-18 09:27:04 +00:00
[node name="CameraFXButton" parent="CanvasLayer/Control/TabContainer/Main Menu/VBoxContainer/HBoxContainer" instance=ExtResource( 6 )]
2021-09-14 10:22:39 +00:00
2021-10-18 09:27:04 +00:00
[node name="Levels" type="Tabs" parent="CanvasLayer/Control/TabContainer"]
2021-09-11 20:35:58 +00:00
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
2021-09-14 10:22:39 +00:00
margin_top = 39.0
2021-09-11 20:35:58 +00:00
margin_right = -4.0
margin_bottom = -4.0
theme = ExtResource( 1 )
2021-10-18 09:27:04 +00:00
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Control/TabContainer/Levels"]
2021-09-11 20:35:58 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
2021-09-14 10:22:39 +00:00
custom_constants/separation = 4
2021-09-11 20:35:58 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-10-18 09:27:04 +00:00
[node name="LevelList" parent="CanvasLayer/Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 2 )]
2021-10-05 19:55:34 +00:00
margin_left = 0.0
margin_right = 192.0
2021-10-18 09:27:04 +00:00
[node name="LevelInfo" parent="CanvasLayer/Control/TabContainer/Levels/HBoxContainer" instance=ExtResource( 7 )]
2021-09-14 10:22:39 +00:00
anchor_right = 0.0
anchor_bottom = 0.0
2021-10-05 19:55:34 +00:00
margin_left = 196.0
margin_right = 313.0
2021-10-01 15:28:14 +00:00
margin_bottom = 165.0
2021-09-14 10:22:39 +00:00
2021-10-18 09:27:04 +00:00
[node name="Transition" parent="CanvasLayer" instance=ExtResource( 3 )]
[node name="MainMenuCam" type="Camera2D" parent="."]
pause_mode = 2
position = Vector2( 192, 108 )
2021-10-18 09:27:04 +00:00
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 )]