From b1ad6a28e2b0e44ffcd36909efd66c05701baad6 Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sun, 17 Jul 2022 14:27:39 +0200 Subject: how to play in main menu --- godot/scenes/Menu.tscn | 133 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 132 insertions(+), 1 deletion(-) (limited to 'godot/scenes/Menu.tscn') diff --git a/godot/scenes/Menu.tscn b/godot/scenes/Menu.tscn index 8ee96d2..b3e0311 100644 --- a/godot/scenes/Menu.tscn +++ b/godot/scenes/Menu.tscn @@ -1,7 +1,11 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=7 format=2] [ext_resource path="res://assets/theme.tres" type="Theme" id=1] [ext_resource path="res://scenes/Menu.gd" type="Script" id=2] +[ext_resource path="res://assets/Images/icons8-maus-26.png" type="Texture" id=3] +[ext_resource path="res://assets/Images/icons8-mausklick-links-26.png" type="Texture" id=4] +[ext_resource path="res://assets/Images/icons8-esc-80.png" type="Texture" id=5] +[ext_resource path="res://assets/Images/Tab.png" type="Texture" id=6] [node name="Menu" type="Control"] anchor_right = 1.0 @@ -88,5 +92,132 @@ https://freesound.org/s/586838/ " fit_content_height = true +[node name="Label2" type="Label" parent="."] +anchor_left = 0.05 +anchor_top = 0.2 +anchor_right = 0.3 +anchor_bottom = 0.2 +margin_bottom = 51.0 +theme = ExtResource( 1 ) +text = "HOW TO PLAY" +align = 1 + +[node name="VBoxContainer2" type="VBoxContainer" parent="."] +anchor_left = 0.05 +anchor_top = 0.25 +anchor_right = 0.3 +anchor_bottom = 0.7 + +[node name="Control" type="Control" parent="VBoxContainer2"] +margin_right = 480.0 +margin_bottom = 80.0 +rect_min_size = Vector2( 480, 80 ) + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer2/Control"] +anchor_top = 0.15 +anchor_right = 0.4 +anchor_bottom = 0.85 +texture = ExtResource( 3 ) +stretch_mode = 6 + +[node name="Label" type="Label" parent="VBoxContainer2/Control"] +anchor_left = 0.4 +anchor_right = 1.0 +anchor_bottom = 1.0 +text = "Move the mouse to look around." +valign = 1 + +[node name="Control2" type="Control" parent="VBoxContainer2"] +margin_top = 84.0 +margin_right = 480.0 +margin_bottom = 164.0 +rect_min_size = Vector2( 480, 80 ) + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer2/Control2"] +anchor_top = 0.15 +anchor_right = 0.4 +anchor_bottom = 0.85 +texture = ExtResource( 4 ) +stretch_mode = 6 + +[node name="Label" type="Label" parent="VBoxContainer2/Control2"] +anchor_left = 0.4 +anchor_right = 1.0 +anchor_bottom = 1.0 +text = "Use Left Click and drag the mouse backwards to power up the shot." +valign = 1 +autowrap = true + +[node name="Control3" type="Control" parent="VBoxContainer2"] +margin_top = 168.0 +margin_right = 480.0 +margin_bottom = 248.0 +rect_min_size = Vector2( 480, 80 ) + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer2/Control3"] +anchor_top = 0.15 +anchor_right = 0.4 +anchor_bottom = 0.85 +texture = ExtResource( 4 ) +stretch_mode = 6 + +[node name="Label" type="Label" parent="VBoxContainer2/Control3"] +anchor_left = 0.4 +anchor_right = 1.0 +anchor_bottom = 1.0 +text = "Release the Mouse Button to shoot." +valign = 1 +autowrap = true + +[node name="Control4" type="Control" parent="VBoxContainer2"] +margin_top = 252.0 +margin_right = 480.0 +margin_bottom = 277.0 +rect_min_size = Vector2( 480, 25 ) + +[node name="Control5" type="Control" parent="VBoxContainer2"] +margin_top = 281.0 +margin_right = 480.0 +margin_bottom = 361.0 +rect_min_size = Vector2( 480, 80 ) + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer2/Control5"] +anchor_top = 0.15 +anchor_right = 0.4 +anchor_bottom = 0.85 +margin_bottom = 24.0 +texture = ExtResource( 5 ) +stretch_mode = 4 + +[node name="Label" type="Label" parent="VBoxContainer2/Control5"] +anchor_left = 0.4 +anchor_right = 1.0 +anchor_bottom = 1.0 +text = "Press Escape to Pause the game" +valign = 1 +autowrap = true + +[node name="Control6" type="Control" parent="VBoxContainer2"] +margin_top = 365.0 +margin_right = 480.0 +margin_bottom = 445.0 +rect_min_size = Vector2( 480, 80 ) + +[node name="TextureRect" type="TextureRect" parent="VBoxContainer2/Control6"] +anchor_top = 0.15 +anchor_right = 0.4 +anchor_bottom = 0.85 +margin_bottom = 24.0 +texture = ExtResource( 6 ) +stretch_mode = 4 + +[node name="Label" type="Label" parent="VBoxContainer2/Control6"] +anchor_left = 0.4 +anchor_right = 1.0 +anchor_bottom = 1.0 +text = "Press Tab to see your current score" +valign = 1 +autowrap = true + [connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"] [connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"] -- cgit