|
@@ -1,4 +1,4 @@
|
|
|
-[gd_scene load_steps=25 format=2]
|
|
|
+[gd_scene load_steps=23 format=2]
|
|
|
|
|
|
[ext_resource path="res://player/player.gd" type="Script" id=1]
|
|
|
[ext_resource path="res://player/robot_demo.png" type="Texture" id=2]
|
|
@@ -16,22 +16,7 @@ friction = 0.0
|
|
|
[sub_resource type="Gradient" id=2]
|
|
|
colors = PoolColorArray( 0.708353, 0.72498, 1, 1, 1, 1, 1, 0 )
|
|
|
|
|
|
-[sub_resource type="GradientTexture" id=3]
|
|
|
-gradient = SubResource( 2 )
|
|
|
-
|
|
|
-[sub_resource type="ParticlesMaterial" id=4]
|
|
|
-flag_disable_z = true
|
|
|
-spread = 65.84
|
|
|
-gravity = Vector3( 0, -15, 0 )
|
|
|
-initial_velocity = 10.14
|
|
|
-angular_velocity = 200.0
|
|
|
-angular_velocity_random = 1.0
|
|
|
-orbit_velocity = 0.0
|
|
|
-orbit_velocity_random = 0.0
|
|
|
-linear_accel = 100.0
|
|
|
-color_ramp = SubResource( 3 )
|
|
|
-
|
|
|
-[sub_resource type="Animation" id=5]
|
|
|
+[sub_resource type="Animation" id=3]
|
|
|
length = 0.01
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -48,7 +33,7 @@ tracks/0/keys = {
|
|
|
"values": [ 22 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=6]
|
|
|
+[sub_resource type="Animation" id=4]
|
|
|
length = 0.01
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -65,7 +50,7 @@ tracks/0/keys = {
|
|
|
"values": [ 21 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=7]
|
|
|
+[sub_resource type="Animation" id=5]
|
|
|
length = 0.5
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -82,7 +67,7 @@ tracks/0/keys = {
|
|
|
"values": [ 26 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=8]
|
|
|
+[sub_resource type="Animation" id=6]
|
|
|
length = 7.0
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -99,7 +84,7 @@ tracks/0/keys = {
|
|
|
"values": [ 16, 17, 18, 16, 19, 20, 19, 16 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=9]
|
|
|
+[sub_resource type="Animation" id=7]
|
|
|
length = 0.5
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -116,7 +101,7 @@ tracks/0/keys = {
|
|
|
"values": [ 25 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=10]
|
|
|
+[sub_resource type="Animation" id=8]
|
|
|
length = 0.5
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -133,7 +118,7 @@ tracks/0/keys = {
|
|
|
"values": [ 23, 24, 23 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=11]
|
|
|
+[sub_resource type="Animation" id=9]
|
|
|
length = 0.5
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -150,7 +135,7 @@ tracks/0/keys = {
|
|
|
"values": [ 26 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=12]
|
|
|
+[sub_resource type="Animation" id=10]
|
|
|
length = 1.25
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -167,7 +152,7 @@ tracks/0/keys = {
|
|
|
"values": [ 0, 1, 2, 3, 4, 0 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=13]
|
|
|
+[sub_resource type="Animation" id=11]
|
|
|
length = 1.25
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -184,7 +169,7 @@ tracks/0/keys = {
|
|
|
"values": [ 5, 6, 7, 8, 9, 5 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=14]
|
|
|
+[sub_resource type="Animation" id=12]
|
|
|
length = 1.25
|
|
|
loop = true
|
|
|
step = 0.25
|
|
@@ -201,7 +186,7 @@ tracks/0/keys = {
|
|
|
"values": [ 10, 11, 12, 13, 14, 5 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="RayShape2D" id=15]
|
|
|
+[sub_resource type="RayShape2D" id=13]
|
|
|
custom_solver_bias = 0.5
|
|
|
length = 18.0
|
|
|
|
|
@@ -218,7 +203,7 @@ texture = ExtResource( 2 )
|
|
|
hframes = 16
|
|
|
vframes = 2
|
|
|
|
|
|
-[node name="Smoke" type="Particles2D" parent="Sprite"]
|
|
|
+[node name="Smoke" type="CPUParticles2D" parent="Sprite"]
|
|
|
self_modulate = Color( 1, 1, 1, 0.26702 )
|
|
|
position = Vector2( 10, 1.5 )
|
|
|
rotation = -1.45648
|
|
@@ -227,20 +212,26 @@ lifetime = 0.3
|
|
|
one_shot = true
|
|
|
explosiveness = 1.0
|
|
|
local_coords = false
|
|
|
-process_material = SubResource( 4 )
|
|
|
texture = ExtResource( 3 )
|
|
|
+spread = 65.84
|
|
|
+gravity = Vector2( 0, -15 )
|
|
|
+initial_velocity = 10.14
|
|
|
+angular_velocity = 200.0
|
|
|
+angular_velocity_random = 1.0
|
|
|
+linear_accel = 100.0
|
|
|
+color_ramp = SubResource( 2 )
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
-anims/crouch = SubResource( 5 )
|
|
|
-anims/falling = SubResource( 6 )
|
|
|
-anims/falling_weapon = SubResource( 7 )
|
|
|
-anims/idle = SubResource( 8 )
|
|
|
-anims/idle_weapon = SubResource( 9 )
|
|
|
-anims/jumping = SubResource( 10 )
|
|
|
-anims/jumping_weapon = SubResource( 11 )
|
|
|
-anims/run = SubResource( 12 )
|
|
|
-anims/run_weapon = SubResource( 13 )
|
|
|
-anims/standing_weapon_ready = SubResource( 14 )
|
|
|
+anims/crouch = SubResource( 3 )
|
|
|
+anims/falling = SubResource( 4 )
|
|
|
+anims/falling_weapon = SubResource( 5 )
|
|
|
+anims/idle = SubResource( 6 )
|
|
|
+anims/idle_weapon = SubResource( 7 )
|
|
|
+anims/jumping = SubResource( 8 )
|
|
|
+anims/jumping_weapon = SubResource( 9 )
|
|
|
+anims/run = SubResource( 10 )
|
|
|
+anims/run_weapon = SubResource( 11 )
|
|
|
+anims/standing_weapon_ready = SubResource( 12 )
|
|
|
|
|
|
[node name="Camera" type="Camera2D" parent="."]
|
|
|
current = true
|
|
@@ -253,7 +244,7 @@ position = Vector2( 15, 2 )
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
position = Vector2( 0.15, -6 )
|
|
|
-shape = SubResource( 15 )
|
|
|
+shape = SubResource( 13 )
|
|
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
|
|
polygon = PoolVector2Array( -0.138, 8.25, -10, -12, 11, -12 )
|