-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathprojectile.tscn
107 lines (88 loc) · 2.6 KB
/
projectile.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://game/projectile.gd" type="Script" id=1]
[ext_resource path="res://shitty_particle.png" type="Texture" id=2]
[ext_resource path="res://explosion/particle_round.png" type="Texture" id=3]
[sub_resource type="CanvasItemMaterial" id=1]
render_priority = 0
blend_mode = 1
light_mode = 0
[sub_resource type="Gradient" id=2]
offsets = PoolRealArray( 0, 1 )
colors = PoolColorArray( 0.031187, 0.257812, 0.0772203, 1, 0.519531, 0.0488806, 0.379807, 0 )
[sub_resource type="GradientTexture" id=3]
flags = 4
gradient = SubResource( 2 )
width = 2048
[sub_resource type="ParticlesMaterial" id=4]
render_priority = 0
trail_divisor = 3
emission_shape = 1
emission_sphere_radius = 6.0
flag_align_y = false
flag_rotate_y = false
flag_disable_z = true
spread = 180.0
flatness = 0.0
gravity = Vector3( 0, 0, 0 )
initial_velocity = 100.0
initial_velocity_random = 1.0
angular_velocity = 0.0
angular_velocity_random = 0.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel = 0.0
linear_accel_random = 0.0
radial_accel = 1.0
radial_accel_random = 0.0
tangential_accel = 0.0
tangential_accel_random = 0.0
damping = 0.0
damping_random = 0.0
angle = 0.0
angle_random = 0.0
scale = 1.5
scale_random = 0.0
color_ramp = SubResource( 3 )
hue_variation = 0.0
hue_variation_random = 0.0
anim_speed = 0.0
anim_speed_random = 0.0
anim_offset = 0.0
anim_offset_random = 0.0
anim_loop = false
_sections_unfolded = [ "Color", "Emission Shape", "Initial Velocity", "Radial Accel", "Scale", "Spread" ]
[node name="projectile" type="KinematicBody2D" index="0"]
input_pickable = false
collision_layer = 2
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
_sections_unfolded = [ "Collision", "collision" ]
[node name="Sprite" type="Sprite" parent="." index="0"]
texture = ExtResource( 2 )
_sections_unfolded = [ "Offset" ]
[node name="trail" type="Particles2D" parent="." index="1"]
material = SubResource( 1 )
scale = Vector2( 0.2, 0.2 )
emitting = true
amount = 400
lifetime = 0.3
one_shot = false
preprocess = 0.0
speed_scale = 1.0
explosiveness = 0.0
randomness = 0.0
fixed_fps = 0
fract_delta = true
visibility_rect = Rect2( -100, -100, 200, 200 )
local_coords = false
draw_order = 0
process_material = SubResource( 4 )
texture = ExtResource( 3 )
normal_map = null
h_frames = 1
v_frames = 1
_sections_unfolded = [ "Material", "Process Material", "Textures", "Time", "Transform" ]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." index="2"]
build_mode = 0
polygon = PoolVector2Array( -0.0359383, -9.95235, 9.86236, -0.0540504, -0.149063, 9.78769, -10.1605, -0.0540504 )