GAE_CA1/Assets/BerryBush/berry_bush.tscn

40 lines
1.7 KiB
Plaintext

[gd_scene format=3 uid="uid://b3dx2cl0osy6o"]
[ext_resource type="Script" uid="uid://dqhfjl4gljpxt" path="res://Assets/items/pick_up_area.gd" id="1_nf4vb"]
[ext_resource type="Texture2D" uid="uid://c0lp0ai68ma54" path="res://Assets/BerryBush/slimeFuit.png" id="2_nf4vb"]
[ext_resource type="AudioStream" uid="uid://f6tbqxckvwxa" path="res://Sounds/fruit_puck_up.wav" id="3_t7qdr"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6e45b"]
size = Vector2(20.689651, 15.517229)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u3q7a"]
size = Vector2(18.965513, 18.965513)
[node name="Berry_bush" type="StaticBody2D" unique_id=1338590644 node_paths=PackedStringArray("audio_stream_player")]
y_sort_enabled = true
scale = Vector2(1.16, 1.16)
script = ExtResource("1_nf4vb")
audio_stream_player = NodePath("AudioStreamPlayer")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=711151821]
y_sort_enabled = true
texture_filter = 1
texture = ExtResource("2_nf4vb")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1538359212]
position = Vector2(-2.0553331e-07, 6.03448)
scale = Vector2(1.0000004, 1.0000004)
shape = SubResource("RectangleShape2D_6e45b")
[node name="InteractionArea" type="Area2D" parent="." unique_id=419582290 groups=["interactebel"]]
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionArea" unique_id=803416314]
position = Vector2(1.0276668e-07, 6.0344887)
scale = Vector2(1.0000004, 1.0000004)
shape = SubResource("RectangleShape2D_u3q7a")
debug_color = Color(0.81429815, 0.0020189888, 0.9793169, 0.41960785)
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=631602080]
stream = ExtResource("3_t7qdr")
bus = &"UI_Soundeffekts"