diff options
author | 2022-07-17 15:10:33 +0200 | |
---|---|---|
committer | 2022-07-17 15:10:33 +0200 | |
commit | cbb2770401241f864fc0df712e27a3a84572e499 (patch) | |
tree | 3a61589e0e523bf11172859f5bcb4a8d1f5f2f03 /godot/scenes/Menu.tscn | |
parent | 1b015a5989a3da04f08aaa06db444c875ea97df1 (diff) | |
parent | 9e9101b8c27d723696367692ac7ba24e5248ce37 (diff) | |
download | 2022-cbb2770401241f864fc0df712e27a3a84572e499.tar.gz 2022-cbb2770401241f864fc0df712e27a3a84572e499.tar.bz2 2022-cbb2770401241f864fc0df712e27a3a84572e499.zip |
Merge branch 'main' of codeberg.org:code-your-friends/gmtk2022
Diffstat (limited to 'godot/scenes/Menu.tscn')
-rw-r--r-- | godot/scenes/Menu.tscn | 133 |
1 files changed, 132 insertions, 1 deletions
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"] |