From c780c7ad5774d6c047f11c7d152652f060e9123a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 20 Nov 2022 04:05:43 +0100 Subject: [PATCH] Improve the menu --- Objects/Menu.tscn | 202 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 186 insertions(+), 16 deletions(-) diff --git a/Objects/Menu.tscn b/Objects/Menu.tscn index 8712a0d..c579a91 100644 --- a/Objects/Menu.tscn +++ b/Objects/Menu.tscn @@ -1,9 +1,17 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=17 format=2] [ext_resource path="res://Fonts/LiberationMono-Bold.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://Sprites/Gatto/gatto_dx.png" type="Texture" id=2] [ext_resource path="res://Resources/ryg_logo.png" type="Texture" id=3] [ext_resource path="res://Music/Robobozo.ogg" type="AudioStream" id=4] [ext_resource path="res://Objects/ScrollingObjects/PlayButton.tscn" type="PackedScene" id=5] +[ext_resource path="res://Sprites/lööp.png" type="Texture" id=6] +[ext_resource path="res://Sprites/press_pipes.png" type="Texture" id=7] +[ext_resource path="res://Sprites/laser_beam.png" type="Texture" id=8] +[ext_resource path="res://Sprites/laser_beam_continuous.png" type="Texture" id=9] +[ext_resource path="res://Sprites/press_bottom.png" type="Texture" id=10] +[ext_resource path="res://Sprites/wall-clocks.png" type="Texture" id=11] +[ext_resource path="res://Sprites/Gatto/zampe_dx_1.png" type="Texture" id=12] [sub_resource type="DynamicFont" id=1] size = 32 @@ -13,16 +21,25 @@ font_data = ExtResource( 1 ) size = 256 font_data = ExtResource( 1 ) +[sub_resource type="DynamicFont" id=3] +font_data = ExtResource( 1 ) + +[sub_resource type="DynamicFont" id=4] +size = 24 +font_data = ExtResource( 1 ) + [node name="Menu" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 +[node name="Wall-clocks" type="Sprite" parent="."] +modulate = Color( 0.101961, 0.0627451, 0.027451, 1 ) +position = Vector2( 640, 360 ) +texture = ExtResource( 11 ) + [node name="CenterContainer" type="CenterContainer" parent="."] margin_right = 1280.0 margin_bottom = 120.0 -__meta__ = { -"_edit_use_anchors_": false -} [node name="Label" type="Label" parent="CenterContainer"] margin_left = 535.0 @@ -38,9 +55,6 @@ valign = 1 margin_top = 120.0 margin_right = 1280.0 margin_bottom = 440.0 -__meta__ = { -"_edit_use_anchors_": false -} [node name="Label2" type="Label" parent="CenterContainer2"] margin_left = 255.0 @@ -48,21 +62,177 @@ margin_top = 14.0 margin_right = 1025.0 margin_bottom = 305.0 custom_fonts/font = SubResource( 2 ) -text = "LÖÖPS" +text = "LOOPS" align = 1 valign = 1 +[node name="GattoDx" type="Sprite" parent="CenterContainer2/Label2"] +position = Vector2( 85, 165 ) +texture = ExtResource( 2 ) + +[node name="ZampeDx1" type="Sprite" parent="CenterContainer2/Label2"] +position = Vector2( 85, 164 ) +texture = ExtResource( 12 ) + +[node name="PressBottom" type="Sprite" parent="CenterContainer2/Label2"] +position = Vector2( 696, -10 ) +texture = ExtResource( 10 ) + +[node name="PressPipes" type="Sprite" parent="CenterContainer2/Label2"] +position = Vector2( 694, -107 ) +scale = Vector2( 1, 2 ) +texture = ExtResource( 7 ) + +[node name="Lööp" type="Sprite" parent="CenterContainer2/Label2"] +modulate = Color( 1, 0.686275, 0.686275, 1 ) +position = Vector2( 204, 21 ) +texture = ExtResource( 6 ) + +[node name="Lööp2" type="Sprite" parent="CenterContainer2/Label2"] +modulate = Color( 0.843137, 1, 0.690196, 1 ) +position = Vector2( 257, 21 ) +texture = ExtResource( 6 ) + +[node name="Lööp3" type="Sprite" parent="CenterContainer2/Label2"] +modulate = Color( 0.69, 1, 1, 1 ) +position = Vector2( 359, 21 ) +texture = ExtResource( 6 ) + +[node name="Lööp4" type="Sprite" parent="CenterContainer2/Label2"] +modulate = Color( 0.845, 0.69, 1, 1 ) +position = Vector2( 412, 21 ) +texture = ExtResource( 6 ) + +[node name="LaserBeam" type="Sprite" parent="CenterContainer2/Label2"] +position = Vector2( 542, 3.175 ) +texture = ExtResource( 8 ) + +[node name="LaserBeamContinuous" type="Sprite" parent="CenterContainer2/Label2"] +position = Vector2( 544, -122.825 ) +scale = Vector2( 1, 2.925 ) +texture = ExtResource( 9 ) +offset = Vector2( 0, 9 ) + [node name="Button" parent="." instance=ExtResource( 5 )] -[node name="TextureRect" type="TextureRect" parent="."] -margin_left = 1080.0 -margin_top = 520.0 -margin_right = 1240.0 -margin_bottom = 680.0 +[node name="RYG" type="VBoxContainer" parent="."] +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -180.0 +margin_top = -203.0 +margin_right = -20.0 +margin_bottom = -20.0 + +[node name="Label" type="Label" parent="RYG"] +margin_right = 160.0 +margin_bottom = 19.0 +custom_colors/font_color = Color( 0.996078, 0.929412, 0.705882, 1 ) +custom_fonts/font = SubResource( 3 ) +text = "RYG" +align = 1 +valign = 1 + +[node name="Logo" type="TextureRect" parent="RYG"] +margin_top = 23.0 +margin_right = 160.0 +margin_bottom = 183.0 texture = ExtResource( 3 ) -__meta__ = { -"_edit_use_anchors_": false -} + +[node name="Creators" type="VBoxContainer" parent="."] +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -316.0 +margin_top = -203.0 +margin_right = -200.0 +margin_bottom = -20.0 + +[node name="CreatedBy" type="Label" parent="Creators"] +margin_right = 116.0 +margin_bottom = 19.0 +custom_colors/font_color = Color( 0.996078, 0.929412, 0.705882, 1 ) +custom_fonts/font = SubResource( 3 ) +text = "Created by" +align = 1 +valign = 1 + +[node name="Spacer" type="Control" parent="Creators"] +margin_top = 23.0 +margin_right = 116.0 +margin_bottom = 25.0 +size_flags_vertical = 3 + +[node name="Steffo" type="Label" parent="Creators"] +margin_top = 29.0 +margin_right = 116.0 +margin_bottom = 57.0 +custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_fonts/font = SubResource( 4 ) +text = "Steffo" +align = 1 +valign = 1 + +[node name="Sensei" type="Label" parent="Creators"] +margin_top = 61.0 +margin_right = 116.0 +margin_bottom = 89.0 +custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_fonts/font = SubResource( 4 ) +text = "Sensei" +align = 1 +valign = 1 + +[node name="Viktya" type="Label" parent="Creators"] +margin_top = 93.0 +margin_right = 116.0 +margin_bottom = 121.0 +custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_fonts/font = SubResource( 4 ) +text = "Viktya" +align = 1 +valign = 1 + +[node name="Cookie" type="Label" parent="Creators"] +margin_top = 125.0 +margin_right = 116.0 +margin_bottom = 153.0 +custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_fonts/font = SubResource( 4 ) +text = "Cookie" +align = 1 +valign = 1 + +[node name="Spacer2" type="Control" parent="Creators"] +margin_top = 157.0 +margin_right = 116.0 +margin_bottom = 160.0 +size_flags_vertical = 3 + +[node name="LD47" type="Label" parent="Creators"] +margin_top = 164.0 +margin_right = 116.0 +margin_bottom = 183.0 +custom_colors/font_color = Color( 0.996078, 0.929412, 0.705882, 1 ) +custom_fonts/font = SubResource( 3 ) +text = "for LD47" +align = 1 +valign = 1 + +[node name="Version" type="Label" parent="."] +anchor_top = 1.0 +anchor_bottom = 1.0 +margin_left = 20.0 +margin_top = -39.0 +margin_right = 60.0 +margin_bottom = -20.0 +custom_colors/font_color = Color( 0.996078, 0.929412, 0.705882, 1 ) +custom_fonts/font = SubResource( 3 ) +text = "v1.2.0" +align = 1 +valign = 1 [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource( 4 )