FlatWhite/mainmenu.tscn

78 lines
1.9 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://mainmenu.gd" type="Script" id=1]
[ext_resource path="res://art/main_menu.png" type="Texture" id=2]
[ext_resource path="res://art/player.png" type="Texture" id=3]
[ext_resource path="res://Data-Control.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://blank.gd" type="Script" id=5]
[sub_resource type="DynamicFont" id=1]
size = 10
font_data = ExtResource( 4 )
[node name="mainmenu" type="Node2D"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 304, 240 )
texture = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="Spiny" type="Sprite" parent="."]
position = Vector2( 304, 208 )
scale = Vector2( 3.5, 3.5 )
texture = ExtResource( 3 )
__meta__ = {
"_edit_lock_": true
}
[node name="highscore" type="Label" parent="Spiny"]
margin_left = -9.0
margin_top = -9.0
margin_right = 9.0
margin_bottom = 9.0
size_flags_horizontal = 5
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 1 )
text = "0"
align = 1
valign = 1
__meta__ = {
"_edit_lock_": true
}
[node name="Label" type="Label" parent="."]
margin_left = 240.0
margin_top = 288.0
margin_right = 373.0
margin_bottom = 302.0
text = "Press Space to Begin"
__meta__ = {
"_edit_lock_": true
}
[node name="blank" type="Sprite" parent="."]
position = Vector2( -16, 0 )
scale = Vector2( 40, 30 )
texture = ExtResource( 3 )
centered = false
flip_v = true
script = ExtResource( 5 )
[node name="Tween" type="Tween" parent="blank"]
[node name="Label2" type="Label" parent="."]
margin_left = 32.0
margin_top = 416.0
margin_right = 370.0
margin_bottom = 498.0
text = "Inspired by: Flappy Bird
Created In: Godot 3 Engine (https://godotengine.org/)
Art: Done In Krita (https://krita.org/en/)
Produced by: En Yi (eyt21@cam.ac.uk)
"
[connection signal="tween_completed" from="blank/Tween" to="." method="_on_Tween_tween_completed"]