FlatWhite/mainmenu.tscn

139 lines
3.2 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
use_mipmaps = false
use_filter = false
font_data = ExtResource( 4 )
_sections_unfolded = [ "Font", "Settings" ]
[node name="mainmenu" type="Node2D"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="." index="0"]
position = Vector2( 304, 240 )
texture = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="Spiny" type="Sprite" parent="." index="1"]
position = Vector2( 304, 208 )
scale = Vector2( 3.5, 3.5 )
texture = ExtResource( 3 )
_sections_unfolded = [ "Animation", "Offset", "Region" ]
__meta__ = {
"_edit_lock_": true
}
[node name="highscore" type="Label" parent="Spiny" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = -9.0
margin_top = -9.0
margin_right = 9.0
margin_bottom = 9.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 5
size_flags_vertical = 4
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "0"
align = 1
valign = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
_sections_unfolded = [ "Size Flags", "Theme", "custom_colors", "custom_fonts" ]
__meta__ = {
"_edit_lock_": true
}
[node name="Label" type="Label" parent="." index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 240.0
margin_top = 288.0
margin_right = 373.0
margin_bottom = 302.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "Press Space to Begin"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
__meta__ = {
"_edit_lock_": true
}
[node name="blank" type="Sprite" parent="." index="3"]
position = Vector2( -16, 0 )
scale = Vector2( 40, 30 )
texture = ExtResource( 3 )
centered = false
flip_v = true
script = ExtResource( 5 )
_sections_unfolded = [ "Offset", "Transform" ]
[node name="Tween" type="Tween" parent="blank" index="0"]
repeat = false
playback_process_mode = 1
playback_speed = 1.0
playback/active = false
playback/repeat = false
playback/speed = 1.0
[node name="Label2" type="Label" parent="." index="4"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 32.0
margin_top = 416.0
margin_right = 370.0
margin_bottom = 498.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
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)
"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[connection signal="tween_completed" from="blank/Tween" to="." method="_on_Tween_tween_completed"]