first house

This commit is contained in:
2025-10-21 01:30:08 +02:00
parent 191235da54
commit 1fe75a871e
16 changed files with 173 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ motion_mode = 1
script = ExtResource("1_3vyb7")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(-1, -1)
y_sort_enabled = true
sprite_frames = SubResource("SpriteFrames_qhqgy")
animation = &"down"
@@ -115,3 +115,10 @@ shape = SubResource("CapsuleShape2D_3vyb7")
process_callback = 0
drag_horizontal_enabled = true
drag_vertical_enabled = true
[node name="RayCast2D" type="RayCast2D" parent="."]
target_position = Vector2(0, 32)
collision_mask = 2
hit_from_inside = true
collide_with_areas = true
collide_with_bodies = false