-
Notifications
You must be signed in to change notification settings - Fork 0
/
Player.tscn
115 lines (97 loc) · 2.83 KB
/
Player.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://Cartoon_Moon_Rocket.png" type="Texture" id=2]
[sub_resource type="Gradient" id=1]
offsets = PoolRealArray( 0, 0.00332226, 0.564784, 1 )
colors = PoolColorArray( 0, 0, 0, 1, 1, 0.963684, 0.726562, 1, 1, 0.699219, 0.125, 1, 0.320312, 0, 0, 1 )
[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )
width = 2048
[sub_resource type="ParticlesMaterial" id=3]
render_priority = 0
trail_divisor = 1
emission_shape = 2
emission_box_extents = Vector3( 3, 3, 3 )
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 = 300.0
initial_velocity_random = 0.71
angular_velocity = 0.0
angular_velocity_random = 0.0
orbit_velocity = 200.0
orbit_velocity_random = 1.0
linear_accel = 0.0
linear_accel_random = 0.0
radial_accel = 0.0
radial_accel_random = 0.0
tangential_accel = 0.0
tangential_accel_random = 0.0
damping = 69.42
damping_random = 1.0
angle = 0.0
angle_random = 0.0
scale = 2.79
scale_random = 1.0
color_ramp = SubResource( 2 )
hue_variation = 0.0
hue_variation_random = 0.24
anim_speed = 0.0
anim_speed_random = 0.0
anim_offset = 0.0
anim_offset_random = 0.0
anim_loop = false
[node name="Player" type="RigidBody2D"]
position = Vector2( 358.794, 287.759 )
input_pickable = false
collision_layer = 1
collision_mask = 1
mode = 0
mass = 0.1
friction = 1.0
bounce = 1.0
gravity_scale = 0.0
custom_integrator = false
continuous_cd = 2
contacts_reported = 3
contact_monitor = true
sleeping = false
can_sleep = false
linear_velocity = Vector2( 0, 0 )
linear_damp = -1.0
angular_velocity = 0.0
angular_damp = -1.0
script = ExtResource( 1 )
[node name="Ship" type="Sprite" parent="."]
position = Vector2( 0.00808644, 0.240998 )
scale = Vector2( 0.0597589, 0.0524996 )
texture = ExtResource( 2 )
region_rect = Rect2( 0, 0, 480, 800 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
position = Vector2( 0.438416, -0.615509 )
scale = Vector2( 0.462627, 0.635885 )
build_mode = 0
polygon = PoolVector2Array( -0.515076, -31.9222, -16.6672, -20.1022, -23.3973, -7.70093, -23.3973, 0.243652, -21.3784, 8.38202, -29.4544, 10.5135, -32.1464, 31.4407, 28.4243, 31.8282, 30.4434, 16.1328, 26.7418, 9.54465, 21.0212, 8.38202, 23.0403, -2.85666, 21.6943, -10.0262, 15.9737, -19.9084 )
[node name="Explosion" type="Particles2D" parent="."]
emitting = false
amount = 500
lifetime = 5.0
one_shot = true
preprocess = 0.0
speed_scale = 1.65
explosiveness = 0.91
randomness = 0.0
fixed_fps = 0
fract_delta = true
visibility_rect = Rect2( -100, -100, 200, 200 )
local_coords = true
draw_order = 0
process_material = SubResource( 3 )
texture = null
normal_map = null
h_frames = 1
v_frames = 1
[connection signal="body_entered" from="." to="." method="_on_Player_body_entered"]