|
|
|
@ -1,4 +1,4 @@
|
|
|
|
[gd_scene load_steps=48 format=3 uid="uid://gigb28qk8t12"]
|
|
|
|
[gd_scene load_steps=51 format=3 uid="uid://gigb28qk8t12"]
|
|
|
|
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/Player2D.tscn" id="1_7wfwe"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/Player2D.tscn" id="1_7wfwe"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://8sr11ex30n0m" path="res://art/mockups/Kenney_Backgrounds/Samples/uncolored_hills.png" id="2_7b2ri"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://8sr11ex30n0m" path="res://art/mockups/Kenney_Backgrounds/Samples/uncolored_hills.png" id="2_7b2ri"]
|
|
|
|
@ -94,7 +94,7 @@ shader_parameter/brightness_add = 0.0
|
|
|
|
shader_parameter/contrast_mult = 0.913
|
|
|
|
shader_parameter/contrast_mult = 0.913
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_p6n74"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_p6n74"]
|
|
|
|
size = Vector2(5176, 1192)
|
|
|
|
size = Vector2(7632, 1192)
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2vojv"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2vojv"]
|
|
|
|
shader = ExtResource("13_7p0hq")
|
|
|
|
shader = ExtResource("13_7p0hq")
|
|
|
|
@ -107,6 +107,18 @@ shader_parameter/contrast_mult = 1.398
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0sfl7"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0sfl7"]
|
|
|
|
size = Vector2(728, 368)
|
|
|
|
size = Vector2(728, 368)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_p6n74"]
|
|
|
|
|
|
|
|
resource_local_to_scene = true
|
|
|
|
|
|
|
|
radius = 600.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_kxdmn"]
|
|
|
|
|
|
|
|
resource_local_to_scene = true
|
|
|
|
|
|
|
|
radius = 300.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_hukxv"]
|
|
|
|
|
|
|
|
resource_local_to_scene = true
|
|
|
|
|
|
|
|
radius = 300.0
|
|
|
|
|
|
|
|
|
|
|
|
[node name="BabushkaSceneFarmOutside2d" type="Node2D"]
|
|
|
|
[node name="BabushkaSceneFarmOutside2d" type="Node2D"]
|
|
|
|
|
|
|
|
|
|
|
|
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
|
|
|
|
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
|
|
|
|
@ -670,7 +682,7 @@ metadata/_custom_type_script = "uid://dhxtdhfqx3bte"
|
|
|
|
position = Vector2(-48, -16)
|
|
|
|
position = Vector2(-48, -16)
|
|
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Farm visuals/FieldParent/Area2D"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Farm visuals/FieldParent/Area2D"]
|
|
|
|
position = Vector2(-2492, 2980)
|
|
|
|
position = Vector2(-1264, 2980)
|
|
|
|
shape = SubResource("RectangleShape2D_p6n74")
|
|
|
|
shape = SubResource("RectangleShape2D_p6n74")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="YSorted" type="Node2D" parent="."]
|
|
|
|
[node name="YSorted" type="Node2D" parent="."]
|
|
|
|
@ -696,6 +708,13 @@ offset = Vector2(0, -800)
|
|
|
|
position = Vector2(116, -224)
|
|
|
|
position = Vector2(116, -224)
|
|
|
|
shape = SubResource("RectangleShape2D_0sfl7")
|
|
|
|
shape = SubResource("RectangleShape2D_0sfl7")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[node name="InteractionArea" parent="YSorted/Brünnen" instance=ExtResource("27_klb81")]
|
|
|
|
|
|
|
|
_id = 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" parent="YSorted/Brünnen/InteractionArea/Area2D" index="0"]
|
|
|
|
|
|
|
|
position = Vector2(80, -368)
|
|
|
|
|
|
|
|
shape = SubResource("CircleShape2D_p6n74")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="BaseField" parent="." instance=ExtResource("26_vbdb2")]
|
|
|
|
[node name="BaseField" parent="." instance=ExtResource("26_vbdb2")]
|
|
|
|
position = Vector2(11280, 2560)
|
|
|
|
position = Vector2(11280, 2560)
|
|
|
|
|
|
|
|
|
|
|
|
@ -713,24 +732,30 @@ position = Vector2(3264, 2120)
|
|
|
|
rotation = 3.3074
|
|
|
|
rotation = 3.3074
|
|
|
|
_sprites = NodePath("SpriteSwitcher2d")
|
|
|
|
_sprites = NodePath("SpriteSwitcher2d")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" parent="Hoe Pickup/Area2D" index="0"]
|
|
|
|
|
|
|
|
shape = SubResource("CircleShape2D_kxdmn")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="SpriteSwitcher2d" parent="Hoe Pickup" instance=ExtResource("28_p6n74")]
|
|
|
|
[node name="SpriteSwitcher2d" parent="Hoe Pickup" instance=ExtResource("28_p6n74")]
|
|
|
|
scale = Vector2(0.5, 0.5)
|
|
|
|
scale = Vector2(0.5, 0.5)
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Watercan Pickup" parent="." node_paths=PackedStringArray("_sprites") instance=ExtResource("27_klb81")]
|
|
|
|
[node name="Watercan Pickup" parent="." node_paths=PackedStringArray("_sprites") instance=ExtResource("27_klb81")]
|
|
|
|
position = Vector2(6216, 2248)
|
|
|
|
position = Vector2(6216, 2248)
|
|
|
|
_sprites = NodePath("SpriteSwitcher2d")
|
|
|
|
_sprites = NodePath("ActiveInactive")
|
|
|
|
_id = 1
|
|
|
|
_id = 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" parent="Watercan Pickup/Area2D" index="0"]
|
|
|
|
|
|
|
|
shape = SubResource("CircleShape2D_hukxv")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Label" parent="Watercan Pickup" index="1"]
|
|
|
|
[node name="Label" parent="Watercan Pickup" index="1"]
|
|
|
|
z_index = 1
|
|
|
|
z_index = 1
|
|
|
|
|
|
|
|
|
|
|
|
[node name="SpriteSwitcher2d" parent="Watercan Pickup" instance=ExtResource("28_p6n74")]
|
|
|
|
[node name="ActiveInactive" parent="Watercan Pickup" instance=ExtResource("28_p6n74")]
|
|
|
|
|
|
|
|
|
|
|
|
[node name="ActiveSprite" parent="Watercan Pickup/SpriteSwitcher2d" index="0"]
|
|
|
|
[node name="ActiveSprite" parent="Watercan Pickup/ActiveInactive" index="0"]
|
|
|
|
texture = ExtResource("29_p6n74")
|
|
|
|
texture = ExtResource("29_p6n74")
|
|
|
|
region_rect = Rect2(-2, 1135, 421, 292)
|
|
|
|
region_rect = Rect2(-2, 1135, 421, 292)
|
|
|
|
|
|
|
|
|
|
|
|
[node name="InactiveSprite" parent="Watercan Pickup/SpriteSwitcher2d" index="1"]
|
|
|
|
[node name="InactiveSprite" parent="Watercan Pickup/ActiveInactive" index="1"]
|
|
|
|
texture = ExtResource("29_p6n74")
|
|
|
|
texture = ExtResource("29_p6n74")
|
|
|
|
region_rect = Rect2(1, 1138, 418, 288)
|
|
|
|
region_rect = Rect2(1, 1138, 418, 288)
|
|
|
|
|
|
|
|
|
|
|
|
@ -738,9 +763,11 @@ region_rect = Rect2(1, 1138, 418, 288)
|
|
|
|
[connection signal="mouse_exited" from="Farm visuals/FieldParent/Area2D" to="Farm visuals/FieldParent" method="MouseExitedAllowedArea"]
|
|
|
|
[connection signal="mouse_exited" from="Farm visuals/FieldParent/Area2D" to="Farm visuals/FieldParent" method="MouseExitedAllowedArea"]
|
|
|
|
[connection signal="PickedUpTool" from="YSorted/Player2d" to="Hoe Pickup" method="SetSpriteActiveState"]
|
|
|
|
[connection signal="PickedUpTool" from="YSorted/Player2d" to="Hoe Pickup" method="SetSpriteActiveState"]
|
|
|
|
[connection signal="PickedUpTool" from="YSorted/Player2d" to="Watercan Pickup" method="SetSpriteActiveState"]
|
|
|
|
[connection signal="PickedUpTool" from="YSorted/Player2d" to="Watercan Pickup" method="SetSpriteActiveState"]
|
|
|
|
[connection signal="Interacted" from="Hoe Pickup" to="YSorted/Player2d" method="ActivateTool"]
|
|
|
|
[connection signal="InteractedTool" from="YSorted/Brünnen/InteractionArea" to="YSorted/Player2d" method="TryFillWateringCan"]
|
|
|
|
[connection signal="Interacted" from="Watercan Pickup" to="YSorted/Player2d" method="ActivateTool"]
|
|
|
|
[connection signal="InteractedTool" from="Hoe Pickup" to="YSorted/Player2d" method="ActivateTool"]
|
|
|
|
|
|
|
|
[connection signal="InteractedTool" from="Watercan Pickup" to="YSorted/Player2d" method="ActivateTool"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[editable path="YSorted/Brünnen/InteractionArea"]
|
|
|
|
[editable path="Hoe Pickup"]
|
|
|
|
[editable path="Hoe Pickup"]
|
|
|
|
[editable path="Watercan Pickup"]
|
|
|
|
[editable path="Watercan Pickup"]
|
|
|
|
[editable path="Watercan Pickup/SpriteSwitcher2d"]
|
|
|
|
[editable path="Watercan Pickup/ActiveInactive"]
|
|
|
|
|