Contours des plantes et collisions

* nouveaux sprites avec contours pour les plantes
* les sprites de plantes peuvent être aléatoirement flips
* ajout de collisions aux portes
This commit is contained in:
Altaezio
2026-03-21 12:32:56 +01:00
parent 4b16d52740
commit cdb8926d88
127 changed files with 2169 additions and 1111 deletions

View File

@@ -112,6 +112,10 @@ fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1, 0.5)
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6w4e0"]
radius = 38.0
height = 80.0
[node name="Door" type="Area2D" unique_id=2053096538]
script = ExtResource("1_8kdwv")
icon = ExtResource("2_6w4e0")
@@ -126,7 +130,7 @@ unique_name_in_owner = true
scale = Vector2(0.33, 0.33)
sprite_frames = SubResource("SpriteFrames_4aafg")
animation = &"closed"
frame_progress = 0.99532324
frame_progress = 0.78603315
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1875435966]
position = Vector2(0.99999994, -41)
@@ -143,3 +147,9 @@ texture = ExtResource("2_6w4e0")
position = Vector2(5.684342e-14, 2.2737368e-13)
scale = Vector2(0.33, 0.33)
texture = ExtResource("12_6w4e0")
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=521638741]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=676936346]
position = Vector2(0, 12)
shape = SubResource("CapsuleShape2D_6w4e0")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB