46 lines
1.6 KiB
Text
46 lines
1.6 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://kvjctagkwivk"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ddajgcwn5ip4c" path="res://textures/sprites/plants_bush1.tres" id="1_gcxqk"]
|
|
[ext_resource type="Script" uid="uid://b6blosn6modfc" path="res://core/stickernode.gd" id="2_aj8js"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_lfx7b"]
|
|
resource_name = "bush1_sticker_zone"
|
|
radius = 80.0
|
|
height = 254.0
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ke631"]
|
|
resource_name = "bush1_detection_zone"
|
|
radius = 15.0
|
|
height = 150.0
|
|
|
|
[node name="Bush1" type="Sprite2D"]
|
|
scale = Vector2(3.80334, 3.95089)
|
|
texture = ExtResource("1_gcxqk")
|
|
centered = false
|
|
offset = Vector2(-161.055, -179.785)
|
|
metadata/tags = ["sticker"]
|
|
|
|
[node name="Sticker" type="Area2D" parent="." node_paths=PackedStringArray("WorldSprite", "DetectionArea")]
|
|
collision_layer = 2
|
|
collision_mask = 61
|
|
script = ExtResource("2_aj8js")
|
|
WorldSprite = NodePath("..")
|
|
DetectionArea = NodePath("DetectionZone")
|
|
metadata/tags = PackedStringArray("sticker")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sticker"]
|
|
position = Vector2(-4.46973, -71.6294)
|
|
rotation = 1.6
|
|
shape = SubResource("CapsuleShape2D_lfx7b")
|
|
|
|
[node name="DetectionZone" type="Area2D" parent="Sticker"]
|
|
collision_layer = 4
|
|
collision_mask = 61
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sticker/DetectionZone"]
|
|
position = Vector2(0, -5.415)
|
|
rotation = 1.5708
|
|
shape = SubResource("CapsuleShape2D_ke631")
|
|
debug_color = Color(1.29953e-06, 0.637445, 0.391979, 0.42)
|
|
|
|
[connection signal="property_list_changed" from="." to="." method="_on_property_list_changed"]
|