[gd_scene load_steps=11 format=2]

[ext_resource path="res://assets/Water/splash_particles.gd" type="Script" id=2]
[ext_resource path="res://assets/Water/particle.png" type="Texture" id=3]

[sub_resource type="Gradient" id=1]
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 0 )

[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )

[sub_resource type="Curve" id=3]
_data = [ Vector2( 0, 0.636364 ), 0.0, 0.0767676, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]

[sub_resource type="CurveTexture" id=4]
curve = SubResource( 3 )

[sub_resource type="ParticlesMaterial" id=5]
flag_disable_z = true
direction = Vector3( 0, -1, 0 )
gravity = Vector3( 0, 150, 0 )
initial_velocity = 139.54
initial_velocity_random = 0.37
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale_curve = SubResource( 4 )
color_ramp = SubResource( 2 )

[sub_resource type="Curve" id=6]
_data = [ Vector2( 0, 0.111364 ), 0.0, 0.0767676, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]

[sub_resource type="CurveTexture" id=7]
curve = SubResource( 6 )

[sub_resource type="ParticlesMaterial" id=8]
flag_disable_z = true
direction = Vector3( 0, -1, 0 )
gravity = Vector3( 0, 90, 0 )
initial_velocity = 69.78
initial_velocity_random = 0.37
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale_curve = SubResource( 7 )
color_ramp = SubResource( 2 )

[node name="splash_particles" type="Node2D"]
script = ExtResource( 2 )

[node name="Particles2D" type="Particles2D" parent="."]
scale = Vector2( 2.5, 2.5 )
amount = 4
lifetime = 0.75
explosiveness = 1.0
process_material = SubResource( 5 )
texture = ExtResource( 3 )

[node name="Particles2D2" type="Particles2D" parent="."]
scale = Vector2( 2.5, 2.5 )
amount = 6
lifetime = 0.75
explosiveness = 1.0
process_material = SubResource( 8 )
texture = ExtResource( 3 )

[node name="Timer" type="Timer" parent="."]
one_shot = true

[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
