oh-my-git/scenes/title.tscn

87 lines
2.3 KiB
Text

[gd_scene load_steps=7 format=2]
[ext_resource path="res://styles/theme.tres" type="Theme" id=1]
[ext_resource path="res://nodes/head.svg" type="Texture" id=2]
[ext_resource path="res://scenes/title.gd" type="Script" id=3]
[ext_resource path="res://fonts/cabin-bold.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=5]
[sub_resource type="DynamicFont" id=1]
size = 80
use_mipmaps = true
use_filter = true
font_data = ExtResource( 4 )
[node name="Title" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
margin_left = 794.213
margin_top = 255.807
margin_right = 1117.21
margin_bottom = 365.807
custom_fonts/font = SubResource( 1 )
text = "Git Guru"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label2" type="Label" parent="."]
margin_left = 773.285
margin_top = 346.274
margin_right = 1114.29
margin_bottom = 402.274
custom_fonts/font = ExtResource( 5 )
custom_colors/font_color = Color( 0.533333, 0.392157, 0.392157, 1 )
text = "by bleeptrack & blinry"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="head" type="Sprite" parent="."]
position = Vector2( 949.453, 168.805 )
texture = ExtResource( 2 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 771.152
margin_top = 416.996
margin_right = 1123.15
margin_bottom = 599.996
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="VBoxContainer"]
margin_right = 351.0
margin_bottom = 39.0
text = "Levels"
[node name="Button3" type="Button" parent="VBoxContainer"]
margin_top = 44.0
margin_right = 351.0
margin_bottom = 83.0
text = "Sandbox"
[node name="Button2" type="Button" parent="VBoxContainer"]
margin_top = 88.0
margin_right = 351.0
margin_bottom = 127.0
text = "Quit"
[connection signal="pressed" from="VBoxContainer/Button" to="." method="levels"]
[connection signal="pressed" from="VBoxContainer/Button3" to="." method="sandbox"]
[connection signal="pressed" from="VBoxContainer/Button2" to="." method="quit"]