-
Notifications
You must be signed in to change notification settings - Fork 0
/
roguewave.tscn
199 lines (178 loc) · 8.15 KB
/
roguewave.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
[gd_scene load_steps=14 format=3 uid="uid://bwb2qb0fbwd1w"]
[ext_resource type="Script" path="res://RogueWave.cs" id="1_j27o8"]
[ext_resource type="Texture2D" uid="uid://dvn4qwvppv3c3" path="res://Assets/rogue wave.png" id="1_l342q"]
[ext_resource type="Script" path="res://Wave.cs" id="2_17nok"]
[ext_resource type="Script" path="res://BackArea.cs" id="3_umij4"]
[ext_resource type="Script" path="res://FrontArea.cs" id="4_fbtwl"]
[ext_resource type="Script" path="res://WaveCollisionArea.cs" id="5_l3kbe"]
[sub_resource type="Curve2D" id="Curve2D_reea4"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 1474, 247, 0, 0, 0, 0, -392, 243)
}
point_count = 2
[sub_resource type="Gradient" id="Gradient_ixh7a"]
colors = PackedColorArray(0.982343, 0.982342, 0.982342, 1, 0, 0.501961, 0.501961, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_jh7y2"]
gradient = SubResource("Gradient_ixh7a")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_rpfq1"]
resource_local_to_scene = true
emission_shape = 1
emission_sphere_radius = 10.0
particle_flag_disable_z = true
direction = Vector3(1, 1, 0)
spread = 20.0
gravity = Vector3(0, 0, 30)
initial_velocity_min = -205.15
orbit_velocity_min = 0.0
orbit_velocity_max = 0.0
tangential_accel_min = -100.0
tangential_accel_max = -100.0
angle_min = 45.0
angle_max = 120.0
scale_max = 5.0
color_ramp = SubResource("GradientTexture1D_jh7y2")
turbulence_noise_strength = 0.0
turbulence_noise_scale = 1.68
[sub_resource type="Animation" id="Animation_tb57l"]
resource_name = "Wave Down"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("PathFollow2D/Wave/Body:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0.75, 0.75), Vector2(1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("PathFollow2D/Wave/Body:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(1, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("PathFollow2D/Wave/Body/Caravela Particles:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(1, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
[sub_resource type="Animation" id="Animation_nnqm8"]
resource_name = "Wave Up"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("PathFollow2D/Wave/Body:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(0.75, 0.75)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("PathFollow2D/Wave/Body:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("PathFollow2D/Wave/Body/Caravela Particles:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ue8pk"]
_data = {
"Wave Down": SubResource("Animation_tb57l"),
"Wave Up": SubResource("Animation_nnqm8")
}
[node name="Rogue Wave" type="Path2D"]
position = Vector2(410, 321)
curve = SubResource("Curve2D_reea4")
script = ExtResource("1_j27o8")
[node name="PathFollow2D" type="PathFollow2D" parent="."]
position = Vector2(1474, 247)
rotation = -3.13945
scale = Vector2(0.999222, 1)
[node name="Wave" type="StaticBody2D" parent="PathFollow2D"]
position = Vector2(290.178, -22.6215)
script = ExtResource("2_17nok")
[node name="Body" type="Polygon2D" parent="PathFollow2D/Wave"]
position = Vector2(-244.486, 328.524)
rotation = 3.14159
scale = Vector2(0.75, 0.75)
texture = ExtResource("1_l342q")
polygon = PackedVector2Array(167.557, 24.8092, 156.107, 41.6031, 140.84, 52.6718, 127.863, 65.2672, 117.557, 82.8244, 108.015, 106.87, 98.4733, 135.496, 97.3282, 162.977, 102.672, 188.931, 113.74, 206.489, 130.916, 209.16, 146.565, 204.962, 159.16, 174.046, 159.16, 198.855, 169.084, 208.015, 182.443, 209.542, 186.641, 216.412, 175.954, 251.145, 158.397, 286.641, 133.206, 313.359, 113.359, 343.893, 95.0381, 360.687, 59.1603, 374.427, 29.771, 386.26, 2.29007, 399.237, -10.687, 411.069, 11.0687, 418.321, 55.7252, 424.809, 115.649, 416.031, 159.542, 412.214, 206.87, 415.267, 259.16, 401.527, 319.466, 400.763, 422.901, 408.015, 487.405, 407.252, 536.641, 407.252, 561.45, 394.275, 538.55, 375.191, 506.87, 350.382, 479.008, 335.115, 449.237, 290.076, 427.863, 251.145, 396.947, 168.321, 388.168, 102.29, 364.504, 35.4962, 319.084, 1.14504, 263.74, -11.4504, 218.702, -11.0687, 187.405, 3.8168)
uv = PackedVector2Array(167.557, 24.8092, 156.107, 41.6031, 140.84, 52.6718, 127.863, 65.2672, 117.557, 82.8244, 108.015, 106.87, 98.4733, 135.496, 97.3282, 162.977, 102.672, 188.931, 113.74, 206.489, 130.916, 209.16, 146.565, 204.962, 159.16, 174.046, 159.16, 198.855, 169.084, 208.015, 182.443, 209.542, 186.641, 216.412, 175.954, 251.145, 158.397, 286.641, 133.206, 313.359, 113.359, 343.893, 95.0381, 360.687, 59.1603, 374.427, 29.771, 386.26, 2.29007, 399.237, -10.687, 411.069, 11.0687, 418.321, 55.7252, 424.809, 115.649, 416.031, 159.542, 412.214, 206.87, 415.267, 259.16, 401.527, 319.466, 400.763, 422.901, 408.015, 487.405, 407.252, 536.641, 407.252, 561.45, 394.275, 538.55, 375.191, 506.87, 350.382, 479.008, 335.115, 449.237, 290.076, 427.863, 251.145, 396.947, 168.321, 388.168, 102.29, 364.504, 35.4962, 319.084, 1.14504, 263.74, -11.4504, 218.702, -11.0687, 187.405, 3.8168)
[node name="WaveFrontArea" type="Area2D" parent="PathFollow2D/Wave/Body"]
position = Vector2(-2293.78, 111.392)
rotation = -0.00213599
scale = Vector2(1.33437, 1.33333)
script = ExtResource("4_fbtwl")
[node name="FrontAreaPolygon" type="CollisionPolygon2D" parent="PathFollow2D/Wave/Body/WaveFrontArea"]
position = Vector2(0, 2)
polygon = PackedVector2Array(1733, 101, 1732, -85, 2162, -85, 2159, 102)
[node name="WaveBackArea" type="Area2D" parent="PathFollow2D/Wave/Body"]
position = Vector2(-2293.78, 111.392)
rotation = -0.00213599
scale = Vector2(1.33437, 1.33333)
script = ExtResource("3_umij4")
[node name="BackAreaPolygon" type="CollisionPolygon2D" parent="PathFollow2D/Wave/Body/WaveBackArea"]
position = Vector2(-1, 1)
polygon = PackedVector2Array(1734, 103, 2158, 104, 2158, 241, 2157, 289, 1729, 289)
[node name="Caravela Particles" type="GPUParticles2D" parent="PathFollow2D/Wave/Body"]
position = Vector2(38.6824, 402.952)
rotation = 2.12161
scale = Vector2(1.00078, 1)
amount = 1000
process_material = SubResource("ParticleProcessMaterial_rpfq1")
lifetime = 1.5
randomness = 1.0
fixed_fps = 60
trail_lifetime = 1.0
[node name="WaveCollision" type="CollisionPolygon2D" parent="PathFollow2D/Wave"]
position = Vector2(1475.67, 243.84)
rotation = 3.13945
scale = Vector2(1.00078, 1)
polygon = PackedVector2Array(1848, 128, 2041, 126, 2070, 177, 2109, 194, 2133, 216, 2027, 221, 1907, 216, 1883, 227, 1842, 225, 1752, 230, 1739, 230, 1756, 203, 1809, 178, 1849, 124)
[node name="CollisionArea" type="Area2D" parent="PathFollow2D/Wave"]
script = ExtResource("5_l3kbe")
[node name="WaveCollisionArea" type="CollisionPolygon2D" parent="PathFollow2D/Wave/CollisionArea"]
position = Vector2(1475.67, 243.84)
rotation = 3.13945
scale = Vector2(1.00078, 1)
polygon = PackedVector2Array(1848, 128, 2041, 126, 2070, 177, 2109, 194, 2133, 216, 2027, 221, 1907, 216, 1883, 227, 1842, 225, 1752, 230, 1739, 230, 1756, 203, 1809, 178, 1849, 124)
[node name="Rogue Wave Animation" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ue8pk")
}