removed lots of prints... fixed so pot positioning is synced

This commit is contained in:
2025-12-26 01:08:04 +01:00
parent 5f866b718f
commit b85b4fd447
12 changed files with 360 additions and 248 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=48 format=3 uid="uid://bdlg5orah64m5"]
[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"]
@@ -104,8 +104,18 @@ _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]
@@ -210,20 +220,20 @@ _data = {
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nb533"]
size = Vector2(14, 10)
[node name="Pot" type="CharacterBody2D"]
[node name="Pot" type="CharacterBody2D" unique_id=364317200]
collision_layer = 128
collision_mask = 960
script = ExtResource("1_hsjxb")
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="." unique_id=1524006920]
replication_config = SubResource("SceneReplicationConfig_hsjxb")
[node name="Sprite2DShadow" type="Sprite2D" parent="."]
[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="."]
[node name="GPUParticles2D" type="GPUParticles2D" parent="." unique_id=779103664]
material = SubResource("CanvasItemMaterial_lq20m")
emitting = false
amount = 16
@@ -236,43 +246,43 @@ use_fixed_seed = true
seed = 1565624367
process_material = SubResource("ParticleProcessMaterial_iw3no")
[node name="TimerSmokeParticles" type="Timer" parent="GPUParticles2D"]
[node name="TimerSmokeParticles" type="Timer" parent="GPUParticles2D" unique_id=895713341]
wait_time = 0.12
[node name="Sprite2D" type="Sprite2D" parent="."]
[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="."]
[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="."]
[node name="Area2DPickup" type="Area2D" parent="." unique_id=867581108]
visible = false
collision_layer = 1024
collision_mask = 512
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2DPickup"]
[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="."]
[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="."]
[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="."]
[node name="SfxDrag2" type="AudioStreamPlayer2D" parent="." unique_id=895274113]
stream = SubResource("AudioStreamRandomizer_fvw42")
volume_db = -9.703
pitch_scale = 0.77
@@ -281,40 +291,38 @@ attenuation = 10.1965
panning_strength = 1.5
bus = &"Sfx"
[node name="SfxLand" type="AudioStreamPlayer2D" parent="."]
[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="."]
[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="."]
[node name="SfxDrop" type="AudioStreamPlayer2D" parent="." unique_id=1042116419]
bus = &"Sfx"
[node name="SfxPickup" type="AudioStreamPlayer2D" parent="."]
[node name="SfxPickup" type="AudioStreamPlayer2D" parent="." unique_id=1755295916]
stream = ExtResource("11_lq20m")
[node name="Indicator" type="Sprite2D" parent="."]
[node name="Indicator" type="Sprite2D" parent="." unique_id=1563579882]
position = Vector2(0, -11)
texture = ExtResource("10_nb533")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Indicator"]
libraries = {
&"": SubResource("AnimationLibrary_76fyq")
}
autoplay = "indicate"
[node name="AnimationPlayer" type="AnimationPlayer" parent="Indicator" unique_id=112267323]
libraries/ = SubResource("AnimationLibrary_76fyq")
autoplay = &"indicate"
[node name="Area2DCollision" type="Area2D" parent="."]
[node name="Area2DCollision" type="Area2D" parent="." unique_id=15533254]
visible = false
collision_layer = 1024
collision_mask = 704
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2DCollision"]
[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)