working with new sprites

This commit is contained in:
Altaezio
2026-02-18 18:25:43 +01:00
parent fb8a2da4ff
commit 35004684f4
100 changed files with 1244 additions and 951 deletions

View File

@@ -1,41 +1,29 @@
[gd_scene format=3 uid="uid://cg6r56x11bvk2"]
[ext_resource type="Texture2D" uid="uid://doo2cxxa2p70a" path="res://entities/plants/assets/sprites/plante-teste.png" id="1_8nppj"]
[ext_resource type="Texture2D" uid="uid://b7nfpxk8nfnov" path="res://entities/plants/assets/sprites/asset-plante-fin.png" id="1_aiiik"]
[ext_resource type="Script" uid="uid://c360ic1aost1n" path="res://entities/plants/scripts/texture_builder/plant_part_builder.gd" id="2_a5yje"]
[ext_resource type="Script" uid="uid://d01kj3twwcrmu" path="res://entities/plants/scripts/texture_builder/plant_attach_builder.gd" id="3_yh7e0"]
[sub_resource type="AtlasTexture" id="AtlasTexture_mypt2"]
atlas = ExtResource("1_8nppj")
region = Rect2(46, 30, 308, 671)
[sub_resource type="AtlasTexture" id="AtlasTexture_khbsd"]
atlas = ExtResource("1_aiiik")
region = Rect2(525, 122, 136, 98)
[node name="Base1" type="Sprite2D" unique_id=1642167049 node_paths=PackedStringArray("root", "attaches", "bottom_attaches")]
texture = SubResource("AtlasTexture_mypt2")
[node name="Sprite" type="Sprite2D" unique_id=1642167049 node_paths=PackedStringArray("root", "attaches")]
texture = SubResource("AtlasTexture_khbsd")
script = ExtResource("2_a5yje")
part_name = "Base1"
part_name = "Branch1"
root = NodePath("Root")
attaches = NodePath("Attaches")
bottom_attaches = NodePath("BottomAttaches")
[node name="Root" type="Node2D" parent="." unique_id=1974108401]
position = Vector2(14, 263)
[node name="Root" type="Node2D" parent="." unique_id=1437082577]
position = Vector2(-39, 2)
script = ExtResource("3_yh7e0")
attach_types = Array[int]([0])
metadata/_custom_type_script = "uid://d01kj3twwcrmu"
[node name="Attaches" type="Node" parent="." unique_id=2082226435]
[node name="Attaches" type="Node" parent="." unique_id=1834697767]
[node name="attach1" type="Node2D" parent="Attaches" unique_id=808392694]
position = Vector2(0, -251)
[node name="attach2" type="Node2D" parent="Attaches" unique_id=1951230244]
position = Vector2(10, -85)
[node name="attach3" type="Node2D" parent="Attaches" unique_id=1491711670]
position = Vector2(81, 80)
[node name="BottomAttaches" type="Node" parent="." unique_id=456407982]
[node name="battom_attach0" type="Node2D" parent="BottomAttaches" unique_id=885194661]
position = Vector2(-17, 293)
[node name="battom_attach1" type="Node2D" parent="BottomAttaches" unique_id=1362515589]
position = Vector2(27, 295)
[node name="battom_attach2" type="Node2D" parent="BottomAttaches" unique_id=1546335762]
position = Vector2(52, 300)
[node name="attach0" type="Node2D" parent="Attaches" unique_id=1511923721]
position = Vector2(8, -4)
script = ExtResource("3_yh7e0")
attach_types = Array[int]([1, 2])