44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://bc1quyxrmv706"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dggavne4ueche" path="res://textures/sprites/Tree_Field_01_SPRT.png" id="1_ks2yc"]
|
|
[ext_resource type="Script" path="res://core/stickernode.gd" id="2_7fa8u"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_dqo8w"]
|
|
resource_name = "TreeShape"
|
|
radius = 70.0
|
|
height = 512.0
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_o5egb"]
|
|
radius = 21.8229
|
|
height = 69.3515
|
|
|
|
[node name="Tree1" type="Sprite2D"]
|
|
scale = Vector2(3.80334, 3.95089)
|
|
texture = ExtResource("1_ks2yc")
|
|
centered = false
|
|
offset = Vector2(-251.145, -512)
|
|
metadata/tags = ["sticker"]
|
|
|
|
[node name="Sticker" type="Area2D" parent="." node_paths=PackedStringArray("WorldSprite", "DetectionArea")]
|
|
collision_layer = 2
|
|
collision_mask = 61
|
|
script = ExtResource("2_7fa8u")
|
|
WorldSprite = NodePath("..")
|
|
DetectionArea = NodePath("DetectionZone")
|
|
metadata/tags = PackedStringArray("sticker")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sticker"]
|
|
position = Vector2(0, -253.27)
|
|
rotation = 0.01
|
|
shape = SubResource("CapsuleShape2D_dqo8w")
|
|
|
|
[node name="DetectionZone" type="Area2D" parent="Sticker"]
|
|
collision_layer = 4
|
|
collision_mask = 61
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sticker/DetectionZone"]
|
|
position = Vector2(0, -32.3978)
|
|
shape = SubResource("CapsuleShape2D_o5egb")
|
|
debug_color = Color(0, 0.637, 0.392, 0.42)
|
|
|
|
[connection signal="property_list_changed" from="." to="." method="_on_property_list_changed"]
|