Gamepad support

This commit is contained in:
Rendo 2025-07-28 05:07:37 +05:00
commit ed369cf718
24 changed files with 240 additions and 78 deletions

View file

@ -21,7 +21,7 @@ atlas = ExtResource("3_ktw4a")
region = Rect2(525, 241, 79, 72)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ktw4a"]
size = Vector2(37, 66)
size = Vector2(39.5, 66)
[sub_resource type="AtlasTexture" id="AtlasTexture_3hyni"]
atlas = ExtResource("3_ktw4a")
@ -40,7 +40,7 @@ position = Vector2(8, -16)
texture = SubResource("AtlasTexture_f4wwx")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" index="0"]
position = Vector2(-2, -13)
position = Vector2(-0.75, -13)
shape = SubResource("RectangleShape2D_ktw4a")
[node name="DragAction" type="Node" parent="Hitbox" index="1"]

View file

@ -54,6 +54,7 @@ material = SubResource("ShaderMaterial_yfuxj")
texture = ExtResource("2_ffrjr")
hframes = 10
vframes = 2
frame = 6
[node name="AnimationPlayer" parent="." index="1"]
libraries = {