350 lines
14 KiB
Plaintext
350 lines
14 KiB
Plaintext
[gd_scene format=3 uid="uid://bdlg5orah64m5"]
|
|
|
|
[ext_resource type="Script" uid="uid://bj0ueurl3vovc" path="res://scripts/entities/world/pot.gd" id="1_hsjxb"]
|
|
[ext_resource type="Texture2D" uid="uid://bu4dq78f8lgj5" path="res://assets/gfx/sheet_18.png" id="1_rxnv2"]
|
|
[ext_resource type="Texture2D" uid="uid://bknascfv4twmi" path="res://assets/gfx/smoke_puffs.png" id="2_cmff4"]
|
|
[ext_resource type="AudioStream" uid="uid://fl0rfi4in3n4" path="res://assets/audio/sfx/environment/pot/Drunk lad destroys plant pot.mp3" id="3_vktry"]
|
|
[ext_resource type="AudioStream" uid="uid://dejjc0uqthi1b" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound1.mp3" id="4_nb533"]
|
|
[ext_resource type="AudioStream" uid="uid://iuxunaogc8xr" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound2.mp3" id="5_cmff4"]
|
|
[ext_resource type="AudioStream" uid="uid://bfqusej0pbxem" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound3.mp3" id="6_lq20m"]
|
|
[ext_resource type="AudioStream" uid="uid://dq461vpiih3lc" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound4.mp3" id="7_76fyq"]
|
|
[ext_resource type="AudioStream" uid="uid://cg1ndvx4t7xtd" path="res://assets/audio/sfx/environment/pot/pot_destroy_sound5.mp3" id="8_m11t2"]
|
|
[ext_resource type="AudioStream" uid="uid://bt5npaenq15h2" path="res://assets/audio/sfx/environment/pot/smaller_pot_crash.mp3" id="9_sb38x"]
|
|
[ext_resource type="Texture2D" uid="uid://b1twy68vd7f20" path="res://assets/gfx/pickups/indicator.png" id="10_nb533"]
|
|
[ext_resource type="AudioStream" uid="uid://bcy4qh0j2yuss" path="res://assets/audio/sfx/z3/lift.wav" id="11_lq20m"]
|
|
[ext_resource type="AudioStream" uid="uid://x0hhwyr2e1u7" path="res://assets/audio/sfx/environment/pot/pot_sweep_move_01.mp3" id="13_hd4fl"]
|
|
[ext_resource type="AudioStream" uid="uid://cc6clnct61uk7" path="res://assets/audio/sfx/environment/pot/pot_sweep_move_02.mp3" id="14_0qg0s"]
|
|
[ext_resource type="AudioStream" uid="uid://cdjtqf2gbagra" path="res://assets/audio/sfx/environment/pot/pot_sweep_move_03.mp3" id="15_p028i"]
|
|
[ext_resource type="AudioStream" uid="uid://bxsowyqt7v637" path="res://assets/audio/sfx/environment/pot/pot_place_01.mp3" id="16_fvw42"]
|
|
[ext_resource type="AudioStream" uid="uid://b8x1clggitcoa" path="res://assets/audio/sfx/environment/pot/pot_place_02.mp3" id="17_qjm0l"]
|
|
[ext_resource type="AudioStream" uid="uid://bgfvvwyvn128g" path="res://assets/audio/sfx/environment/pot/pot_place_03.mp3" id="18_xfa6j"]
|
|
[ext_resource type="AudioStream" uid="uid://67u74sfddmd6" path="res://assets/audio/sfx/environment/pot/pot_place_04.mp3" id="19_3e0oi"]
|
|
[ext_resource type="AudioStream" uid="uid://2w73l4k3704x" path="res://assets/audio/sfx/environment/pot/pot_drag1.mp3" id="19_p028i"]
|
|
[ext_resource type="AudioStream" uid="uid://cy740ysgtt5n7" path="res://assets/audio/sfx/environment/pot/pot_place_05.mp3" id="20_v2r3y"]
|
|
[ext_resource type="AudioStream" uid="uid://bnuh7ima5cq0n" path="res://assets/audio/sfx/environment/pot/pot_drag2.mp3" id="20_wv4em"]
|
|
[ext_resource type="AudioStream" uid="uid://co7i1f4t8qtqp" path="res://assets/audio/sfx/environment/pot/pot_place_06.mp3" id="21_0qg0s"]
|
|
[ext_resource type="AudioStream" uid="uid://ohm0t5c7hw0w" path="res://assets/audio/sfx/player/throw/throw_01.wav.mp3" id="21_hd4fl"]
|
|
[ext_resource type="FontFile" uid="uid://bajcvmidrnc33" path="res://assets/fonts/standard_font.png" id="25_p028i"]
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hsjxb"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 2
|
|
properties/1/path = NodePath(".:positionZ")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 1
|
|
properties/2/path = NodePath(".:is_being_thrown")
|
|
properties/2/spawn = true
|
|
properties/2/replication_mode = 2
|
|
properties/3/path = NodePath(".:is_being_lifted")
|
|
properties/3/spawn = true
|
|
properties/3/replication_mode = 2
|
|
properties/4/path = NodePath(".:is_being_put_down")
|
|
properties/4/spawn = true
|
|
properties/4/replication_mode = 2
|
|
properties/5/path = NodePath(".:collision_mask")
|
|
properties/5/spawn = true
|
|
properties/5/replication_mode = 2
|
|
properties/6/path = NodePath(".:collision_layer")
|
|
properties/6/spawn = true
|
|
properties/6/replication_mode = 2
|
|
properties/7/path = NodePath("Area2DCollision:monitoring")
|
|
properties/7/spawn = true
|
|
properties/7/replication_mode = 2
|
|
properties/8/path = NodePath(".:is_destroyed")
|
|
properties/8/spawn = true
|
|
properties/8/replication_mode = 2
|
|
properties/9/path = NodePath(".:is_being_grabbed")
|
|
properties/9/spawn = true
|
|
properties/9/replication_mode = 2
|
|
properties/10/path = NodePath(".:is_moving")
|
|
properties/10/spawn = true
|
|
properties/10/replication_mode = 2
|
|
properties/11/path = NodePath(".:is_spawning")
|
|
properties/11/spawn = true
|
|
properties/11/replication_mode = 2
|
|
properties/12/path = NodePath(".:holder_peer_id")
|
|
properties/12/spawn = true
|
|
properties/12/replication_mode = 2
|
|
|
|
[sub_resource type="Gradient" id="Gradient_nb533"]
|
|
offsets = PackedFloat32Array(0.847255, 0.861575)
|
|
colors = PackedColorArray(0, 0, 0, 0.764706, 0, 0, 0, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_87nuj"]
|
|
gradient = SubResource("Gradient_nb533")
|
|
width = 16
|
|
height = 6
|
|
fill = 1
|
|
fill_from = Vector2(0.504274, 0.478632)
|
|
fill_to = Vector2(0.897436, 0.0769231)
|
|
|
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_lq20m"]
|
|
particles_animation = true
|
|
particles_anim_h_frames = 4
|
|
particles_anim_v_frames = 2
|
|
particles_anim_loop = false
|
|
|
|
[sub_resource type="Curve" id="Curve_76fyq"]
|
|
_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_76fyq")
|
|
|
|
[sub_resource type="Curve" id="Curve_sb38x"]
|
|
_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_sb38x")
|
|
|
|
[sub_resource type="Curve" id="Curve_dtubv"]
|
|
_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_0qg0s"]
|
|
_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_p028i"]
|
|
_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_dtubv")
|
|
curve_y = SubResource("Curve_0qg0s")
|
|
curve_z = SubResource("Curve_p028i")
|
|
|
|
[sub_resource type="Curve" id="Curve_1webc"]
|
|
_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_1webc")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_iw3no"]
|
|
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
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hsjxb"]
|
|
size = Vector2(12, 8)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_87nuj"]
|
|
size = Vector2(18, 15)
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_ui3li"]
|
|
streams_count = 7
|
|
stream_0/stream = ExtResource("3_vktry")
|
|
stream_1/stream = ExtResource("4_nb533")
|
|
stream_2/stream = ExtResource("5_cmff4")
|
|
stream_3/stream = ExtResource("6_lq20m")
|
|
stream_4/stream = ExtResource("7_76fyq")
|
|
stream_5/stream = ExtResource("8_m11t2")
|
|
stream_6/stream = ExtResource("9_sb38x")
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_wv4em"]
|
|
streams_count = 2
|
|
stream_0/stream = ExtResource("19_p028i")
|
|
stream_1/stream = ExtResource("20_wv4em")
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_fvw42"]
|
|
streams_count = 3
|
|
stream_0/stream = ExtResource("13_hd4fl")
|
|
stream_1/stream = ExtResource("14_0qg0s")
|
|
stream_2/stream = ExtResource("15_p028i")
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_icnv3"]
|
|
streams_count = 6
|
|
stream_0/stream = ExtResource("16_fvw42")
|
|
stream_1/stream = ExtResource("17_qjm0l")
|
|
stream_2/stream = ExtResource("18_xfa6j")
|
|
stream_3/stream = ExtResource("19_3e0oi")
|
|
stream_4/stream = ExtResource("20_v2r3y")
|
|
stream_5/stream = ExtResource("21_0qg0s")
|
|
|
|
[sub_resource type="Animation" id="Animation_lq20m"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:offset")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_cmff4"]
|
|
resource_name = "indicate"
|
|
length = 0.8
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:offset")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.4, 0.8),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector2(0, 0), Vector2(0, -1), Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_76fyq"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_lq20m"),
|
|
&"indicate": SubResource("Animation_cmff4")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nb533"]
|
|
size = Vector2(14, 10)
|
|
|
|
[node name="Pot" type="CharacterBody2D" unique_id=364317200]
|
|
collision_layer = 128
|
|
collision_mask = 960
|
|
script = ExtResource("1_hsjxb")
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="." unique_id=1524006920]
|
|
replication_config = SubResource("SceneReplicationConfig_hsjxb")
|
|
|
|
[node name="Sprite2DShadow" type="Sprite2D" parent="." unique_id=817113939]
|
|
z_index = -1
|
|
position = Vector2(0, 3)
|
|
texture = SubResource("GradientTexture2D_87nuj")
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="." unique_id=779103664]
|
|
material = SubResource("CanvasItemMaterial_lq20m")
|
|
emitting = false
|
|
amount = 16
|
|
texture = ExtResource("2_cmff4")
|
|
interp_to_end = 0.026
|
|
preprocess = 0.16
|
|
explosiveness = 0.5
|
|
randomness = 0.48
|
|
use_fixed_seed = true
|
|
seed = 1565624367
|
|
process_material = SubResource("ParticleProcessMaterial_iw3no")
|
|
|
|
[node name="TimerSmokeParticles" type="Timer" parent="GPUParticles2D" unique_id=895713341]
|
|
wait_time = 0.12
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=720950344]
|
|
position = Vector2(0, -4)
|
|
texture = ExtResource("1_rxnv2")
|
|
hframes = 19
|
|
vframes = 19
|
|
frame = 14
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1841795873]
|
|
visible = false
|
|
position = Vector2(0, -1)
|
|
shape = SubResource("RectangleShape2D_hsjxb")
|
|
|
|
[node name="Area2DPickup" type="Area2D" parent="." unique_id=867581108]
|
|
visible = false
|
|
collision_layer = 1024
|
|
collision_mask = 512
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2DPickup" unique_id=1113571525]
|
|
position = Vector2(0, -1)
|
|
shape = SubResource("RectangleShape2D_87nuj")
|
|
debug_color = Color(0.688142, 0.7, 0.0440007, 0.42)
|
|
|
|
[node name="SfxShatter" type="AudioStreamPlayer2D" parent="." unique_id=301402142]
|
|
stream = SubResource("AudioStreamRandomizer_ui3li")
|
|
attenuation = 9.84915
|
|
panning_strength = 1.46
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxDrag" type="AudioStreamPlayer2D" parent="." unique_id=955994941]
|
|
stream = SubResource("AudioStreamRandomizer_wv4em")
|
|
volume_db = -10.142
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxDrag2" type="AudioStreamPlayer2D" parent="." unique_id=895274113]
|
|
stream = SubResource("AudioStreamRandomizer_fvw42")
|
|
volume_db = -9.703
|
|
pitch_scale = 0.77
|
|
max_distance = 749.0
|
|
attenuation = 10.1965
|
|
panning_strength = 1.5
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxLand" type="AudioStreamPlayer2D" parent="." unique_id=37979613]
|
|
stream = SubResource("AudioStreamRandomizer_icnv3")
|
|
attenuation = 6.9644
|
|
panning_strength = 1.25
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxThrow" type="AudioStreamPlayer2D" parent="." unique_id=465813543]
|
|
stream = ExtResource("21_hd4fl")
|
|
volume_db = -4.708
|
|
pitch_scale = 0.54
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxDrop" type="AudioStreamPlayer2D" parent="." unique_id=1042116419]
|
|
bus = &"Sfx"
|
|
|
|
[node name="SfxPickup" type="AudioStreamPlayer2D" parent="." unique_id=1755295916]
|
|
stream = ExtResource("11_lq20m")
|
|
|
|
[node name="Indicator" type="Sprite2D" parent="." unique_id=1563579882]
|
|
position = Vector2(0, -11)
|
|
texture = ExtResource("10_nb533")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Indicator" unique_id=112267323]
|
|
libraries/ = SubResource("AnimationLibrary_76fyq")
|
|
autoplay = &"indicate"
|
|
|
|
[node name="Area2DCollision" type="Area2D" parent="." unique_id=15533254]
|
|
visible = false
|
|
collision_layer = 1024
|
|
collision_mask = 704
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2DCollision" unique_id=1567360351]
|
|
position = Vector2(0, -1)
|
|
shape = SubResource("RectangleShape2D_nb533")
|
|
debug_color = Color(0.7, 0.132592, 0.232379, 0.42)
|
|
|
|
[node name="LabelPotStateNDirectionNSpeed" type="Label" parent="." unique_id=1790795234]
|
|
z_index = 18
|
|
z_as_relative = false
|
|
offset_left = -29.82
|
|
offset_top = -40.0
|
|
offset_right = 30.18
|
|
offset_bottom = -34.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 6
|
|
theme_override_constants/outline_size = 6
|
|
theme_override_fonts/font = ExtResource("25_p028i")
|
|
theme_override_font_sizes/font_size = 6
|
|
horizontal_alignment = 1
|
|
|
|
[connection signal="timeout" from="GPUParticles2D/TimerSmokeParticles" to="." method="_on_timer_smoke_particles_timeout"]
|
|
[connection signal="body_entered" from="Area2DPickup" to="." method="_on_area_2d_pickup_body_entered"]
|
|
[connection signal="body_exited" from="Area2DPickup" to="." method="_on_area_2d_pickup_body_exited"]
|
|
[connection signal="body_entered" from="Area2DCollision" to="." method="_on_area_2d_collision_body_entered"]
|
|
[connection signal="body_exited" from="Area2DCollision" to="." method="_on_area_2d_collision_body_exited"]
|