-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFireball.tscn
More file actions
54 lines (44 loc) · 1.65 KB
/
Copy pathFireball.tscn
File metadata and controls
54 lines (44 loc) · 1.65 KB
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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Fireball.gd" type="Script" id=1]
[sub_resource type="Gradient" id=1]
offsets = PoolRealArray( 0, 0.0740741, 0.192593, 0.355556, 0.577778, 0.6 )
colors = PoolColorArray( 0.992188, 0.977351, 0.972809, 1, 1, 1, 1, 1, 0.953723, 0.960938, 0.0375366, 1, 0.523438, 0.0184021, 0.0184021, 1, 1, 0.29248, 0.015625, 1, 0.226562, 0.211517, 0.211517, 1 )
[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )
[sub_resource type="Curve" id=3]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.962025, 0 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=4]
curve = SubResource( 3 )
[sub_resource type="ParticlesMaterial" id=5]
lifetime_randomness = 1.0
emission_shape = 1
emission_sphere_radius = 1.0
flag_disable_z = true
gravity = Vector3( -500, 0, 0 )
initial_velocity = 20.0
angular_velocity = 180.0
angular_velocity_random = 1.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel = -100.0
linear_accel_random = 1.0
radial_accel = 100.0
radial_accel_random = 1.0
angle = 180.0
angle_random = 1.0
scale = 14.0
scale_curve = SubResource( 4 )
color_ramp = SubResource( 2 )
[sub_resource type="CircleShape2D" id=6]
[node name="Fireball" type="Area2D"]
position = Vector2( 53.2732, 14.2696 )
script = ExtResource( 1 )
[node name="Fire" type="Particles2D" parent="."]
position = Vector2( -4.77725, 0.233784 )
amount = 20
speed_scale = 3.75
process_material = SubResource( 5 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -3.06504, 0.340561 )
shape = SubResource( 6 )
[connection signal="body_entered" from="." to="." method="_on_Fireball_body_entered"]