262 lines
12 KiB
Plaintext
262 lines
12 KiB
Plaintext
[gd_scene format=3 uid="uid://b7qx8y2jqn3r"]
|
|
|
|
[ext_resource type="Script" uid="uid://dq1uk8djmdt6a" path="res://scripts/interactable_object.gd" id="1"]
|
|
[ext_resource type="Script" uid="uid://b51gx0vv01plt" path="res://scripts/create_rect_sprite.gd" id="2"]
|
|
[ext_resource type="Script" uid="uid://cpxabh3uq1kl4" path="res://scripts/create_shadow_sprite.gd" id="3"]
|
|
[ext_resource type="Texture2D" uid="uid://dvqo05l1wrjmx" path="res://assets/gfx/interactive_objects.png" id="3_nyc8x"]
|
|
[ext_resource type="AudioStream" uid="uid://x0hhwyr2e1u7" path="res://assets/audio/sfx/environment/pot/pot_sweep_move_01.mp3" id="4_gpwir"]
|
|
[ext_resource type="AudioStream" uid="uid://fl0rfi4in3n4" path="res://assets/audio/sfx/environment/pot/Drunk lad destroys plant pot.mp3" id="4_hemwc"]
|
|
[ext_resource type="AudioStream" uid="uid://bxsowyqt7v637" path="res://assets/audio/sfx/environment/pot/pot_place_01.mp3" id="4_s4q4n"]
|
|
[ext_resource type="AudioStream" uid="uid://b8x1clggitcoa" path="res://assets/audio/sfx/environment/pot/pot_place_02.mp3" id="5_fodll"]
|
|
[ext_resource type="AudioStream" uid="uid://cc6clnct61uk7" path="res://assets/audio/sfx/environment/pot/pot_sweep_move_02.mp3" id="5_nb01e"]
|
|
[ext_resource type="AudioStream" uid="uid://dejjc0uqthi1b" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound1.mp3" id="5_nyc8x"]
|
|
[ext_resource type="AudioStream" uid="uid://iuxunaogc8xr" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound2.mp3" id="6_bkyka"]
|
|
[ext_resource type="AudioStream" uid="uid://bgfvvwyvn128g" path="res://assets/audio/sfx/environment/pot/pot_place_03.mp3" id="6_dcamv"]
|
|
[ext_resource type="AudioStream" uid="uid://cdjtqf2gbagra" path="res://assets/audio/sfx/environment/pot/pot_sweep_move_03.mp3" id="6_vfa4w"]
|
|
[ext_resource type="AudioStream" uid="uid://67u74sfddmd6" path="res://assets/audio/sfx/environment/pot/pot_place_04.mp3" id="7_ilgh4"]
|
|
[ext_resource type="AudioStream" uid="uid://bfqusej0pbxem" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound3.mp3" id="7_sy22g"]
|
|
[ext_resource type="AudioStream" uid="uid://cy740ysgtt5n7" path="res://assets/audio/sfx/environment/pot/pot_place_05.mp3" id="8_l2h6q"]
|
|
[ext_resource type="AudioStream" uid="uid://dq461vpiih3lc" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound4.mp3" id="8_oso25"]
|
|
[ext_resource type="AudioStream" uid="uid://cg1ndvx4t7xtd" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound5.mp3" id="9_r4pxp"]
|
|
[ext_resource type="AudioStream" uid="uid://co7i1f4t8qtqp" path="res://assets/audio/sfx/environment/pot/pot_place_06.mp3" id="9_ylwml"]
|
|
[ext_resource type="AudioStream" uid="uid://bt5npaenq15h2" path="res://assets/audio/sfx/environment/pot/smaller_pot_crash.mp3" id="10_ygcel"]
|
|
[ext_resource type="AudioStream" uid="uid://dw7nvjsfoc4vw" path="res://assets/audio/sfx/environment/treasure/open_chest_01.wav.mp3" id="21_oso25"]
|
|
[ext_resource type="AudioStream" uid="uid://cu1eavghp85pg" path="res://assets/audio/sfx/environment/treasure/open_chest_02.wav.mp3" id="22_r4pxp"]
|
|
[ext_resource type="AudioStream" uid="uid://le2kwiriyjxo" path="res://assets/audio/sfx/environment/treasure/open_treasure_01.wav.mp3" id="23_ygcel"]
|
|
[ext_resource type="AudioStream" uid="uid://c0s6ffsj6i0lq" path="res://assets/audio/sfx/environment/move_rock/rock_push_loop_01.mp3" id="24_ygcel"]
|
|
[ext_resource type="AudioStream" uid="uid://dsokwxmutlwk5" path="res://assets/audio/sfx/environment/move_rock/rock_push_loop_02.mp3" id="25_1u1k0"]
|
|
[ext_resource type="AudioStream" uid="uid://4ilddgc4lgyq" path="res://assets/audio/sfx/environment/crate/crash_table-04.wav" id="26_vfomk"]
|
|
[ext_resource type="AudioStream" uid="uid://c7kc0aw0wevah" path="res://assets/audio/sfx/environment/crate/wood_impact_break.mp3" id="27_2p257"]
|
|
[ext_resource type="Texture2D" uid="uid://bknascfv4twmi" path="res://assets/gfx/smoke_puffs.png" id="28_2p257"]
|
|
[ext_resource type="AudioStream" uid="uid://vxjjcuiam777" path="res://assets/audio/sfx/z3/LA_Get_Item2.wav" id="29_getitem"]
|
|
[ext_resource type="AudioStream" path="res://assets/audio/sfx/z3/LA_Enemy_Fall.wav" id="30_fall"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_nyc8x"]
|
|
radius = 4.0
|
|
height = 12.0
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_detect"]
|
|
radius = 99.0
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_1u1k0"]
|
|
playback_mode = 1
|
|
streams_count = 7
|
|
stream_0/stream = ExtResource("4_hemwc")
|
|
stream_1/stream = ExtResource("5_nyc8x")
|
|
stream_2/stream = ExtResource("6_bkyka")
|
|
stream_3/stream = ExtResource("7_sy22g")
|
|
stream_4/stream = ExtResource("8_oso25")
|
|
stream_5/stream = ExtResource("9_r4pxp")
|
|
stream_6/stream = ExtResource("10_ygcel")
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_3jf32"]
|
|
playback_mode = 1
|
|
streams_count = 6
|
|
stream_0/stream = ExtResource("4_s4q4n")
|
|
stream_1/stream = ExtResource("5_fodll")
|
|
stream_2/stream = ExtResource("6_dcamv")
|
|
stream_3/stream = ExtResource("7_ilgh4")
|
|
stream_4/stream = ExtResource("8_l2h6q")
|
|
stream_5/stream = ExtResource("9_ylwml")
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_6o6ha"]
|
|
playback_mode = 1
|
|
random_pitch = 1.005793
|
|
streams_count = 3
|
|
stream_0/stream = ExtResource("4_gpwir")
|
|
stream_1/stream = ExtResource("5_nb01e")
|
|
stream_2/stream = ExtResource("6_vfa4w")
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_vfomk"]
|
|
playback_mode = 1
|
|
streams_count = 3
|
|
stream_0/stream = ExtResource("21_oso25")
|
|
stream_1/stream = ExtResource("22_r4pxp")
|
|
stream_2/stream = ExtResource("23_ygcel")
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_2p257"]
|
|
playback_mode = 1
|
|
random_pitch = 1.0059091
|
|
streams_count = 2
|
|
stream_0/stream = ExtResource("24_ygcel")
|
|
stream_1/stream = ExtResource("25_1u1k0")
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_ik3co"]
|
|
streams_count = 2
|
|
stream_0/stream = ExtResource("26_vfomk")
|
|
stream_1/stream = ExtResource("27_2p257")
|
|
|
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ik3co"]
|
|
particles_animation = true
|
|
particles_anim_h_frames = 4
|
|
particles_anim_v_frames = 2
|
|
particles_anim_loop = false
|
|
|
|
[sub_resource type="Curve" id="Curve_dh4ly"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.780549, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_m11t2"]
|
|
curve = SubResource("Curve_dh4ly")
|
|
|
|
[sub_resource type="Curve" id="Curve_c8svp"]
|
|
_limits = [0.0, 100.0, 0.0, 1.0]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.733167, 4.55855), 0.0, 0.0, 0, 0, Vector2(0.815461, 91.8906), 0.0, 0.0, 0, 0, Vector2(0.892768, 100), 0.0, 0.0, 0, 0]
|
|
point_count = 4
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_ui3li"]
|
|
curve = SubResource("Curve_c8svp")
|
|
|
|
[sub_resource type="Curve" id="Curve_oexrv"]
|
|
_limits = [0.0, 1.0, -1.0, 1.0]
|
|
_data = [Vector2(-1, 0), 0.0, 0.0, 0, 0, Vector2(0.0124688, 1), 0.0, 0.0, 0, 0, Vector2(0.516209, 1), 0.0, 0.0, 0, 0, Vector2(0.947631, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 4
|
|
|
|
[sub_resource type="Curve" id="Curve_27s1c"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Curve" id="Curve_igjib"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveXYZTexture" id="CurveXYZTexture_tjjlx"]
|
|
curve_x = SubResource("Curve_oexrv")
|
|
curve_y = SubResource("Curve_27s1c")
|
|
curve_z = SubResource("Curve_igjib")
|
|
|
|
[sub_resource type="Curve" id="Curve_by4wh"]
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.0224439, 1), 0.0, 0.0, 0, 0, Vector2(0.880299, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 4
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_sp8mg"]
|
|
curve = SubResource("Curve_by4wh")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ejwle"]
|
|
particle_flag_disable_z = true
|
|
direction = Vector3(1, 0.2, 0)
|
|
spread = 62.79
|
|
initial_velocity_min = -30.0
|
|
initial_velocity_max = 30.0
|
|
directional_velocity_min = -25.0
|
|
directional_velocity_max = 25.0
|
|
directional_velocity_curve = SubResource("CurveXYZTexture_tjjlx")
|
|
gravity = Vector3(0, 0, 0)
|
|
damping_max = 100.0
|
|
damping_curve = SubResource("CurveTexture_ui3li")
|
|
scale_min = 0.8
|
|
scale_max = 1.2
|
|
scale_curve = SubResource("CurveTexture_sp8mg")
|
|
color = Color(1, 1, 1, 0.709804)
|
|
alpha_curve = SubResource("CurveTexture_m11t2")
|
|
anim_offset_max = 1.0
|
|
|
|
[node name="InteractableObject" type="CharacterBody2D" unique_id=1472163831]
|
|
collision_layer = 2
|
|
collision_mask = 71
|
|
motion_mode = 1
|
|
script = ExtResource("1")
|
|
|
|
[node name="Shadow" type="Sprite2D" parent="." unique_id=686217060]
|
|
z_index = -1
|
|
y_sort_enabled = true
|
|
scale = Vector2(0.25, 0.25)
|
|
script = ExtResource("3")
|
|
|
|
[node name="Sprite2DAbove" type="Sprite2D" parent="." unique_id=2110610080]
|
|
modulate = Color(0.7625, 0.725, 0.8, 1)
|
|
y_sort_enabled = true
|
|
position = Vector2(0, -16)
|
|
texture = ExtResource("3_nyc8x")
|
|
hframes = 19
|
|
vframes = 19
|
|
script = ExtResource("2")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1834631023]
|
|
modulate = Color(0.7625, 0.725, 0.8, 1)
|
|
y_sort_enabled = true
|
|
texture = ExtResource("3_nyc8x")
|
|
hframes = 19
|
|
vframes = 19
|
|
frame = 4
|
|
script = ExtResource("2")
|
|
|
|
[node name="PotCollision" type="CollisionShape2D" parent="." unique_id=1724772539]
|
|
position = Vector2(0, 2)
|
|
rotation = -1.5707964
|
|
shape = SubResource("CapsuleShape2D_nyc8x")
|
|
|
|
[node name="DetectionArea" type="Area2D" parent="." unique_id=1724772540]
|
|
collision_layer = 0
|
|
collision_mask = 1
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectionArea" unique_id=1724772541]
|
|
shape = SubResource("CircleShape2D_detect")
|
|
|
|
[node name="SfxShatter" type="AudioStreamPlayer2D" parent="." unique_id=785438237]
|
|
stream = SubResource("AudioStreamRandomizer_1u1k0")
|
|
max_distance = 1187.0
|
|
attenuation = 9.8491335
|
|
panning_strength = 1.46
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxLand" type="AudioStreamPlayer2D" parent="." unique_id=1532707111]
|
|
stream = SubResource("AudioStreamRandomizer_3jf32")
|
|
attenuation = 6.964396
|
|
panning_strength = 1.25
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxDrag" type="AudioStreamPlayer2D" parent="." unique_id=1350700388]
|
|
stream = SubResource("AudioStreamRandomizer_6o6ha")
|
|
volume_db = -9.7
|
|
pitch_scale = 0.77
|
|
max_distance = 750.0
|
|
attenuation = 10.556063
|
|
panning_strength = 1.5
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxOpenChest" type="AudioStreamPlayer2D" parent="." unique_id=743332693]
|
|
stream = SubResource("AudioStreamRandomizer_vfomk")
|
|
|
|
[node name="SfxGetItemFromChest" type="AudioStreamPlayer2D" parent="." unique_id=1928374650]
|
|
stream = ExtResource("29_getitem")
|
|
attenuation = 7.0
|
|
panning_strength = 1.1
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxFall" type="AudioStreamPlayer2D" parent="." unique_id=1928374651]
|
|
stream = ExtResource("30_fall")
|
|
attenuation = 6.0
|
|
panning_strength = 1.12
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxDragRock" type="AudioStreamPlayer2D" parent="." unique_id=1895903195]
|
|
stream = SubResource("AudioStreamRandomizer_2p257")
|
|
volume_db = -2.611
|
|
|
|
[node name="SfxBreakCrate" type="AudioStreamPlayer2D" parent="." unique_id=1799447869]
|
|
stream = SubResource("AudioStreamRandomizer_ik3co")
|
|
volume_db = -6.092
|
|
|
|
[node name="DragParticles" type="GPUParticles2D" parent="." unique_id=2123830325]
|
|
z_index = -1
|
|
y_sort_enabled = true
|
|
material = SubResource("CanvasItemMaterial_ik3co")
|
|
emitting = false
|
|
amount = 16
|
|
texture = ExtResource("28_2p257")
|
|
lifetime = 0.66
|
|
interp_to_end = 0.026
|
|
preprocess = 0.16
|
|
explosiveness = 0.15
|
|
randomness = 0.63
|
|
use_fixed_seed = true
|
|
seed = 1565624367
|
|
process_material = SubResource("ParticleProcessMaterial_ejwle")
|
|
|
|
[node name="TimerSmokeParticles" type="Timer" parent="DragParticles" unique_id=2105569542]
|
|
wait_time = 0.07
|
|
|
|
[connection signal="timeout" from="DragParticles/TimerSmokeParticles" to="." method="_on_timer_smoke_particles_timeout"]
|
|
[connection signal="body_entered" from="DetectionArea" to="." method="_on_detection_area_body_entered"]
|