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,61 +1,62 @@
|
||||
[gd_resource type="Resource" script_class="PlantPart" format=3 uid="uid://6jnbms553dyd"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://co46ywm8bgnfh" path="res://entities/plants/scripts/texture_builder/plant_attach.gd" id="1_62ciq"]
|
||||
[ext_resource type="Script" path="res://entities/plants/scripts/texture_builder/plant_attach.gd" id="1_62ciq"]
|
||||
[ext_resource type="Script" uid="uid://b3jwglylqdqtw" path="res://entities/plants/scripts/texture_builder/plant_part.gd" id="2_hmnx4"]
|
||||
[ext_resource type="Texture2D" uid="uid://bxnm1quxhx40i" path="res://entities/plants/assets/sprites/asset-plante-fin_assemble.png" id="3_64xx3"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdwmandgxrjgn" path="res://entities/plants/assets/sprites/asset_plantes.png" id="3_64xx3"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_62ciq"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(19, 109)
|
||||
attach_types = Array[int]([1, 3])
|
||||
position = Vector2(80, 32)
|
||||
attach_types = Array[int]([3])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_hmnx4"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(-64, 158)
|
||||
attach_types = Array[int]([1, 3])
|
||||
position = Vector2(26, 14)
|
||||
attach_types = Array[int]([3])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_64xx3"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(129, -28)
|
||||
attach_types = Array[int]([1, 3, 2])
|
||||
position = Vector2(59, -4)
|
||||
attach_types = Array[int]([3, 2])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_584up"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(161, -90)
|
||||
attach_types = Array[int]([2])
|
||||
position = Vector2(-49, 3)
|
||||
attach_types = Array[int]([3])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_7pnm7"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(81, -121)
|
||||
attach_types = Array[int]([1, 3, 2])
|
||||
position = Vector2(-12, -57)
|
||||
attach_types = Array[int]([3])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_3cfto"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(79, -201)
|
||||
attach_types = Array[int]([3, 2])
|
||||
position = Vector2(23, -33)
|
||||
attach_types = Array[int]([3])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_q6abt"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(82, 31)
|
||||
attach_types = Array[int]([3, 2])
|
||||
position = Vector2(-89, 20)
|
||||
attach_types = Array[int]([2])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_xtrwx"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(83, -265)
|
||||
position = Vector2(-38, -66)
|
||||
attach_types = Array[int]([2])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_gi4wl"]
|
||||
script = ExtResource("1_62ciq")
|
||||
position = Vector2(-142, 199)
|
||||
attach_types = Array[int]([0])
|
||||
position = Vector2(97, 67)
|
||||
attach_types = Array[int]([1])
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_khbsd"]
|
||||
atlas = ExtResource("3_64xx3")
|
||||
region = Rect2(733, 2134, 355, 567)
|
||||
region = Rect2(603, 771, 253, 189)
|
||||
|
||||
[resource]
|
||||
resource_name = "Branch7"
|
||||
script = ExtResource("2_hmnx4")
|
||||
texture = SubResource("AtlasTexture_khbsd")
|
||||
type = 1
|
||||
root = SubResource("Resource_gi4wl")
|
||||
attaches = Array[ExtResource("1_62ciq")]([SubResource("Resource_62ciq"), SubResource("Resource_hmnx4"), SubResource("Resource_64xx3"), SubResource("Resource_584up"), SubResource("Resource_7pnm7"), SubResource("Resource_3cfto"), SubResource("Resource_q6abt"), SubResource("Resource_xtrwx")])
|
||||
|
||||
Reference in New Issue
Block a user