More tweaks but broke the enemy script

This commit is contained in:
derek
2024-12-03 13:27:44 -06:00
parent 299257e0d9
commit ad11da38f8
23 changed files with 194 additions and 86 deletions

47
ClearData.tscn Normal file
View File

@@ -0,0 +1,47 @@
[gd_scene load_steps=3 format=3 uid="uid://jkbxygidk6ju"]
[ext_resource type="Script" path="res://scripts/clear_user_data.gd" id="1_4cwiv"]
[ext_resource type="FontFile" uid="uid://d2h2tjhxiv5wo" path="res://assets/fonts/White On Black.ttf" id="2_avdyn"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_4cwiv")
[node name="MarginContainer" type="MarginContainer" 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 = -277.018
offset_top = -174.68
offset_right = 277.018
offset_bottom = 174.68
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="ClearData" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_avdyn")
theme_override_font_sizes/font_size = 150
text = "Clear save Data"
[node name="ClearPersistentData" type="Button" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_avdyn")
theme_override_font_sizes/font_size = 150
text = "clear persistent data"
[connection signal="pressed" from="MarginContainer/VBoxContainer/ClearData" to="." method="_on_clear_data_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/ClearPersistentData" to="." method="_on_clear_persistent_data_pressed"]