Diffstat (limited to 'ui/scenes/StartMenu.tscn')
| -rw-r--r-- | ui/scenes/StartMenu.tscn | 140 |
1 files changed, 71 insertions, 69 deletions
diff --git a/ui/scenes/StartMenu.tscn b/ui/scenes/StartMenu.tscn index 276840e..c36a4fd 100644 --- a/ui/scenes/StartMenu.tscn +++ b/ui/scenes/StartMenu.tscn @@ -1,15 +1,15 @@ [gd_scene load_steps=414 format=2] -[ext_resource path="res://fonts/fonty.tres" type="DynamicFont" id=1] [ext_resource path="res://ui/scripts/StartMenu.gd" type="Script" id=2] [ext_resource path="res://effects/Stars.tscn" type="PackedScene" id=3] -[ext_resource path="res://ui/scenes/MobileControls.tscn" type="PackedScene" id=4] +[ext_resource path="res://ui/scenes/mobile/MobileControls.tscn" type="PackedScene" id=4] [ext_resource path="res://sprites/blackhoole.png" type="Texture" id=5] [ext_resource path="res://fonts/Paskowy.ttf" type="DynamicFontData" id=6] [ext_resource path="res://ui/buttontheme.tres" type="Theme" id=7] [ext_resource path="res://ui/scenes/pause.tscn" type="PackedScene" id=8] [ext_resource path="res://sprites/inputs.png" type="Texture" id=9] [ext_resource path="res://fonts/tiny.tres" type="DynamicFont" id=10] +[ext_resource path="res://fonts/04b-19.tres" type="DynamicFont" id=11] [sub_resource type="ShaderMaterial" id=403] @@ -2043,82 +2043,87 @@ position = Vector2( 42, 138 ) frames = SubResource( 401 ) flip_h = true -[node name="label center" type="Label" parent="." groups=["not_mobile"]] -margin_left = 90.0 -margin_top = 51.0 -margin_right = 290.0 -margin_bottom = 68.0 -custom_colors/font_color_shadow = Color( 0.760784, 0.760784, 0.760784, 0.560784 ) -custom_fonts/font = ExtResource( 1 ) -text = "press " +[node name="start" type="Label" parent="." groups=["not_mobile"]] +margin_left = 66.0 +margin_top = 69.0 +margin_right = 224.0 +margin_bottom = 86.0 +custom_fonts/font = ExtResource( 11 ) +text = "press to play" align = 1 valign = 1 -[node name="space" type="Sprite" parent="label center" groups=["keyboard"]] -position = Vector2( 154, 9 ) +[node name="space" type="Sprite" parent="start" groups=["keyboard"]] +position = Vector2( 70, 8 ) texture = ExtResource( 9 ) region_enabled = true region_rect = Rect2( 0, 64, 48, 16 ) +__meta__ = { +"_edit_group_": true +} -[node name="x" type="Sprite" parent="label center" groups=["gamepad"]] -visible = false -position = Vector2( 139, 9 ) -texture = ExtResource( 9 ) -region_enabled = true -region_rect = Rect2( 32, 112, 16, 16 ) - -[node name="space2" type="Label" parent="label center" groups=["keyboard"]] -margin_left = 131.0 -margin_top = 6.0 -margin_right = 177.0 -margin_bottom = 19.0 +[node name="label" type="Label" parent="start/space"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -24.0 +margin_top = -6.0 +margin_right = -24.0 +margin_bottom = -6.0 custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_fonts/font = ExtResource( 10 ) text = "space " align = 1 -valign = 1 +valign = 2 + +[node name="x" type="Sprite" parent="start" groups=["gamepad"]] +visible = false +position = Vector2( 67, 8 ) +texture = ExtResource( 9 ) +region_enabled = true +region_rect = Rect2( 32, 112, 16, 16 ) [node name="escape" type="Label" parent="." groups=["not_mobile"]] -margin_left = 90.0 -margin_top = 72.0 -margin_right = 290.0 -margin_bottom = 109.0 -custom_colors/font_color_shadow = Color( 0.760784, 0.760784, 0.760784, 0.560784 ) -custom_fonts/font = ExtResource( 1 ) -text = " -press " +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -50.0 +margin_top = 22.0 +margin_right = 70.0 +margin_bottom = 36.0 +custom_fonts/font = ExtResource( 11 ) +text = "press to quit" valign = 1 -__meta__ = { -"_edit_use_anchors_": false -} [node name="esc" type="Sprite" parent="escape" groups=["keyboard"]] -position = Vector2( 84, 30 ) +position = Vector2( 55, 7 ) texture = ExtResource( 9 ) region_enabled = true region_rect = Rect2( 0, 16, 23, 16 ) +__meta__ = { +"_edit_group_": true +} -[node name="b" type="Sprite" parent="escape" groups=["gamepad"]] -visible = false -position = Vector2( 83, 31 ) -texture = ExtResource( 9 ) -region_enabled = true -region_rect = Rect2( 16, 112, 16, 16 ) - -[node name="esc2" type="Label" parent="escape" groups=["keyboard"]] -margin_left = 75.0 -margin_top = 23.0 -margin_right = 93.0 -margin_bottom = 36.0 +[node name="label" type="Label" parent="escape/esc"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -12.0 +margin_top = -8.0 +margin_right = -12.0 +margin_bottom = -8.0 custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_fonts/font = ExtResource( 10 ) text = "esc" align = 1 valign = 1 -__meta__ = { -"_edit_use_anchors_": false -} + +[node name="b" type="Sprite" parent="escape" groups=["gamepad"]] +visible = false +position = Vector2( 54, 24 ) +texture = ExtResource( 9 ) +region_enabled = true +region_rect = Rect2( 16, 112, 16, 16 ) [node name="Stars" parent="." instance=ExtResource( 3 )] @@ -2127,11 +2132,8 @@ anchor_right = 1.0 margin_left = 8.0 margin_top = 15.0 margin_bottom = 32.0 -custom_fonts/font = ExtResource( 1 ) +custom_fonts/font = ExtResource( 11 ) text = "highscore = " -__meta__ = { -"_edit_use_anchors_": false -} [node name="MobileControls" parent="." instance=ExtResource( 4 )] @@ -2157,35 +2159,35 @@ anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 -margin_left = -56.0 +margin_left = -27.0 margin_top = -28.0 -margin_right = 88.0 +margin_right = 137.0 margin_bottom = -11.0 theme = ExtResource( 7 ) -text = "options = " +text = "press for options" align = 1 valign = 2 -[node name="Inputs" type="Sprite" parent="settings"] -position = Vector2( 119, 10 ) +[node name="keyboard" type="Sprite" parent="settings" groups=["keyboard"]] +position = Vector2( 60, 10 ) texture = ExtResource( 9 ) region_enabled = true region_rect = Rect2( 0, 48, 32, 16 ) +__meta__ = { +"_edit_group_": true +} -[node name="backspace" type="Label" parent="settings"] -margin_left = 104.0 -margin_top = 3.0 -margin_right = 134.0 -margin_bottom = 16.0 +[node name="label" type="Label" parent="settings/keyboard"] +margin_left = -15.0 +margin_top = -7.0 +margin_right = 15.0 +margin_bottom = 6.0 custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color_shadow = Color( 0, 0, 0, 0 ) custom_fonts/font = ExtResource( 10 ) text = "back _" align = 1 valign = 1 -__meta__ = { -"_edit_use_anchors_": false -} [node name="pause" parent="." instance=ExtResource( 8 )] visible = false |