[gd_scene load_steps=7 format=3 uid="uid://ccsytlw2xbxan"] [ext_resource type="Texture2D" uid="uid://cankh6gqcfwh8" path="res://res/wheat.png" id="1_8mf82"] [ext_resource type="Script" path="res://scene/entity/wheat.gd" id="1_r6usw"] [ext_resource type="AudioStream" uid="uid://cymt7xlvjplx7" path="res://snd/sfx/coin.wav" id="3_pykee"] [ext_resource type="Script" path="res://scene/entity/pc.gd" id="4_feb1a"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_rxees"] size = Vector2(9, 152) [sub_resource type="RectangleShape2D" id="RectangleShape2D_abo5n"] size = Vector2(693, 693) [node name="Wheat" type="RigidBody2D"] collision_layer = 0 collision_mask = 4 script = ExtResource("1_r6usw") [node name="Sprite2D" type="Sprite2D" parent="."] modulate = Color(0.670588, 0.380392, 0, 1) texture = ExtResource("1_8mf82") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(-0.5, 0) shape = SubResource("RectangleShape2D_rxees") [node name="CaptureArea" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="CaptureArea"] position = Vector2(-1.5, 7.5) shape = SubResource("RectangleShape2D_abo5n") [node name="Coin" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("3_pykee") volume_db = -6.0 bus = &"SFX" script = ExtResource("4_feb1a") [connection signal="mouse_entered" from="CaptureArea" to="." method="_on_capture_area_mouse_entered"]