hitbox fix

This commit is contained in:
Page Asgardius 2024-06-25 14:08:24 -07:00
parent 0e8a1f6332
commit 300a271d8e
13 changed files with 97 additions and 22 deletions

View file

@ -3,8 +3,8 @@
[ext_resource type="Script" path="res://sprites/common/kimberly/kimberly.gd" id="1_g5qsa"]
[ext_resource type="Texture2D" uid="uid://by7git27p1fp6" path="res://sprites/common/kimberly/sprite.png" id="2_hhs4a"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dj8gt"]
size = Vector2(86, 68)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mcaff"]
size = Vector2(86, 256)
[sub_resource type="Animation" id="Animation_i5rhc"]
length = 0.001
@ -171,8 +171,7 @@ hframes = 3
vframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 94)
shape = SubResource("RectangleShape2D_dj8gt")
shape = SubResource("RectangleShape2D_mcaff")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {

View file

@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://cbiin6eb1jqsh" path="res://sprites/common/midori/sprite.png" id="2_lcff3"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dj8gt"]
size = Vector2(86, 68)
size = Vector2(86, 256)
[sub_resource type="Animation" id="Animation_i5rhc"]
length = 0.001
@ -171,7 +171,6 @@ hframes = 3
vframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 94)
shape = SubResource("RectangleShape2D_dj8gt")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]

View file

@ -3,8 +3,8 @@
[ext_resource type="Script" path="res://sprites/common/natasha/natasha.gd" id="1_kycyt"]
[ext_resource type="Texture2D" uid="uid://7pw16o08gyuk" path="res://sprites/common/natasha/sprite.png" id="2_grplw"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dj8gt"]
size = Vector2(86, 68)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4u51x"]
size = Vector2(86, 256)
[sub_resource type="Animation" id="Animation_i5rhc"]
length = 0.001
@ -172,8 +172,7 @@ hframes = 3
vframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 94)
shape = SubResource("RectangleShape2D_dj8gt")
shape = SubResource("RectangleShape2D_4u51x")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {

View file

@ -2,8 +2,8 @@
[ext_resource type="Script" path="res://sprites/common/player/player.gd" id="1_6vvcv"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dj8gt"]
size = Vector2(86, 68)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6crqd"]
size = Vector2(86, 256)
[sub_resource type="Animation" id="Animation_i5rhc"]
length = 0.001
@ -169,9 +169,7 @@ hframes = 3
vframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 94)
shape = SubResource("RectangleShape2D_dj8gt")
debug_color = Color(0, 1, 0, 1)
shape = SubResource("RectangleShape2D_6crqd")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {