water-testing/scenes/model.tscn

140 lines
5.6 KiB
Plaintext
Raw Normal View History

2026-05-02 23:08:42 +00:00
[gd_scene format=3 uid="uid://cfr43vi3572yp"]
[ext_resource type="Script" uid="uid://g0yk17km82bv" path="res://scripts/model.gd" id="1_bctr2"]
[ext_resource type="Script" uid="uid://b51w6528jl7ns" path="res://scripts/droplet.gd" id="2_rka1o"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_qxwdg"]
bounce = 0.25
2026-05-02 23:08:42 +00:00
[sub_resource type="CircleShape2D" id="CircleShape2D_jsxgm"]
radius = 2.236068
2026-05-02 23:08:42 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jsxgm"]
size = Vector2(142, 20)
[node name="model" type="Node2D" unique_id=1269077616]
script = ExtResource("1_bctr2")
[node name="droplet" type="RigidBody2D" parent="." unique_id=1124928337]
position = Vector2(27, 96)
physics_material_override = SubResource("PhysicsMaterial_qxwdg")
2026-05-02 23:08:42 +00:00
script = ExtResource("2_rka1o")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="droplet" unique_id=1884252756]
shape = SubResource("CircleShape2D_jsxgm")
[node name="ramp" type="Node2D" parent="." unique_id=1574160600]
position = Vector2(160, 418)
metadata/_edit_group_ = true
[node name="platform" type="StaticBody2D" parent="ramp" unique_id=209192392]
position = Vector2(-40, -43)
rotation = 0.73531467
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="ramp/platform" unique_id=1963814933]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="platform2" type="StaticBody2D" parent="ramp" unique_id=84144126]
position = Vector2(65.00004, -8.9999695)
rotation = 0.002699674
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="ramp/platform2" unique_id=1176048126]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="platform3" type="StaticBody2D" parent="ramp" unique_id=964847824]
position = Vector2(99.00001, 7.0000305)
rotation = -0.49281085
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="ramp/platform3" unique_id=449830022]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="bucket" type="Node2D" parent="." unique_id=431072106]
position = Vector2(276, -261)
2026-05-02 23:08:42 +00:00
metadata/_edit_group_ = true
[node name="platform4" type="StaticBody2D" parent="bucket" unique_id=1216137882]
position = Vector2(450.99997, 440)
rotation = 1.5717075
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="bucket/platform4" unique_id=809485490]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="platform5" type="StaticBody2D" parent="bucket" unique_id=151396465]
position = Vector2(512, 498.99997)
rotation = 0.04333093
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="bucket/platform5" unique_id=520757941]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="platform6" type="StaticBody2D" parent="bucket" unique_id=1293356667]
position = Vector2(570, 439)
rotation = -1.5774848
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="bucket/platform6" unique_id=228271782]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="big_bucket" type="Node2D" parent="." unique_id=1340688088]
2026-05-03 04:34:46 +00:00
position = Vector2(360, 460)
metadata/_edit_group_ = true
[node name="platform4" type="StaticBody2D" parent="big_bucket" unique_id=1712494835]
2026-05-03 04:34:46 +00:00
position = Vector2(11, 74)
rotation = 1.5717075
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="big_bucket/platform4" unique_id=1527990798]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="platform5" type="StaticBody2D" parent="big_bucket" unique_id=1995856626]
2026-05-03 04:34:46 +00:00
position = Vector2(72.00003, 132.99997)
rotation = 0.0012022424
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="big_bucket/platform5" unique_id=1305563426]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="platform7" type="StaticBody2D" parent="big_bucket" unique_id=146253526]
2026-05-03 04:34:46 +00:00
position = Vector2(210.00003, 132.99997)
rotation = 0.00064454623
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="big_bucket/platform7" unique_id=1359956789]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[node name="platform6" type="StaticBody2D" parent="big_bucket" unique_id=749418854]
2026-05-03 04:34:46 +00:00
position = Vector2(270.0001, 71.00003)
rotation = -1.5774848
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="big_bucket/platform6" unique_id=1171236966]
position = Vector2(-0.8749161, 0.48425293)
shape = SubResource("RectangleShape2D_jsxgm")
debug_color = Color(0.5959702, 0.54461277, 0.08352526, 0.41960785)
[connection signal="body_entered" from="droplet" to="droplet" method="_on_body_entered"]