game: add weapon base and sword

This commit is contained in:
2025-08-21 00:32:18 +02:00
parent 156da4898e
commit 8bd7bfa406
21 changed files with 200 additions and 163 deletions

View File

@@ -0,0 +1,11 @@
[gd_scene load_steps=2 format=3 uid="uid://i8mtky2req41"]
[ext_resource type="Script" uid="uid://d6nwfhyethdw" path="res://scenes/weapons/weapon_base.gd" id="1_v4xn6"]
[node name="WeaponBase" type="Node2D"]
script = ExtResource("1_v4xn6")
[node name="AttackCDTimer" type="Timer" parent="."]
autostart = true
[connection signal="timeout" from="AttackCDTimer" to="." method="_on_attack_cd_timer_timeout"]