enabled enforced static typing
This commit is contained in:
@ -13,6 +13,34 @@ script = ExtResource("1_oxg0p")
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColumnLabels" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Action" type="Label" parent="ColumnLabels"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Action"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ButtonLabels" type="HBoxContainer" parent="ColumnLabels"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="PrimaryBind" type="Label" parent="ColumnLabels/ButtonLabels"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Primary Bind"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="SecondaryBind" type="Label" parent="ColumnLabels/ButtonLabels"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Secondary Bind"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dsydnch32qh2h"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dsydnch32qh2h"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/lost_game_screen.gd" id="1_1pne8"]
|
||||
[ext_resource type="AudioStream" uid="uid://dknygn5eyuhxt" path="res://shot1.wav" id="2_sjvor"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5hp43bm07b8a" path="res://h_box_container.tscn" id="3_ynscm"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_ddnd1"]
|
||||
random_pitch = 1.1
|
||||
@ -17,6 +18,7 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_1pne8")
|
||||
box = ExtResource("3_ynscm")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
@ -113,6 +115,19 @@ text = "Quit to main menu"
|
||||
stream = SubResource("AudioStreamRandomizer_ddnd1")
|
||||
bus = &"SFX"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -20.0
|
||||
offset_top = -40.0
|
||||
offset_right = 20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
|
||||
[connection signal="mouse_entered" from="HBoxContainer/RestartButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="HBoxContainer/RestartButton" to="." method="_on_restart_button_pressed"]
|
||||
[connection signal="mouse_entered" from="HBoxContainer/QuitButton" to="." method="_on_button_mouse_entered"]
|
||||
|
@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ce0m8vbjbng6o"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://ce0m8vbjbng6o"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/won_game_screen.gd" id="1_oa7nq"]
|
||||
[ext_resource type="AudioStream" uid="uid://dknygn5eyuhxt" path="res://shot1.wav" id="2_553mv"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5hp43bm07b8a" path="res://h_box_container.tscn" id="2_xm8em"]
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_dram5"]
|
||||
random_pitch = 1.1
|
||||
@ -17,6 +18,7 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_oa7nq")
|
||||
box = ExtResource("2_xm8em")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
@ -113,6 +115,19 @@ text = "quit to main menu :<"
|
||||
stream = SubResource("AudioStreamRandomizer_dram5")
|
||||
bus = &"SFX"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -20.0
|
||||
offset_top = -40.0
|
||||
offset_right = 20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
|
||||
[connection signal="mouse_entered" from="HBoxContainer/PlayButton" to="." method="_on_button_mouse_entered"]
|
||||
[connection signal="pressed" from="HBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
|
||||
[connection signal="mouse_entered" from="HBoxContainer/QuitButton" to="." method="_on_button_mouse_entered"]
|
||||
|
37
Scenes/UI/keybind_entry.tscn
Normal file
37
Scenes/UI/keybind_entry.tscn
Normal file
@ -0,0 +1,37 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://ckuu2y4kymshy"]
|
||||
|
||||
[ext_resource type="Script" path="res://KeybindEntry.gd" id="1_it8q2"]
|
||||
|
||||
[node name="KeybindEntry" type="HBoxContainer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_it8q2")
|
||||
|
||||
[node name="ActionName" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Action Name"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Buttons" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="PrimaryBind" type="Button" parent="Buttons"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[node name="SecondaryBind" type="Button" parent="Buttons"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
icon_alignment = 1
|
||||
expand_icon = true
|
||||
|
||||
[connection signal="pressed" from="Buttons/PrimaryBind" to="." method="_on_primary_bind_pressed"]
|
||||
[connection signal="pressed" from="Buttons/SecondaryBind" to="." method="_on_secondary_bind_pressed"]
|
@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://8d452unjpoiu"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/inventory.gd" id="1_6ftnx"]
|
||||
[ext_resource type="Resource" uid="uid://deer0awg4d18o" path="res://PCs/Universal/ClassCards/Assault/card_assault.tres" id="2_hayav"]
|
||||
[ext_resource type="Resource" uid="uid://bibx2my7igspq" path="res://PCs/Universal/ClassCards/Fireball/card_fireball.tres" id="3_sq8ai"]
|
||||
[ext_resource type="Resource" uid="uid://b3o112jw3loiu" path="res://PCs/Universal/ClassCards/Reactor/card_reactor.tres" id="4_3jmlk"]
|
||||
[ext_resource type="Resource" uid="uid://deer0awg4d18o" path="res://PCs/Mechanic/ClassCards/Assault/card_assault.tres" id="2_hayav"]
|
||||
[ext_resource type="Resource" uid="uid://bibx2my7igspq" path="res://PCs/Mage/ClassCards/Fireball/card_fireball.tres" id="3_sq8ai"]
|
||||
[ext_resource type="Resource" uid="uid://b3o112jw3loiu" path="res://PCs/Mechanic/ClassCards/Reactor/card_reactor.tres" id="4_3jmlk"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_lscco"]
|
||||
|
||||
|
Reference in New Issue
Block a user