44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
|
[gd_scene load_steps=5 format=3 uid="uid://cdurdoebbnau7"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://qsse8uwt06ns" path="res://textures/sprites/plants_bush2.tres" id="1_thd4i"]
|
||
|
[ext_resource type="Script" path="res://core/stickernode.gd" id="2_f0erb"]
|
||
|
|
||
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_b3366"]
|
||
|
radius = 56.13
|
||
|
height = 184.05
|
||
|
|
||
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1mqq3"]
|
||
|
height = 110.0
|
||
|
|
||
|
[node name="Bush10" type="Sprite2D"]
|
||
|
scale = Vector2(3.80334, 3.95089)
|
||
|
texture = ExtResource("1_thd4i")
|
||
|
offset = Vector2(0, -63.525)
|
||
|
flip_h = true
|
||
|
metadata/tags = ["sticker"]
|
||
|
|
||
|
[node name="Sticker" type="Area2D" parent="." node_paths=PackedStringArray("WorldSprite", "DetectionArea")]
|
||
|
collision_layer = 2
|
||
|
collision_mask = 61
|
||
|
script = ExtResource("2_f0erb")
|
||
|
WorldSprite = NodePath("..")
|
||
|
DetectionArea = NodePath("DetectionZone")
|
||
|
metadata/tags = PackedStringArray("sticker")
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sticker"]
|
||
|
position = Vector2(0, -55.845)
|
||
|
rotation = 1.5708
|
||
|
shape = SubResource("CapsuleShape2D_b3366")
|
||
|
|
||
|
[node name="DetectionZone" type="Area2D" parent="Sticker"]
|
||
|
collision_layer = 4
|
||
|
collision_mask = 61
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sticker/DetectionZone"]
|
||
|
position = Vector2(0, -10)
|
||
|
rotation = 1.5708
|
||
|
shape = SubResource("CapsuleShape2D_1mqq3")
|
||
|
debug_color = Color(1.29953e-06, 0.637445, 0.391979, 0.42)
|
||
|
|
||
|
[connection signal="property_list_changed" from="." to="." method="_on_property_list_changed"]
|