scpcb-godot/scenes/screens/MainMenu.tscn

82 lines
2.4 KiB
Text
Raw Normal View History

2024-12-23 04:15:54 +00:00
[gd_scene load_steps=9 format=3 uid="uid://q6vlpbkwqld8"]
[ext_resource type="Script" path="res://src/MainMenu.gd" id="1_8bt4a"]
[ext_resource type="Texture2D" uid="uid://cj7hlntw537gg" path="res://GFX/menu/back.jpg" id="1_ybevi"]
[ext_resource type="Shader" path="res://shaders/ScreenPosRepeat.gdshader" id="2_l058n"]
[ext_resource type="Texture2D" uid="uid://bxdd1fe772nkk" path="res://GFX/menu/menuwhite.jpg" id="3_04gt4"]
[ext_resource type="PackedScene" uid="uid://5ktmpg8aurb7" path="res://scenes/gui/Button.tscn" id="5_64ui2"]
[ext_resource type="Texture2D" uid="uid://m5vt8k7uxmvn" path="res://GFX/menu/scptext.jpg" id="5_pf1ov"]
[ext_resource type="FontFile" uid="uid://xe31montgcoo" path="res://GFX/font/cour/Courier New.ttf" id="6_0ky0y"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_eprnr"]
shader = ExtResource("2_l058n")
shader_parameter/loop_texture = ExtResource("3_04gt4")
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_8bt4a")
[node name="Back" type="TextureRect" parent="."]
layout_mode = 1
offset_right = 1280.0
offset_bottom = 960.0
texture = ExtResource("1_ybevi")
expand_mode = 1
[node name="BackColorBar" type="ColorRect" parent="."]
material = SubResource("ShaderMaterial_eprnr")
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Text" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
texture = ExtResource("5_pf1ov")
expand_mode = 1
[node name="Buttons" type="Control" parent="."]
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
2024-12-24 04:44:57 +00:00
[node name="NewGame" parent="Buttons" instance=ExtResource("5_64ui2")]
2024-12-23 04:15:54 +00:00
border_size = 3
font = ExtResource("6_0ky0y")
text = "NEW GAME"
text_size = 58
2024-12-24 04:44:57 +00:00
[node name="LoadGame" parent="Buttons" instance=ExtResource("5_64ui2")]
2024-12-23 04:15:54 +00:00
border_size = 3
font = ExtResource("6_0ky0y")
text = "LOAD GAME"
text_size = 58
2024-12-24 04:44:57 +00:00
[node name="Options" parent="Buttons" instance=ExtResource("5_64ui2")]
2024-12-23 04:15:54 +00:00
border_size = 3
font = ExtResource("6_0ky0y")
text = "OPTIONS"
text_size = 58
2024-12-24 04:44:57 +00:00
[node name="Quit" parent="Buttons" instance=ExtResource("5_64ui2")]
2024-12-23 04:15:54 +00:00
border_size = 3
font = ExtResource("6_0ky0y")
text = "QUIT"
text_size = 58
2024-12-24 04:44:57 +00:00
[node name="JankyFix" type="ColorRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)