space-ace/main/main.tscn

118 lines
4.1 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://bqog7ox0s4271"]
[ext_resource type="Script" path="res://main/main.gd" id="1_7h6yl"]
[ext_resource type="Texture2D" uid="uid://baa06eof3elbc" path="res://assets/backgrounds/GalaxyUno.png" id="1_vrstm"]
[ext_resource type="Texture2D" uid="uid://d3q42ga40cxwc" path="res://assets/backgrounds/spr_stars01.png" id="2_w0gbp"]
[ext_resource type="Texture2D" uid="uid://dh40gp276y6p6" path="res://assets/backgrounds/spr_stars02.png" id="3_raap8"]
[ext_resource type="FontFile" uid="uid://brmbgndsb06mf" path="res://assets/fonts/LuckiestGuy-Regular.ttf" id="4_kce37"]
[ext_resource type="Texture2D" uid="uid://0gov7up8bjl2" path="res://assets/ui/blue_button00.png" id="5_3an2j"]
[ext_resource type="Texture2D" uid="uid://0xhwfga2niv0" path="res://assets/ui/yellow_button00.png" id="6_2s8so"]
[ext_resource type="Texture2D" uid="uid://f0hfupp7c0pm" path="res://assets/ui/green_button00.png" id="7_u2my6"]
[ext_resource type="LabelSettings" uid="uid://dc0krwqx2ans1" path="res://assets/GN_32white.tres" id="8_wopjw"]
[ext_resource type="PackedScene" uid="uid://dvahuxkl8fvi2" path="res://sun/sun.tscn" id="9_a8ikn"]
[sub_resource type="LabelSettings" id="LabelSettings_8d6jj"]
font = ExtResource("4_kce37")
font_size = 72
font_color = Color(1.07297e-07, 0.665095, 0.665624, 1)
outline_size = 2
outline_color = Color(1, 1, 0.298039, 1)
[node name="main" type="Node2D"]
script = ExtResource("1_7h6yl")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = -1
[node name="TextureRect" type="TextureRect" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_vrstm")
[node name="TextureRect2" type="TextureRect" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_w0gbp")
[node name="TextureRect3" type="TextureRect" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_raap8")
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 24
theme_override_constants/margin_top = 24
theme_override_constants/margin_right = 24
theme_override_constants/margin_bottom = 24
[node name="Label" type="Label" parent="CanvasLayer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 0
text = "SPACE ACE
(ish)"
label_settings = SubResource("LabelSettings_8d6jj")
horizontal_alignment = 1
vertical_alignment = 1
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
theme_override_constants/separation = 24
[node name="PlayButton" type="TextureButton" parent="CanvasLayer/MarginContainer/VBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("5_3an2j")
texture_pressed = ExtResource("6_2s8so")
texture_hover = ExtResource("7_u2my6")
[node name="Label" type="Label" parent="CanvasLayer/MarginContainer/VBoxContainer/PlayButton"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Play"
label_settings = ExtResource("8_wopjw")
horizontal_alignment = 1
vertical_alignment = 1
[node name="ExitButton" type="TextureButton" parent="CanvasLayer/MarginContainer/VBoxContainer"]
layout_mode = 2
texture_normal = ExtResource("5_3an2j")
texture_pressed = ExtResource("6_2s8so")
texture_hover = ExtResource("7_u2my6")
[node name="Label" type="Label" parent="CanvasLayer/MarginContainer/VBoxContainer/ExitButton"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Exit"
label_settings = ExtResource("8_wopjw")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Sun" parent="." instance=ExtResource("9_a8ikn")]
position = Vector2(24, 24)
scale = Vector2(0.3, 0.3)
[connection signal="pressed" from="CanvasLayer/MarginContainer/VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]