New Icon; Touch Controls; Menu with Help; Added Music
This commit is contained in:
parent
9e3349eec3
commit
e87f8c3756
71 changed files with 1084 additions and 278 deletions
11
scenes/menu/help/Button.tres
Normal file
11
scenes/menu/help/Button.tres
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://drm7nwpd677bf"]
|
||||
|
||||
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_nejn8"]
|
||||
load_path = "res://.godot/imported/Button1.png-365ba86758a2b041f5719410075e763e.ctex"
|
||||
|
||||
[resource]
|
||||
texture = SubResource("CompressedTexture2D_nejn8")
|
||||
texture_margin_left = 10.0
|
||||
texture_margin_top = 10.0
|
||||
texture_margin_right = 10.0
|
||||
texture_margin_bottom = 10.0
|
||||
5
scenes/menu/help/help.gd
Normal file
5
scenes/menu/help/help.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends Control
|
||||
|
||||
|
||||
func _on_button_button_up() -> void:
|
||||
get_parent().loadStartMenu()
|
||||
117
scenes/menu/help/help.tscn
Normal file
117
scenes/menu/help/help.tscn
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://cvx1lyddvb8y5"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/menu/help/help.gd" id="1_c8tk5"]
|
||||
[ext_resource type="Theme" uid="uid://cotw1alu4b2ad" path="res://Theme/MainTheme.tres" id="1_jto7r"]
|
||||
[ext_resource type="Texture2D" uid="uid://nrxf04ju38a3" path="res://Assets/Buttons/LeftArrow.png" id="2_s0e6h"]
|
||||
[ext_resource type="PackedScene" uid="uid://iq8pxx1suuqt" path="res://scenes/menu/background.tscn" id="2_w4woh"]
|
||||
|
||||
[node name="HELP" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("1_jto7r")
|
||||
script = ExtResource("1_c8tk5")
|
||||
|
||||
[node name="Background" parent="." instance=ExtResource("2_w4woh")]
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -500.0
|
||||
offset_top = -500.0
|
||||
offset_right = 500.0
|
||||
offset_bottom = 500.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "KEYBOARD
|
||||
"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -500.0
|
||||
offset_top = -500.0
|
||||
offset_right = 500.0
|
||||
offset_bottom = 500.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
focus_mode = 2
|
||||
bbcode_enabled = true
|
||||
text = "[u][b]Keyboard/Tastatur[/b][/u]
|
||||
|
||||
[b]Move Left[/b]
|
||||
[ul]A[/ul]
|
||||
|
||||
[b]Move Right[/b]
|
||||
[ul]D[/ul]
|
||||
|
||||
[b]Move Up[/b]
|
||||
[ul]W[/ul]
|
||||
|
||||
[b]Move Down[/b]
|
||||
[ul]S[/ul]
|
||||
|
||||
[b]Roll[/b]
|
||||
[ul]R[/ul]
|
||||
[ul]Shift[/ul]
|
||||
|
||||
[b]Pickup[/b]
|
||||
[ul]E[/ul]"
|
||||
selection_enabled = true
|
||||
|
||||
[node name="RichTextLabel2" type="RichTextLabel" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
focus_mode = 2
|
||||
bbcode_enabled = true
|
||||
text = "[u][b]Controller[/b][/u]
|
||||
|
||||
[b]Move Left[/b]
|
||||
[ul]Left Stick Left[/ul]
|
||||
|
||||
[b]Move Right[/b]
|
||||
[ul]Left Stick Right[/ul]
|
||||
|
||||
[b]Move Up[/b]
|
||||
[ul]Left Stick Up[/ul]
|
||||
|
||||
[b]Move Down[/b]
|
||||
[ul]Left Stick Down[/ul]
|
||||
|
||||
[b]Roll[/b]
|
||||
[ul]X (XBOX)[/ul]
|
||||
[ul]Y (Nintendo)[/ul]
|
||||
|
||||
[b]Pickup[/b]
|
||||
[ul]A (XBOX)[/ul]
|
||||
[ul]B (NIntendo)[/ul]
|
||||
"
|
||||
selection_enabled = true
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
offset_left = 16.0
|
||||
offset_top = 16.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = 56.0
|
||||
scale = Vector2(2, 2)
|
||||
icon = ExtResource("2_s0e6h")
|
||||
|
||||
[connection signal="button_up" from="Button" to="." method="_on_button_button_up"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue