1
0
Fork 0
This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
pacifist-jam/game/menu/MainMenu.tscn
2022-08-01 01:42:02 +02:00

236 lines
5 KiB
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://game/menu/CreditsPopup.gd" type="Script" id=2]
[ext_resource path="res://game/ui-theme/ui_theme.tres" type="Theme" id=3]
[ext_resource path="res://game/menu/MainMenu.gd" type="Script" id=4]
[ext_resource path="res://game/ui-theme/panel_style_popup.tres" type="StyleBox" id=5]
[node name="MainMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource( 3 )
script = ExtResource( 4 )
[node name="Background" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
expand = true
stretch_mode = 7
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="VersionLabel" type="Label" parent="."]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = -64.0
margin_right = 512.0
margin_bottom = -8.0
grow_vertical = 0
text = "v0.1.0"
valign = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TitleLabel" type="RichTextLabel" parent="."]
anchor_left = 0.05
anchor_top = 0.1
anchor_right = 0.95
anchor_bottom = 0.5
theme = ExtResource( 3 )
bbcode_enabled = true
bbcode_text = "[center][/center]"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_left = 0.5
anchor_top = 0.6
anchor_right = 0.5
anchor_bottom = 0.9
margin_left = -128.0
margin_right = 128.0
grow_horizontal = 2
theme = ExtResource( 3 )
custom_constants/separation = 10
[node name="PlayButton" type="Button" parent="VBoxContainer"]
margin_right = 256.0
margin_bottom = 27.0
text = "Play"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CreditsButton" type="Button" parent="VBoxContainer"]
margin_top = 37.0
margin_right = 256.0
margin_bottom = 64.0
text = "Credits"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="QuitButton" type="Button" parent="VBoxContainer"]
margin_top = 74.0
margin_right = 256.0
margin_bottom = 101.0
text = "Quit"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CreditsPopup" type="Popup" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="CreditsPopup"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -320.0
margin_top = -224.0
margin_right = 320.0
margin_bottom = 224.0
grow_horizontal = 2
grow_vertical = 2
custom_styles/panel = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RichTextLabel" type="RichTextLabel" parent="CreditsPopup/Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 16.0
margin_top = 16.0
margin_right = -16.0
margin_bottom = -54.0
bbcode_enabled = true
bbcode_text = "[center]Created by
[b][url=https://outfrost.itch.io/]Outfrost[/url][/b]
With music and sound design by
[b][url=https://www.youtube.com/channel/UCZ5sx3Ym-vUOAsr2yDQFpfg]Marek Domagała[/url][/b]
A [url=https://itch.io/jam/honest-jam-4]The Pacifist Jam (Honest Jam IV)[/url] game
Made with [url=https://godotengine.org/]Godot[/url][/center]"
text = "Created by
Outfrost
With music and sound design by
Marek Domagała
A The Pacifist Jam (Honest Jam IV) game
Made with Godot"
[node name="CloseButton" type="Button" parent="CreditsPopup/Panel"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -176.0
margin_top = -38.0
margin_right = -16.0
margin_bottom = -16.0
text = "Close"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -338.0
margin_top = -113.0
margin_right = -213.0
margin_bottom = -94.0
text = "Mouse sensitivity"
[node name="MouseSensSlider" type="HSlider" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -340.0
margin_top = -91.0
margin_right = -112.0
margin_bottom = -68.0
max_value = 10.0
step = 0.0
value = 1.0
scrollable = false
[node name="MouseSensEdit" type="TextEdit" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -101.0
margin_top = -96.0
margin_right = -18.0
margin_bottom = -68.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "1.0"
[node name="Label2" type="Label" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -339.0
margin_top = -62.0
margin_right = -214.0
margin_bottom = -43.0
text = "Volume"
[node name="VolumeSlider" type="HSlider" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -340.0
margin_top = -41.0
margin_right = -112.0
margin_bottom = -17.0
max_value = 1.0
step = 0.0
value = 0.5
scrollable = false
[node name="VolumeEdit" type="TextEdit" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -101.0
margin_top = -46.0
margin_right = -18.0
margin_bottom = -18.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "0.5"