Added water particle effects
parent
93402b7723
commit
e71db0dd92
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=21 format=2]
|
||||
[gd_scene load_steps=27 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/World.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/Grid.gd" type="Script" id=2]
|
||||
|
@ -27,6 +27,43 @@ default_font = SubResource( 1 )
|
|||
[sub_resource type="ButtonGroup" id=3]
|
||||
resource_name = "TileTypeGroup"
|
||||
|
||||
[sub_resource type="Curve" id=9]
|
||||
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.0511364 ), 0.0, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="CurveTexture" id=10]
|
||||
curve = SubResource( 9 )
|
||||
|
||||
[sub_resource type="ParticlesMaterial" id=6]
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 3.0
|
||||
flag_disable_z = true
|
||||
spread = 4.82
|
||||
gravity = Vector3( 0, 0, 0 )
|
||||
initial_velocity = 20.0
|
||||
orbit_velocity = 0.0
|
||||
orbit_velocity_random = 0.0
|
||||
scale = 10.0
|
||||
scale_curve = SubResource( 10 )
|
||||
|
||||
[sub_resource type="Curve" id=7]
|
||||
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.956097, 0 ), 0.0, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="CurveTexture" id=8]
|
||||
curve = SubResource( 7 )
|
||||
|
||||
[sub_resource type="ParticlesMaterial" id=5]
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 3.0
|
||||
flag_disable_z = true
|
||||
direction = Vector3( -1, 0, 0 )
|
||||
spread = 4.82
|
||||
gravity = Vector3( 0, 0, 0 )
|
||||
initial_velocity = 20.0
|
||||
orbit_velocity = 0.0
|
||||
orbit_velocity_random = 0.0
|
||||
scale = 10.0
|
||||
scale_curve = SubResource( 8 )
|
||||
|
||||
[sub_resource type="World" id=4]
|
||||
|
||||
[node name="GameRoot" type="Node"]
|
||||
|
@ -388,9 +425,22 @@ current = true
|
|||
[node name="PlayerBoat" type="Node2D" parent="World"]
|
||||
|
||||
[node name="boat" type="Sprite" parent="World/PlayerBoat"]
|
||||
position = Vector2( 0, -0.264862 )
|
||||
scale = Vector2( 0.455, 0.455 )
|
||||
texture = ExtResource( 9 )
|
||||
|
||||
[node name="ParticlesRight" type="Particles2D" parent="World/PlayerBoat"]
|
||||
position = Vector2( 30, 57.858 )
|
||||
z_index = -1
|
||||
local_coords = false
|
||||
process_material = SubResource( 6 )
|
||||
|
||||
[node name="ParticlesLeft" type="Particles2D" parent="World/PlayerBoat"]
|
||||
position = Vector2( -30, 57.858 )
|
||||
z_index = -1
|
||||
local_coords = false
|
||||
process_material = SubResource( 5 )
|
||||
|
||||
[node name="Birdy" type="Node2D" parent="World"]
|
||||
|
||||
[node name="Timer" type="Timer" parent="World/Birdy"]
|
||||
|
|
Loading…
Reference in New Issue