Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e6163ed68 | |||
| 55d6222698 | |||
| d7ad2ba072 | |||
| 9c50a63dc3 | |||
| 746ac58329 | |||
| ec653aa847 | |||
| 9acea54f28 | |||
| 2f5296e05a | |||
| e8a58655ad | |||
| aa3789566c | |||
| 9c7ae20c18 | |||
| ab2cf3f497 | |||
| bf096aa716 |
|
After Width: | Height: | Size: 138 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://hvchk6t0xe7j"
|
||||
path="res://.godot/imported/Ente.png-21ead71377d82aa0401b2345b9713a4b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/animals/Ente.png"
|
||||
dest_files=["res://.godot/imported/Ente.png-21ead71377d82aa0401b2345b9713a4b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 5.6 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cgmu3qlovdr22"
|
||||
path="res://.godot/imported/field_outline_1.png-6d3fddc82592de77807ed60581b515c5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/masks/field_outline_1.png"
|
||||
dest_files=["res://.godot/imported/field_outline_1.png-6d3fddc82592de77807ed60581b515c5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 6.8 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://eg5ej0mtuac"
|
||||
path="res://.godot/imported/field_outline_2.png-e3ddb80217ba93d880ff746f003587ee.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/masks/field_outline_2.png"
|
||||
dest_files=["res://.godot/imported/field_outline_2.png-e3ddb80217ba93d880ff746f003587ee.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 7.0 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://djpigvoyadvjs"
|
||||
path="res://.godot/imported/field_outline_3.png-1ae7ea2c620df01f38d55e21a86cbf92.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/masks/field_outline_3.png"
|
||||
dest_files=["res://.godot/imported/field_outline_3.png-1ae7ea2c620df01f38d55e21a86cbf92.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
Before Width: | Height: | Size: 6.2 MiB After Width: | Height: | Size: 5.8 MiB |
|
After Width: | Height: | Size: 150 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dgavbfci8x178"
|
||||
path="res://.godot/imported/grass-1.png-ca7b452843206b712388940e3c3d5532.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/nature/grass/grass-1.png"
|
||||
dest_files=["res://.godot/imported/grass-1.png-ca7b452843206b712388940e3c3d5532.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 168 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://h2b5aufaaw7w"
|
||||
path="res://.godot/imported/grass-2.png-6f43a52066099666b3212aa92bb38a9f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/nature/grass/grass-2.png"
|
||||
dest_files=["res://.godot/imported/grass-2.png-6f43a52066099666b3212aa92bb38a9f.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 145 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ct7ea8ikor5rf"
|
||||
path="res://.godot/imported/grass-3.png-694a7f12b6e32536c4f27363ec79c45a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/nature/grass/grass-3.png"
|
||||
dest_files=["res://.godot/imported/grass-3.png-694a7f12b6e32536c4f27363ec79c45a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 147 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://badnnid7dgnpk"
|
||||
path="res://.godot/imported/grass-4.png-e2855f1a80a4bb56abcc9b4ab623b57b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/nature/grass/grass-4.png"
|
||||
dest_files=["res://.godot/imported/grass-4.png-e2855f1a80a4bb56abcc9b4ab623b57b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 181 KiB |
|
After Width: | Height: | Size: 107 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b644ofy7fml5w"
|
||||
path="res://.godot/imported/grass-5.png-415eca44a6277d6c20c8cb81e371080f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/nature/grass/grass-5.png"
|
||||
dest_files=["res://.godot/imported/grass-5.png-415eca44a6277d6c20c8cb81e371080f.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 106 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d3dwl6ph0pu1d"
|
||||
path="res://.godot/imported/grass-6.png-78792f43caad598457a381c5989c9eb5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/nature/grass/grass-6.png"
|
||||
dest_files=["res://.godot/imported/grass-6.png-78792f43caad598457a381c5989c9eb5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
@@ -9,7 +9,7 @@ custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="_builds/Babushka_win_0_2/Babushka.exe"
|
||||
export_path="_builds/Babushka_win_0_3/Babushka.exe"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
|
||||
@@ -16,7 +16,7 @@ layer = 90
|
||||
[node name="DialogicToggle" type="Node2D" parent="."]
|
||||
scale = Vector2(0.7, 0.7)
|
||||
|
||||
[node name="Inventory" type="Control" parent="." node_paths=PackedStringArray("_headerSlots")]
|
||||
[node name="Inventory" type="Control" parent="." node_paths=PackedStringArray("_slotsParent", "_slotsMover", "_headerSlots", "_slotSelect")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
@@ -25,10 +25,12 @@ anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
scale = Vector2(0.7, 0.7)
|
||||
size_flags_vertical = 8
|
||||
script = ExtResource("1_6wusm")
|
||||
_headerSlots = []
|
||||
_slotsParent = NodePath("SlotsContainer/SlotsMover/Slots")
|
||||
_slotsMover = NodePath("SlotsContainer/SlotsMover")
|
||||
_headerSlots = [NodePath("SlotsContainer/SlotsMover/Slots/Slot"), NodePath("SlotsContainer/SlotsMover/Slots/Slot2"), NodePath("SlotsContainer/SlotsMover/Slots/Slot3"), NodePath("SlotsContainer/SlotsMover/Slots/Slot4"), NodePath("SlotsContainer/SlotsMover/Slots/Slot5"), NodePath("SlotsContainer/SlotsMover/Slots/Slot6"), NodePath("SlotsContainer/SlotsMover/Slots/Slot7"), NodePath("SlotsContainer/SlotsMover/Slots/Slot8")]
|
||||
_slotSelect = NodePath("SlotsContainer/SlotsMover/SlotSelectContainer/Selector")
|
||||
|
||||
[node name="SlotsContainer" type="Control" parent="Inventory"]
|
||||
layout_mode = 1
|
||||
|
||||
@@ -2122,10 +2122,6 @@ texture = ExtResource("816_1a3c1")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-1, 1128, 417, 299)
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="CharacterBody2D"]
|
||||
position = Vector2(26, -469)
|
||||
zoom = Vector2(0.3, 0.3)
|
||||
|
||||
[node name="WateringCanUI" type="Node2D" parent="CharacterBody2D" node_paths=PackedStringArray("_stages")]
|
||||
position = Vector2(0, -929)
|
||||
scale = Vector2(2, 2)
|
||||
@@ -2167,11 +2163,10 @@ visible = false
|
||||
position = Vector2(3, 12)
|
||||
texture = ExtResource("473_g32y8")
|
||||
|
||||
[node name="FarmingControls" type="Node2D" parent="." node_paths=PackedStringArray("_movingPlayer", "_camera", "_wateringParticles")]
|
||||
[node name="FarmingControls" type="Node2D" parent="." node_paths=PackedStringArray("_movingPlayer", "_wateringParticles")]
|
||||
script = ExtResource("817_6nrw3")
|
||||
_fieldPrefab = ExtResource("818_16w6h")
|
||||
_movingPlayer = NodePath("../CharacterBody2D")
|
||||
_camera = NodePath("../CharacterBody2D/Camera2D")
|
||||
_wateringParticles = NodePath("../pouring water vfx")
|
||||
_wateringCanParticlesVerticalOffset = -100.0
|
||||
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://b1d2e7ely6hyw"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://b1d2e7ely6hyw"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="1_femni"]
|
||||
[ext_resource type="Script" uid="uid://bdffon388rkty" path="res://scripts/CSharp/Common/Farming/FieldBehaviour2D.cs" id="2_femni"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpxjptdjw7bi6" path="res://art/farm/tilable grounds/böden/trockene farming erde rund.png" id="2_yi42k"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3dq15edmgbwf" path="res://art/farm/tilable grounds/böden/nasse farming erde rund.png" id="4_lsfck"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgmu3qlovdr22" path="res://art/masks/field_outline_1.png" id="3_cus02"]
|
||||
[ext_resource type="Texture2D" uid="uid://eg5ej0mtuac" path="res://art/masks/field_outline_2.png" id="4_msuq8"]
|
||||
[ext_resource type="Texture2D" uid="uid://djpigvoyadvjs" path="res://art/masks/field_outline_3.png" id="5_21et0"]
|
||||
[ext_resource type="PackedScene" uid="uid://c3hwbwo423nbm" path="res://prefabs/farm/base_plant_2d.tscn" id="5_femni"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2pirgay3jfnn" path="res://art/farm/tilable grounds/böden/trockene farming erde.png" id="6_4k6eh"]
|
||||
[ext_resource type="Texture2D" uid="uid://ctvdxwgmfaj5c" path="res://art/farm/tilable grounds/böden/nasse farming erde.png" id="7_rrmd3"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_yi42k"]
|
||||
resource_local_to_scene = true
|
||||
@@ -21,13 +24,15 @@ visible = false
|
||||
z_index = 1
|
||||
scale = Vector2(2.225, 2.225)
|
||||
|
||||
[node name="FieldBehaviour" type="Sprite2D" parent="." node_paths=PackedStringArray("_growingCollider")]
|
||||
[node name="FieldBehaviour" type="Sprite2D" parent="." node_paths=PackedStringArray("_fieldSprite", "_maskSprite", "_growingCollider")]
|
||||
z_index = -1
|
||||
scale = Vector2(0.9, 1)
|
||||
texture = ExtResource("2_yi42k")
|
||||
script = ExtResource("2_femni")
|
||||
Tilled = ExtResource("2_yi42k")
|
||||
Watered = ExtResource("4_lsfck")
|
||||
_fieldSprite = NodePath("MaskedField/FieldTexture")
|
||||
_maskSprite = NodePath("MaskedField")
|
||||
_maskTexture = Array[Texture2D]([ExtResource("3_cus02"), ExtResource("4_msuq8"), ExtResource("5_21et0")])
|
||||
Tilled = ExtResource("6_4k6eh")
|
||||
Watered = ExtResource("7_rrmd3")
|
||||
_growingCollider = NodePath("BasePlant/InteractionArea")
|
||||
|
||||
[node name="BasePlant" parent="FieldBehaviour" node_paths=PackedStringArray("_field") instance=ExtResource("5_femni")]
|
||||
@@ -45,12 +50,17 @@ shape = SubResource("CircleShape2D_yi42k")
|
||||
[node name="CollisionShape3D" parent="FieldBehaviour/BasePlant/ReadyPlantInventoryItem/InteractionArea2/Area2D" index="0"]
|
||||
shape = SubResource("CircleShape2D_femni")
|
||||
|
||||
[node name="Label" parent="FieldBehaviour/BasePlant/ReadyPlantInventoryItem/InteractionArea2" index="1"]
|
||||
visible = false
|
||||
|
||||
[node name="ReadyPlant" parent="FieldBehaviour/BasePlant/ReadyPlantInventoryItem" index="5"]
|
||||
position = Vector2(0, -291.3)
|
||||
|
||||
[node name="MaskedField" type="Sprite2D" parent="FieldBehaviour"]
|
||||
clip_children = 1
|
||||
scale = Vector2(1.5, 1.5)
|
||||
texture = ExtResource("4_msuq8")
|
||||
|
||||
[node name="FieldTexture" type="Sprite2D" parent="FieldBehaviour/MaskedField"]
|
||||
texture = ExtResource("6_4k6eh")
|
||||
|
||||
[connection signal="Interacted" from="InteractionArea2" to="FieldBehaviour/BasePlant" method="Grow"]
|
||||
|
||||
[editable path="FieldBehaviour/BasePlant"]
|
||||
|
||||
@@ -0,0 +1,219 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://muuxxgvx33fp"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://hvchk6t0xe7j" path="res://art/animals/Ente.png" id="1_cgxhx"]
|
||||
|
||||
[node name="Duck" type="Node2D"]
|
||||
|
||||
[node name="body" type="Node2D" parent="."]
|
||||
|
||||
[node name="torso" type="Sprite2D" parent="body"]
|
||||
position = Vector2(11, 308)
|
||||
scale = Vector2(1.07526, 1.01724)
|
||||
texture = ExtResource("1_cgxhx")
|
||||
offset = Vector2(0, -100)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(30, 168, 125, 326)
|
||||
|
||||
[node name="head" type="Sprite2D" parent="body"]
|
||||
position = Vector2(39, 56)
|
||||
rotation = 0.0272577
|
||||
scale = Vector2(1.07521, 1.01729)
|
||||
skew = 0.00319612
|
||||
texture = ExtResource("1_cgxhx")
|
||||
offset = Vector2(40, -10)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(45, 24, 87, 82)
|
||||
|
||||
[node name="wing" type="Sprite2D" parent="body"]
|
||||
position = Vector2(-34, 263)
|
||||
rotation = -0.384652
|
||||
scale = Vector2(0.94817, 1.01462)
|
||||
skew = -0.0401236
|
||||
texture = ExtResource("1_cgxhx")
|
||||
offset = Vector2(-50, 50)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(196, 231, 180, 164)
|
||||
|
||||
[node name="underbelly" type="Sprite2D" parent="body"]
|
||||
position = Vector2(-11, 340)
|
||||
rotation = -2.94251
|
||||
scale = Vector2(0.762641, 1.06974)
|
||||
skew = 0.0226374
|
||||
texture = ExtResource("1_cgxhx")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(196, 231, 180, 164)
|
||||
|
||||
[node name="leg left" type="Sprite2D" parent="body"]
|
||||
position = Vector2(45, 323)
|
||||
rotation = 2.61158
|
||||
scale = Vector2(0.719395, 0.70185)
|
||||
skew = -0.0496454
|
||||
texture = ExtResource("1_cgxhx")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(196, 231, 177, 161)
|
||||
|
||||
[node name="leg right" type="Sprite2D" parent="body"]
|
||||
position = Vector2(-24, 364)
|
||||
scale = Vector2(1.07526, 1.01724)
|
||||
texture = ExtResource("1_cgxhx")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(196, 231, 177, 161)
|
||||
|
||||
[node name="left thigh" type="Sprite2D" parent="body"]
|
||||
position = Vector2(20.6384, 395.665)
|
||||
rotation = -3.13988
|
||||
scale = Vector2(0.647275, 0.575169)
|
||||
skew = 0.000200629
|
||||
texture = ExtResource("1_cgxhx")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(368, 263, 81, 89)
|
||||
|
||||
[node name="beak upper" type="Sprite2D" parent="body"]
|
||||
z_index = 1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(112.206, 69.1074)
|
||||
rotation = 0.0776945
|
||||
scale = Vector2(0.628805, 0.508821)
|
||||
skew = 0.0090723
|
||||
texture = ExtResource("1_cgxhx")
|
||||
offset = Vector2(50, 0)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(292, 37, 152, 98)
|
||||
|
||||
[node name="beak lower" type="Sprite2D" parent="body"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(108, 84)
|
||||
rotation = 0.118232
|
||||
scale = Vector2(0.628514, 0.509083)
|
||||
skew = 0.0137196
|
||||
texture = ExtResource("1_cgxhx")
|
||||
offset = Vector2(50, 0)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(295, 170, 145, 39)
|
||||
|
||||
[node name="right thigh" type="Sprite2D" parent="body"]
|
||||
position = Vector2(61.9819, 296.858)
|
||||
rotation = 1.00015
|
||||
scale = Vector2(0.915981, 0.882641)
|
||||
skew = 0.0492033
|
||||
texture = ExtResource("1_cgxhx")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(368, 263, 81, 89)
|
||||
|
||||
[node name="left shin" type="Sprite2D" parent="body"]
|
||||
position = Vector2(12, 417)
|
||||
rotation = 2.67668
|
||||
scale = Vector2(0.695871, 0.569878)
|
||||
skew = -0.045905
|
||||
texture = ExtResource("1_cgxhx")
|
||||
offset = Vector2(10, -50)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(360, 361, 68, 126)
|
||||
|
||||
[node name="right foot" type="Sprite2D" parent="body"]
|
||||
position = Vector2(-54, 466)
|
||||
rotation = 0.872523
|
||||
scale = Vector2(1.04006, 1.0532)
|
||||
skew = 0.0540016
|
||||
texture = ExtResource("1_cgxhx")
|
||||
offset = Vector2(40, 40)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(246, 393, 111, 111)
|
||||
|
||||
[node name="right shin" type="Sprite2D" parent="body"]
|
||||
position = Vector2(-24, 364)
|
||||
scale = Vector2(1.07526, 1.01724)
|
||||
texture = ExtResource("1_cgxhx")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(360, 361, 68, 126)
|
||||
|
||||
[node name="left foot" type="Sprite2D" parent="body"]
|
||||
position = Vector2(32, 466)
|
||||
rotation = 0.0756956
|
||||
scale = Vector2(0.703793, 0.562891)
|
||||
skew = 0.00884056
|
||||
texture = ExtResource("1_cgxhx")
|
||||
offset = Vector2(40, 40)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(246, 393, 111, 111)
|
||||
|
||||
[node name="bones" type="Node2D" parent="."]
|
||||
position = Vector2(76.3651, 53.1382)
|
||||
scale = Vector2(1.07526, 1.01724)
|
||||
|
||||
[node name="Skeleton2D" type="Skeleton2D" parent="bones"]
|
||||
|
||||
[node name="hip" type="Bone2D" parent="bones/Skeleton2D"]
|
||||
position = Vector2(-71.9501, 273.153)
|
||||
rest = Transform2D(1, 0, 0, 1, -71.9501, 273.153)
|
||||
|
||||
[node name="LegR" type="Bone2D" parent="bones/Skeleton2D/hip"]
|
||||
position = Vector2(-21.3902, 32.4407)
|
||||
rest = Transform2D(1, 0, 0, 1, -21.3902, 32.4407)
|
||||
|
||||
[node name="ShinR" type="Bone2D" parent="bones/Skeleton2D/hip/LegR"]
|
||||
position = Vector2(-33.4803, 51.1187)
|
||||
rest = Transform2D(1, 0, 0, 1, -33.4803, 51.1187)
|
||||
|
||||
[node name="FootR" type="Bone2D" parent="bones/Skeleton2D/hip/LegR/ShinR"]
|
||||
position = Vector2(5.58005, 49.1526)
|
||||
rotation = 0.899694
|
||||
rest = Transform2D(1.96831, 2.30362, -2.30362, 1.96831, 5.58005, 49.1526)
|
||||
|
||||
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="bones/Skeleton2D/hip/LegR/ShinR/FootR"]
|
||||
remote_path = NodePath("../../../../../../../body/right foot")
|
||||
|
||||
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="bones/Skeleton2D/hip/LegR/ShinR"]
|
||||
position = Vector2(33.4803, -51.1187)
|
||||
remote_path = NodePath("../../../../../../body/right shin")
|
||||
|
||||
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="bones/Skeleton2D/hip/LegR"]
|
||||
remote_path = NodePath("../../../../../body/leg right")
|
||||
|
||||
[node name="LegL" type="Bone2D" parent="bones/Skeleton2D/hip"]
|
||||
position = Vector2(34.4103, 14.7458)
|
||||
rotation = -1.17489
|
||||
scale = Vector2(1, 1)
|
||||
rest = Transform2D(0.385641, -0.922649, 0.922649, 0.385641, 34.4103, 14.7458)
|
||||
|
||||
[node name="ShinR" type="Bone2D" parent="bones/Skeleton2D/hip/LegL"]
|
||||
position = Vector2(-71.1914, 5.56455)
|
||||
rest = Transform2D(1, 0, 0, 1, -71.1914, 5.56455)
|
||||
|
||||
[node name="FootR" type="Bone2D" parent="bones/Skeleton2D/hip/LegL/ShinR"]
|
||||
position = Vector2(-36.1531, 28.2146)
|
||||
rotation = 0.126687
|
||||
scale = Vector2(3.03, 3.03)
|
||||
rest = Transform2D(3.00572, 0.382835, -0.382835, 3.00572, -36.1531, 28.2146)
|
||||
|
||||
[node name="WingR" type="Bone2D" parent="bones/Skeleton2D/hip"]
|
||||
position = Vector2(-25.1102, -67.8306)
|
||||
rotation = 1.93641
|
||||
scale = Vector2(8.485, 8.485)
|
||||
rest = Transform2D(-3.03359, 7.92417, -7.92417, -3.03359, -25.1102, -67.8306)
|
||||
|
||||
[node name="WingL" type="Bone2D" parent="bones/Skeleton2D/hip"]
|
||||
position = Vector2(51.1504, -71.7628)
|
||||
rotation = 0.172541
|
||||
scale = Vector2(8.485, 8.485)
|
||||
rest = Transform2D(8.35901, 1.45676, -1.45676, 8.35901, 51.1504, -71.7628)
|
||||
|
||||
[node name="Neck" type="Bone2D" parent="bones/Skeleton2D/hip"]
|
||||
position = Vector2(29.7603, -88.4747)
|
||||
rest = Transform2D(1, 0, 0, 1, 29.7603, -88.4747)
|
||||
|
||||
[node name="Head" type="Bone2D" parent="bones/Skeleton2D/hip/Neck"]
|
||||
position = Vector2(18.6001, -166.136)
|
||||
rest = Transform2D(1, 0, 0, 1, 18.6001, -166.136)
|
||||
|
||||
[node name="BeakUpper" type="Bone2D" parent="bones/Skeleton2D/hip/Neck/Head"]
|
||||
position = Vector2(49.2904, -6.88138)
|
||||
rotation = 0.445425
|
||||
scale = Vector2(3.39, 3.39)
|
||||
rest = Transform2D(3.05923, 1.46055, -1.46055, 3.05923, 49.2904, -6.88138)
|
||||
|
||||
[node name="BeakLower" type="Bone2D" parent="bones/Skeleton2D/hip/Neck/Head"]
|
||||
position = Vector2(45.5704, 16.7119)
|
||||
rotation = 0.170714
|
||||
scale = Vector2(3.085, 3.085)
|
||||
rest = Transform2D(3.04016, 0.5241, -0.5241, 3.04016, 45.5704, 16.7119)
|
||||
@@ -26,8 +26,8 @@ buses/default_bus_layout="uid://b6dwkmkyb0axk"
|
||||
|
||||
Dialogic="*res://addons/dialogic/Core/DialogicGameHandler.gd"
|
||||
InventoryManager="*res://scripts/CSharp/Common/Inventory/InventoryManager.cs"
|
||||
QuestManager="*res://scripts/CSharp/Common/Quest/QuestManager.cs"
|
||||
Signal_Debugger="*res://addons/SignalVisualizer/Debugger/SignalDebugger.gd"
|
||||
QuestManager="*res://scripts/CSharp/Common/Quest/QuestManager.cs"
|
||||
|
||||
[dialogic]
|
||||
|
||||
@@ -87,7 +87,10 @@ glossary/glossary_files=["res://dialog/farming_equipment_glossary.tres"]
|
||||
|
||||
[display]
|
||||
|
||||
window/size/viewport_width=2000
|
||||
window/size/viewport_height=1000
|
||||
window/size/always_on_top=true
|
||||
window/stretch/mode="viewport"
|
||||
window/stretch/aspect="keep_height"
|
||||
|
||||
[dotnet]
|
||||
@@ -164,11 +167,6 @@ interact={
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
ui_inventory_journal_open_close={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":74,"key_label":0,"unicode":106,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
ui_inventory_open_close={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":73,"key_label":0,"unicode":105,"location":0,"echo":false,"script":null)
|
||||
@@ -199,6 +197,11 @@ ui_inventory_close={
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
ui_inventory_journal_open_close={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":74,"key_label":0,"unicode":106,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[internationalization]
|
||||
|
||||
|
||||
@@ -1,22 +1,23 @@
|
||||
[gd_scene load_steps=23 format=3 uid="uid://bm21nqepnwaik"]
|
||||
[gd_scene load_steps=24 format=3 uid="uid://bm21nqepnwaik"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cssdu8viimwm6" path="res://scripts/CSharp/Common/SceneTransition.cs" id="1_aivb2"]
|
||||
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/characters/Player2D.tscn" id="2_a2ood"]
|
||||
[ext_resource type="Texture2D" uid="uid://waqmjrxduxfq" path="res://art/indoor/room export/Room_01_walls.png" id="3_a2ood"]
|
||||
[ext_resource type="Texture2D" uid="uid://cnhsxxps2cw5" path="res://art/indoor/room export/Room_01_table.png" id="3_je1cl"]
|
||||
[ext_resource type="Texture2D" uid="uid://blg50is4kuh2f" path="res://art/indoor/room export/Room_01_chair.png" id="4_hjjhl"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqwhptcgg5ons" path="res://art/indoor/room export/Room_01_dorr_R.png" id="5_8o6or"]
|
||||
[ext_resource type="Texture2D" uid="uid://dhvi5404cqioa" path="res://art/indoor/room export/Room_01_window.png" id="6_j5d18"]
|
||||
[ext_resource type="Texture2D" uid="uid://404glx32r1w8" path="res://art/indoor/room export/Room_01_bench.png" id="7_ciwvv"]
|
||||
[ext_resource type="Texture2D" uid="uid://cop1vjvhwlsec" path="res://art/indoor/room export/Room_01_shelf.png" id="8_8o6or"]
|
||||
[ext_resource type="Texture2D" uid="uid://vyk63d0pgqm5" path="res://art/indoor/room export/Room_01_dioor L.png" id="8_wuntg"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2rj7wkyu6ehy" path="res://art/indoor/room export/Room_01_pechka.png" id="9_aivb2"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpi35nxbhput8" path="res://art/indoor/room export/Room_01_pechkaDoor.png" id="10_835kg"]
|
||||
[ext_resource type="Texture2D" uid="uid://tyypifpte0pb" path="res://art/indoor/room export/Room_01_chugun.png" id="11_atjbs"]
|
||||
[ext_resource type="Texture2D" uid="uid://x7trh4dgsvoe" path="res://art/indoor/room export/Room_01_assets.png" id="13_j5d18"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckvytnpi8gcxq" path="res://art/eyes_atlas.png" id="14_j5d18"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfvgp1my5rydh" path="res://prefabs/characters/Yeli.tscn" id="15_ciwvv"]
|
||||
[ext_resource type="Script" uid="uid://cvkw4qd2hxksi" path="res://scripts/GdScript/dialogic_toggle.gd" id="17_835kg"]
|
||||
[ext_resource type="Script" uid="uid://cssdu8viimwm6" path="res://scripts/CSharp/Common/SceneTransition.cs" id="1_3vr4f"]
|
||||
[ext_resource type="Texture2D" uid="uid://cnhsxxps2cw5" path="res://art/indoor/room export/Room_01_table.png" id="2_ubg3a"]
|
||||
[ext_resource type="Texture2D" uid="uid://blg50is4kuh2f" path="res://art/indoor/room export/Room_01_chair.png" id="3_gpagp"]
|
||||
[ext_resource type="Texture2D" uid="uid://x7trh4dgsvoe" path="res://art/indoor/room export/Room_01_assets.png" id="4_27bwy"]
|
||||
[ext_resource type="Texture2D" uid="uid://waqmjrxduxfq" path="res://art/indoor/room export/Room_01_walls.png" id="5_sndxu"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqwhptcgg5ons" path="res://art/indoor/room export/Room_01_dorr_R.png" id="6_blyw3"]
|
||||
[ext_resource type="Texture2D" uid="uid://vyk63d0pgqm5" path="res://art/indoor/room export/Room_01_dioor L.png" id="7_yd2gv"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2rj7wkyu6ehy" path="res://art/indoor/room export/Room_01_pechka.png" id="8_ofqcg"]
|
||||
[ext_resource type="Texture2D" uid="uid://dhvi5404cqioa" path="res://art/indoor/room export/Room_01_window.png" id="9_aoesu"]
|
||||
[ext_resource type="Texture2D" uid="uid://bpi35nxbhput8" path="res://art/indoor/room export/Room_01_pechkaDoor.png" id="10_xcryd"]
|
||||
[ext_resource type="Texture2D" uid="uid://tyypifpte0pb" path="res://art/indoor/room export/Room_01_chugun.png" id="11_as3nm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cop1vjvhwlsec" path="res://art/indoor/room export/Room_01_shelf.png" id="12_bu2a1"]
|
||||
[ext_resource type="Texture2D" uid="uid://404glx32r1w8" path="res://art/indoor/room export/Room_01_bench.png" id="13_rongr"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckvytnpi8gcxq" path="res://art/eyes_atlas.png" id="14_d7yky"]
|
||||
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/characters/Player2D.tscn" id="15_7a68a"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfvgp1my5rydh" path="res://prefabs/characters/Yeli.tscn" id="16_dhsxs"]
|
||||
[ext_resource type="Script" uid="uid://cvkw4qd2hxksi" path="res://scripts/GdScript/dialogic_toggle.gd" id="17_k0k8c"]
|
||||
[ext_resource type="Script" uid="uid://bqomwxclsbhd3" path="res://scripts/CSharp/Common/Camera/CameraController.cs" id="18_dw4nn"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_a2ood"]
|
||||
resource_local_to_scene = true
|
||||
@@ -113,14 +114,14 @@ radius = 300.0
|
||||
|
||||
[node name="IndoorTest" type="Node2D"]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("1_aivb2")
|
||||
script = ExtResource("1_3vr4f")
|
||||
|
||||
[node name="Foreground" type="Node" parent="."]
|
||||
|
||||
[node name="Table" type="Sprite2D" parent="Foreground"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-1888, 1112)
|
||||
texture = ExtResource("3_je1cl")
|
||||
texture = ExtResource("2_ubg3a")
|
||||
offset = Vector2(0, -200)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(1012, 1743, 1470, 417)
|
||||
@@ -128,7 +129,7 @@ region_rect = Rect2(1012, 1743, 1470, 417)
|
||||
[node name="Chair" type="Sprite2D" parent="Foreground"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-3032, 2096)
|
||||
texture = ExtResource("4_hjjhl")
|
||||
texture = ExtResource("3_gpagp")
|
||||
offset = Vector2(216, -1064)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(1534, 1976, 379, 184)
|
||||
@@ -136,7 +137,7 @@ region_rect = Rect2(1534, 1976, 379, 184)
|
||||
[node name="Chair2" type="Sprite2D" parent="Foreground"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-1064, 2064)
|
||||
texture = ExtResource("4_hjjhl")
|
||||
texture = ExtResource("3_gpagp")
|
||||
offset = Vector2(184, -1056)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(1534, 1976, 379, 184)
|
||||
@@ -145,7 +146,7 @@ region_rect = Rect2(1534, 1976, 379, 184)
|
||||
z_index = 1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-1904, 1192)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -800)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2093, 49, 421, 630)
|
||||
@@ -180,14 +181,14 @@ shape = SubResource("RectangleShape2D_a2ood")
|
||||
z_index = -100
|
||||
position = Vector2(4992, -487)
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("3_a2ood")
|
||||
texture = ExtResource("5_sndxu")
|
||||
offset = Vector2(-2768, 264)
|
||||
|
||||
[node name="wall 1" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -100
|
||||
position = Vector2(-4368, 40)
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("3_a2ood")
|
||||
texture = ExtResource("5_sndxu")
|
||||
flip_h = true
|
||||
region_rect = Rect2(111, 292, 3323, 2160)
|
||||
|
||||
@@ -200,56 +201,56 @@ shape = SubResource("RectangleShape2D_a2ood")
|
||||
[node name="Room01DorrR" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -50
|
||||
position = Vector2(936, -216)
|
||||
texture = ExtResource("5_8o6or")
|
||||
texture = ExtResource("6_blyw3")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(3161, 313, 679, 1050)
|
||||
|
||||
[node name="Room01DioorL" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -50
|
||||
position = Vector2(-3296, 48)
|
||||
texture = ExtResource("8_wuntg")
|
||||
texture = ExtResource("7_yd2gv")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(0, 0, 3840, 2160)
|
||||
|
||||
[node name="Room01Pechka" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -80
|
||||
position = Vector2(-224, -392)
|
||||
texture = ExtResource("9_aivb2")
|
||||
texture = ExtResource("8_ofqcg")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2236, 0, 724, 1392)
|
||||
|
||||
[node name="Room01Window2" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -50
|
||||
position = Vector2(-3192, -344)
|
||||
texture = ExtResource("6_j5d18")
|
||||
texture = ExtResource("9_aoesu")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(1020, 338, 607, 757)
|
||||
|
||||
[node name="Room01Window3" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -50
|
||||
position = Vector2(-1792, -336)
|
||||
texture = ExtResource("6_j5d18")
|
||||
texture = ExtResource("9_aoesu")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(1020, 338, 607, 757)
|
||||
|
||||
[node name="Room01PechkaDoor" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -50
|
||||
position = Vector2(-248, -96)
|
||||
texture = ExtResource("10_835kg")
|
||||
texture = ExtResource("10_xcryd")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2360, 864, 356, 251)
|
||||
|
||||
[node name="Room01Chugun" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -40
|
||||
position = Vector2(16, -560)
|
||||
texture = ExtResource("11_atjbs")
|
||||
texture = ExtResource("11_as3nm")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2469, 459, 247, 131)
|
||||
|
||||
[node name="Room01Shelf" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -50
|
||||
position = Vector2(-880, -416)
|
||||
texture = ExtResource("8_8o6or")
|
||||
texture = ExtResource("12_bu2a1")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(1846, 471, 348, 490)
|
||||
|
||||
@@ -257,7 +258,7 @@ region_rect = Rect2(1846, 471, 348, 490)
|
||||
z_index = -10
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-3240, 224)
|
||||
texture = ExtResource("7_ciwvv")
|
||||
texture = ExtResource("13_rongr")
|
||||
flip_h = true
|
||||
region_enabled = true
|
||||
region_rect = Rect2(1156, 1185, 940, 189)
|
||||
@@ -265,7 +266,7 @@ region_rect = Rect2(1156, 1185, 940, 189)
|
||||
[node name="Bench2" type="Sprite2D" parent="BackWall"]
|
||||
z_index = -10
|
||||
position = Vector2(-1824, 224)
|
||||
texture = ExtResource("7_ciwvv")
|
||||
texture = ExtResource("13_rongr")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(1156, 1185, 940, 189)
|
||||
|
||||
@@ -275,7 +276,7 @@ region_rect = Rect2(1156, 1185, 940, 189)
|
||||
z_index = -10
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-177, 554.5)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -296)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2244, 763, 274, 91)
|
||||
@@ -284,7 +285,7 @@ region_rect = Rect2(2244, 763, 274, 91)
|
||||
z_index = -10
|
||||
y_sort_enabled = true
|
||||
position = Vector2(335, 474.5)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -296)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(3157, 688, 118.519, 221)
|
||||
@@ -293,7 +294,7 @@ region_rect = Rect2(3157, 688, 118.519, 221)
|
||||
z_index = -10
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-857, -37.5)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -296)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2748, 432, 174, 191)
|
||||
@@ -303,7 +304,7 @@ z_index = -10
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-425, -77.5)
|
||||
rotation = -0.0663225
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -296)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2624, 435, 49, 76)
|
||||
@@ -314,7 +315,7 @@ y_sort_enabled = true
|
||||
position = Vector2(47.5969, 6.18)
|
||||
rotation = -0.0663225
|
||||
scale = Vector2(1e-05, 1e-05)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(43.3898, 128.128)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(3362, 139, 101, 269)
|
||||
@@ -331,7 +332,7 @@ playback_auto_capture = false
|
||||
z_index = -10
|
||||
y_sort_enabled = true
|
||||
position = Vector2(287, -157.5)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -296)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2964, 137, 321, 213)
|
||||
@@ -339,7 +340,7 @@ region_rect = Rect2(2964, 137, 321, 213)
|
||||
[node name="herb 1" type="Sprite2D" parent="BackWall/Room assets/herbsline"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-72, 136)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -296)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2600, 165, 127, 199)
|
||||
@@ -347,7 +348,7 @@ region_rect = Rect2(2600, 165, 127, 199)
|
||||
[node name="herb 2" type="Sprite2D" parent="BackWall/Room assets/herbsline"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(64, 80)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -296)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2761, 161, 135, 199)
|
||||
@@ -357,37 +358,38 @@ visible = false
|
||||
z_index = -10
|
||||
position = Vector2(32, -72)
|
||||
scale = Vector2(0.4, 0.4)
|
||||
texture = ExtResource("14_j5d18")
|
||||
texture = ExtResource("14_d7yky")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2647, 15, 286, 183)
|
||||
|
||||
[node name="offerings" type="Node2D" parent="BackWall/Room assets"]
|
||||
|
||||
[node name="apple" type="Sprite2D" parent="BackWall/Room assets/offerings"]
|
||||
z_index = -1
|
||||
position = Vector2(229.5, 331.5)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2822, 764, 93, 87)
|
||||
|
||||
[node name="bread" type="Sprite2D" parent="BackWall/Room assets/offerings"]
|
||||
z_index = -1
|
||||
z_index = -2
|
||||
position = Vector2(157.5, 339.5)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2951, 783, 155, 78)
|
||||
|
||||
[node name="plate" type="Sprite2D" parent="BackWall/Room assets/offerings"]
|
||||
z_index = -20
|
||||
position = Vector2(189.5, 659.5)
|
||||
texture = ExtResource("13_j5d18")
|
||||
texture = ExtResource("4_27bwy")
|
||||
offset = Vector2(0, -296)
|
||||
region_enabled = true
|
||||
region_rect = Rect2(2576, 802, 219, 64)
|
||||
|
||||
[node name="Vesna" parent="." instance=ExtResource("2_a2ood")]
|
||||
[node name="Vesna" parent="." instance=ExtResource("15_7a68a")]
|
||||
position = Vector2(-1464, 136)
|
||||
|
||||
[node name="Yeli" parent="." instance=ExtResource("15_ciwvv")]
|
||||
[node name="Yeli" parent="." instance=ExtResource("16_dhsxs")]
|
||||
position = Vector2(-2912, 432)
|
||||
|
||||
[node name="CollisionShape3D" parent="Yeli/InteractionArea/Area2D" index="0"]
|
||||
@@ -401,9 +403,21 @@ _timelinesToPlay = PackedStringArray("yeli_intro_05")
|
||||
position = Vector2(-576, 368)
|
||||
|
||||
[node name="dialogic_toggle" type="Node2D" parent="Yeli"]
|
||||
script = ExtResource("17_835kg")
|
||||
script = ExtResource("17_k0k8c")
|
||||
metadata/_custom_type_script = "uid://cvkw4qd2hxksi"
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." node_paths=PackedStringArray("_followNode")]
|
||||
position = Vector2(-1534, -26)
|
||||
offset = Vector2(0, -200)
|
||||
zoom = Vector2(0.5, 0.5)
|
||||
limit_left = -6300
|
||||
limit_top = -1050
|
||||
limit_right = 1400
|
||||
limit_bottom = 1150
|
||||
editor_draw_limits = true
|
||||
script = ExtResource("18_dw4nn")
|
||||
_followNode = NodePath("../Vesna/CharacterBody2D")
|
||||
|
||||
[connection signal="timelineEnded" from="Yeli/dialogic_toggle" to="." method="Quit"]
|
||||
|
||||
[editable path="Vesna"]
|
||||
@@ -4,13 +4,10 @@ namespace Babushka.scripts.CSharp.Common.Camera;
|
||||
|
||||
public partial class CameraController : Camera2D
|
||||
{
|
||||
[Export] private float _multiplier = 1.0f;
|
||||
[Export] private Node2D _followNode;
|
||||
|
||||
|
||||
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
this.Position = _followNode.Transform.Origin * _multiplier;
|
||||
this.GlobalPosition = _followNode.GlobalPosition;
|
||||
}
|
||||
}
|
||||
@@ -79,7 +79,6 @@ public partial class FarmingControls2D : Node2D
|
||||
{
|
||||
if (!inputEvent.IsPressed())
|
||||
{
|
||||
GD.Print("Input Event is not pressed." );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -88,23 +87,18 @@ public partial class FarmingControls2D : Node2D
|
||||
|
||||
if (inputEvent is InputEventMouseButton inputEventMouseButton)
|
||||
{
|
||||
GD.Print("Input Event is InputEventMouseButton." );
|
||||
if (!inputEventMouseButton.Pressed)
|
||||
{
|
||||
GD.Print("Input Event Mouse Button is not pressed." );
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GD.Print("Other Input Event registered." );
|
||||
return;
|
||||
}
|
||||
|
||||
GD.Print("Current tool id: " + _toolId );
|
||||
|
||||
if (_toolId == 0)
|
||||
{
|
||||
GD.Print("Trying to create field." );
|
||||
Vector2I adjustedPosition = GetAdjustedMousePosition();
|
||||
MakeField(adjustedPosition);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using Babushka.scripts.CSharp.Common.CharacterControls;
|
||||
using Godot;
|
||||
|
||||
@@ -15,6 +16,9 @@ public enum FieldState
|
||||
[GlobalClass]
|
||||
public partial class FieldBehaviour2D : Sprite2D
|
||||
{
|
||||
[Export] private Sprite2D _fieldSprite;
|
||||
[Export] private Sprite2D _maskSprite;
|
||||
[Export] private Texture2D[] _maskTexture;
|
||||
[Export] private Texture2D Tilled;
|
||||
[Export] private Texture2D Watered;
|
||||
[Export] public FieldState FieldState = FieldState.Tilled;
|
||||
@@ -25,6 +29,8 @@ public partial class FieldBehaviour2D : Sprite2D
|
||||
public override void _Ready()
|
||||
{
|
||||
UpdateFieldState(FieldState);
|
||||
int randomIndex = new Random().Next(0, _maskTexture.Length);
|
||||
_maskSprite.Texture = _maskTexture[randomIndex];
|
||||
base._Ready();
|
||||
}
|
||||
|
||||
@@ -37,12 +43,12 @@ public partial class FieldBehaviour2D : Sprite2D
|
||||
break;
|
||||
case FieldState.Tilled:
|
||||
FieldState = FieldState.Tilled;
|
||||
Texture = Tilled;
|
||||
_fieldSprite.Texture = Tilled;
|
||||
_growingCollider.Visible = false;
|
||||
break;
|
||||
case FieldState.Watered:
|
||||
FieldState = FieldState.Watered;
|
||||
Texture = Watered;
|
||||
_fieldSprite.Texture = Watered;
|
||||
_growingCollider.Visible = true;
|
||||
break;
|
||||
case FieldState.Planted:
|
||||
@@ -58,7 +64,7 @@ public partial class FieldBehaviour2D : Sprite2D
|
||||
public void Water()
|
||||
{
|
||||
FieldState = FieldState.Watered;
|
||||
Texture = Watered;
|
||||
_fieldSprite.Texture = Watered;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -69,7 +75,7 @@ public partial class FieldBehaviour2D : Sprite2D
|
||||
switch (FieldState)
|
||||
{
|
||||
case FieldState.Empty:
|
||||
Texture = Tilled;
|
||||
_fieldSprite.Texture = Tilled;
|
||||
FieldState = FieldState.Tilled;
|
||||
break;
|
||||
case FieldState.Watered:
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://cew02ovj51m5d
|
||||