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:
@@ -1,26 +1,37 @@
|
||||
[gd_resource type="Resource" script_class="PlantPart" format=3 uid="uid://vlxrq3tw1t6m"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://co46ywm8bgnfh" path="res://entities/plants/scripts/texture_builder/plant_attach.gd" id="1_xjkn4"]
|
||||
[ext_resource type="Script" path="res://entities/plants/scripts/texture_builder/plant_attach.gd" id="1_xjkn4"]
|
||||
[ext_resource type="Script" uid="uid://b3jwglylqdqtw" path="res://entities/plants/scripts/texture_builder/plant_part.gd" id="2_oexr2"]
|
||||
[ext_resource type="Texture2D" uid="uid://b7nfpxk8nfnov" path="res://entities/plants/assets/sprites/asset-plante-fin.png" id="3_xjc6g"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdwmandgxrjgn" path="res://entities/plants/assets/sprites/asset_plantes.png" id="3_xjc6g"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_xjkn4"]
|
||||
script = ExtResource("1_xjkn4")
|
||||
position = Vector2(-56, -60)
|
||||
attach_types = Array[int]([2])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_oexr2"]
|
||||
script = ExtResource("1_xjkn4")
|
||||
position = Vector2(6, -54)
|
||||
position = Vector2(-31, 64)
|
||||
attach_types = Array[int]([2])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_xjc6g"]
|
||||
script = ExtResource("1_xjkn4")
|
||||
position = Vector2(54, -9)
|
||||
attach_types = Array[int]([2])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_7kp07"]
|
||||
script = ExtResource("1_xjkn4")
|
||||
position = Vector2(-7, 28)
|
||||
attach_types = Array[int]([1, 3])
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yh7e0"]
|
||||
atlas = ExtResource("3_xjc6g")
|
||||
region = Rect2(1199, 1054, 157, 177)
|
||||
region = Rect2(314, 863, 273, 308)
|
||||
|
||||
[resource]
|
||||
resource_name = "LeafB2"
|
||||
script = ExtResource("2_oexr2")
|
||||
texture = SubResource("AtlasTexture_yh7e0")
|
||||
type = 1
|
||||
root = SubResource("Resource_oexr2")
|
||||
attaches = Array[ExtResource("1_xjkn4")]([SubResource("Resource_xjkn4")])
|
||||
type = 2
|
||||
root = SubResource("Resource_7kp07")
|
||||
attaches = Array[ExtResource("1_xjkn4")]([SubResource("Resource_xjkn4"), SubResource("Resource_oexr2"), SubResource("Resource_xjc6g")])
|
||||
|
||||
Reference in New Issue
Block a user