ld-39-jam/Player.tscn

282 lines
7.6 KiB
Plaintext
Raw Normal View History

2017-08-13 00:32:41 +01:00
[gd_scene load_steps=16 format=1]
2017-07-29 15:49:55 +01:00
[ext_resource path="res://Player.gd" type="Script" id=1]
2017-07-29 22:28:46 +01:00
[ext_resource path="res://img/player_ship.tex" type="Texture" id=2]
2017-07-30 21:25:42 +01:00
[ext_resource path="res://Gun.gd" type="Script" id=3]
[ext_resource path="res://raw/exhaust.png" type="Texture" id=4]
2017-07-30 22:31:47 +01:00
[ext_resource path="res://ThrusterScript.gd" type="Script" id=5]
2017-08-13 00:32:41 +01:00
[ext_resource path="res://sounds/engine.wav" type="Sample" id=6]
[ext_resource path="res://sounds/friendly_blip.wav" type="Sample" id=7]
[ext_resource path="res://sounds/select_blip.wav" type="Sample" id=8]
[ext_resource path="res://sounds/warning_beep.wav" type="Sample" id=9]
2017-07-29 15:49:55 +01:00
[sub_resource type="ConvexPolygonShape2D" id=1]
2017-08-12 17:02:52 +01:00
custom_solver_bias = 0.0
points = Vector2Array( 1.0577, -3.01906, 5.25348, -11.498, 5.42831, -1.44565, 3.76748, 13.2396 )
[sub_resource type="ConvexPolygonShape2D" id=2]
custom_solver_bias = 0.0
points = Vector2Array( -7.94572, -1.096, -7.7709, -11.5854, -2.6136, -3.10647, 3.76748, 13.2396, -5.41078, 13.4144 )
[sub_resource type="ConvexPolygonShape2D" id=3]
custom_solver_bias = 0.0
points = Vector2Array( -16.075, 9.1312, -16.075, 0.215181, -7.94572, -1.096, -5.41078, 13.4144 )
[sub_resource type="ConvexPolygonShape2D" id=4]
custom_solver_bias = 0.0
points = Vector2Array( 3.76748, 13.2396, -2.6136, -3.10647, 1.0577, -3.01906 )
[sub_resource type="ConvexPolygonShape2D" id=5]
custom_solver_bias = 0.0
points = Vector2Array( 13.645, 9.30603, 3.76748, 13.2396, 5.42831, -1.44565, 13.7324, 0.302593 )
2017-08-12 17:02:52 +01:00
2017-08-13 00:32:41 +01:00
[sub_resource type="SampleLibrary" id=6]
samples/engine = {
"db": 0.0,
"pitch": 1.0,
"priority": 0,
"sample": ExtResource( 6 )
}
samples/friendly_blip = {
"db": 0.0,
"pitch": 1.0,
"priority": 0,
"sample": ExtResource( 7 )
}
samples/select_blip = {
"db": 0.0,
"pitch": 1.0,
"priority": 0,
"sample": ExtResource( 8 )
}
samples/warning_beep = {
"db": 0.0,
"pitch": 1.0,
"priority": 0,
"sample": ExtResource( 9 )
}
samples/warning_beep2 = {
"db": 0.0,
"pitch": 1.0,
"priority": 0,
"sample": ExtResource( 9 )
}
2017-07-29 22:28:46 +01:00
[node name="Player" type="KinematicBody2D"]
2017-07-29 15:49:55 +01:00
transform/scale = Vector2( 2, 2 )
2017-07-29 22:28:46 +01:00
input/pickable = false
2017-08-12 17:02:52 +01:00
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Matrix32( 1, 0, 0, 1, 1.13636, -0.699295 )
2017-08-12 17:02:52 +01:00
shapes/0/trigger = false
shapes/1/shape = SubResource( 2 )
shapes/1/transform = Matrix32( 1, 0, 0, 1, 1.13636, -0.699295 )
shapes/1/trigger = false
shapes/2/shape = SubResource( 3 )
shapes/2/transform = Matrix32( 1, 0, 0, 1, 1.13636, -0.699295 )
shapes/2/trigger = false
shapes/3/shape = SubResource( 4 )
shapes/3/transform = Matrix32( 1, 0, 0, 1, 1.13636, -0.699295 )
shapes/3/trigger = false
shapes/4/shape = SubResource( 5 )
shapes/4/transform = Matrix32( 1, 0, 0, 1, 1.13636, -0.699295 )
shapes/4/trigger = false
collision/layers = 3
2017-07-29 22:28:46 +01:00
collision/mask = 1
collision/margin = 0.08
2017-07-29 15:49:55 +01:00
script/script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
2017-07-30 21:25:42 +01:00
[node name="LeftGun" type="Sprite" parent="Sprite"]
transform/pos = Vector2( -12.4756, -6.0575 )
2017-07-30 21:25:42 +01:00
script/script = ExtResource( 3 )
[node name="RightGun" type="Sprite" parent="Sprite"]
transform/pos = Vector2( 12.3297, -5.98944 )
2017-07-30 21:25:42 +01:00
script/script = ExtResource( 3 )
[node name="Engine" type="Particles2D" parent="Sprite"]
2017-07-30 20:57:41 +01:00
transform/pos = Vector2( 0, 13.1031 )
config/amount = 256
2017-08-10 23:26:45 +01:00
config/lifetime = 1.0
2017-07-30 20:57:41 +01:00
config/process_mode = 1
config/local_space = false
2017-07-30 21:25:42 +01:00
config/texture = ExtResource( 4 )
2017-07-30 20:57:41 +01:00
params/direction = 0.0
2017-08-10 23:26:45 +01:00
params/spread = 80.0
2017-07-30 20:57:41 +01:00
params/linear_velocity = 32.0
params/spin_velocity = 0.0
params/orbit_velocity = 0.0
params/gravity_direction = 0.0
params/gravity_strength = 9.8
params/radial_accel = 0.0
params/tangential_accel = 0.0
params/damping = 0.0
params/initial_angle = 0.0
params/initial_size = 2.0
2017-08-10 23:26:45 +01:00
params/final_size = 0.0
2017-07-30 20:57:41 +01:00
params/hue_variation = 0.0
params/anim_speed_scale = 1.0
params/anim_initial_pos = 0.0
2017-07-30 22:31:47 +01:00
[node name="RightThruster" type="Node2D" parent="Sprite"]
2017-07-30 22:31:47 +01:00
transform/pos = Vector2( -14.2811, 9.39949 )
script/script = ExtResource( 5 )
[node name="thruster_one" type="Particles2D" parent="Sprite/RightThruster"]
transform/pos = Vector2( 28.5622, 0.278895 )
config/amount = 16
config/lifetime = 0.3
config/process_mode = 1
params/direction = 0.0
params/spread = 10.0
params/linear_velocity = 60.0
params/spin_velocity = 0.0
params/orbit_velocity = 0.0
params/gravity_direction = 0.0
params/gravity_strength = 0.0
params/radial_accel = 0.0
params/tangential_accel = 0.0
params/damping = 0.0
params/initial_angle = 0.0
params/initial_size = 1.0
params/final_size = 1.0
params/hue_variation = 0.0
params/anim_speed_scale = 1.0
params/anim_initial_pos = 0.0
[node name="thruster_two" type="Particles2D" parent="Sprite/RightThruster"]
transform/pos = Vector2( -0.306683, -8.52128 )
transform/rot = 180.0
config/amount = 16
config/lifetime = 0.3
config/process_mode = 1
params/direction = 0.0
params/spread = 10.0
params/linear_velocity = 60.0
params/spin_velocity = 0.0
params/orbit_velocity = 0.0
params/gravity_direction = 0.0
params/gravity_strength = 0.0
params/radial_accel = 0.0
params/tangential_accel = 0.0
params/damping = 0.0
params/initial_angle = 0.0
params/initial_size = 1.0
params/final_size = 1.0
params/hue_variation = 0.0
params/anim_speed_scale = 1.0
params/anim_initial_pos = 0.0
[node name="LeftThruster" type="Node2D" parent="Sprite"]
transform/pos = Vector2( -14.2811, 9.39949 )
script/script = ExtResource( 5 )
[node name="thruster_one" type="Particles2D" parent="Sprite/LeftThruster"]
transform/pos = Vector2( 28.8689, -8.9075 )
transform/rot = 180.0
config/amount = 16
config/lifetime = 0.3
config/process_mode = 1
params/direction = 0.0
params/spread = 10.0
params/linear_velocity = 60.0
params/spin_velocity = 0.0
params/orbit_velocity = 0.0
params/gravity_direction = 0.0
params/gravity_strength = 0.0
params/radial_accel = 0.0
params/tangential_accel = 0.0
params/damping = 0.0
params/initial_angle = 0.0
params/initial_size = 1.0
params/final_size = 1.0
params/hue_variation = 0.0
params/anim_speed_scale = 1.0
params/anim_initial_pos = 0.0
2017-07-30 22:31:47 +01:00
[node name="thruster_two" type="Particles2D" parent="Sprite/LeftThruster"]
config/amount = 16
config/lifetime = 0.3
config/process_mode = 1
params/direction = 0.0
params/spread = 10.0
params/linear_velocity = 60.0
params/spin_velocity = 0.0
params/orbit_velocity = 0.0
params/gravity_direction = 0.0
params/gravity_strength = 0.0
params/radial_accel = 0.0
params/tangential_accel = 0.0
params/damping = 0.0
params/initial_angle = 0.0
params/initial_size = 1.0
params/final_size = 1.0
params/hue_variation = 0.0
params/anim_speed_scale = 1.0
params/anim_initial_pos = 0.0
[node name="Camera2D" type="Camera2D" parent="."]
anchor_mode = 1
rotating = false
current = true
zoom = Vector2( 1, 1 )
limit/left = -10000000
limit/top = -10000000
limit/right = 10000000
limit/bottom = 10000000
drag_margin/h_enabled = true
drag_margin/v_enabled = true
smoothing/enable = false
smoothing/speed = 5.0
drag_margin/left = 0.2
drag_margin/top = 0.2
drag_margin/right = 0.2
drag_margin/bottom = 0.2
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
2017-08-12 17:02:52 +01:00
transform/pos = Vector2( 1.13636, -0.699295 )
build_mode = 0
polygon = Vector2Array( -7.7709, -11.5854, -7.94572, -1.096, -16.075, 0.215181, -16.075, 9.1312, -5.41078, 13.4144, 3.76748, 13.2396, 13.645, 9.30603, 13.7324, 0.302593, 5.42831, -1.44565, 5.25348, -11.498, 1.0577, -3.01906, -2.6136, -3.10647 )
shape_range = Vector2( 0, 4 )
2017-08-12 17:02:52 +01:00
trigger = false
2017-08-13 00:32:41 +01:00
[node name="SamplePlayer" type="SamplePlayer" parent="."]
config/polyphony = 2
config/samples = SubResource( 6 )
default/volume_db = 0.0
default/pitch_scale = 1.0
default/pan = 0.0
default/depth = 0.0
default/height = 0.0
default/filter/type = 0
default/filter/cutoff = 5000.0
default/filter/resonance = 1.0
default/filter/gain = 1.0
default/reverb_room = 2
default/reverb_send = 0.0
default/chorus_send = 0.0
2017-07-29 15:49:55 +01:00