551 lines
16 KiB
Text
551 lines
16 KiB
Text
[gd_scene load_steps=27 format=2]
|
|
|
|
[ext_resource path="res://objects/enemy/boss/2600.gd" type="Script" id=1]
|
|
[ext_resource path="res://graphics/enemy/boss/stg_2600/tailpipes.png" type="Texture" id=2]
|
|
[ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=3]
|
|
[ext_resource path="res://graphics/enemy/boss/stg_2600/beam.png" type="Texture" id=4]
|
|
[ext_resource path="res://graphics/npc/intelli_idle.png" type="Texture" id=5]
|
|
[ext_resource path="res://graphics/enemy/boss/stg_2600/head_intact.png" type="Texture" id=6]
|
|
[ext_resource path="res://graphics/enemy/boss/stg_2600/bolt_large.png" type="Texture" id=7]
|
|
[ext_resource path="res://graphics/enemy/boss/stg_2600/bolt_medium.png" type="Texture" id=8]
|
|
[ext_resource path="res://graphics/enemy/boss/stg_2600/leg.png" type="Texture" id=9]
|
|
[ext_resource path="res://scripts/sprite_ext.gd" type="Script" id=10]
|
|
[ext_resource path="res://shaders/scale3x.gdshader" type="Shader" id=11]
|
|
[ext_resource path="res://graphics/enemy/boss/stg_2600/foot.png" type="Texture" id=12]
|
|
[ext_resource path="res://graphics/enemy/boss/stg_2600/beam_gradient.png" type="Texture" id=13]
|
|
[ext_resource path="res://shaders/beam_cycle.gdshader" type="Shader" id=14]
|
|
[ext_resource path="res://graphics/particles/dust.png" type="Texture" id=15]
|
|
|
|
[sub_resource type="ShaderMaterial" id=11]
|
|
shader = ExtResource( 3 )
|
|
shader_param/speed = Vector2( 16, 32 )
|
|
shader_param/ammount = Vector2( 0.6, 0.6 )
|
|
shader_param/offset = Vector2( 0, 0 )
|
|
shader_param/delay = Vector2( 0, 0 )
|
|
|
|
[sub_resource type="Curve" id=12]
|
|
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.130639, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.348684, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
[sub_resource type="ShaderMaterial" id=10]
|
|
shader = ExtResource( 14 )
|
|
shader_param/cycle_speed = 1.0
|
|
shader_param/gradient = ExtResource( 13 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=6]
|
|
extents = Vector2( 128, 8 )
|
|
|
|
[sub_resource type="Curve" id=13]
|
|
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.803571, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
[sub_resource type="ShaderMaterial" id=8]
|
|
shader = ExtResource( 11 )
|
|
shader_param/pixel_scale = 1.0
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 20.5, 15.5 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 47, 16 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=3]
|
|
extents = Vector2( 23, 13 )
|
|
|
|
[sub_resource type="Animation" id=4]
|
|
resource_name = "Beam"
|
|
length = 4.0
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath(".:can_shoot")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 3.7 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 1,
|
|
"values": [ false, true ]
|
|
}
|
|
tracks/1/type = "method"
|
|
tracks/1/path = NodePath(".")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"times": PoolRealArray( 1.6, 3.4 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"values": [ {
|
|
"args": [ true ],
|
|
"method": "_play_laser_sound"
|
|
}, {
|
|
"args": [ false ],
|
|
"method": "_play_laser_sound"
|
|
} ]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/path = NodePath("Axle/Head/Beam:scale")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/keys = {
|
|
"times": PoolRealArray( 0, 1.5, 1.6, 3.3, 3.4 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 1, 1e-05 ), Vector2( 1, 1e-05 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1, 1e-05 ) ]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/path = NodePath("Axle/Head/InternalBeam:scale")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/keys = {
|
|
"times": PoolRealArray( 0, 1.3, 1.5, 3.3, 3.4 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 1e-05, 1 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1, 1e-05 ) ]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/path = NodePath("Axle/Head/Beam/Hitbox/BeamShape:disabled")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/keys = {
|
|
"times": PoolRealArray( 0, 1.6, 3.4 ),
|
|
"transitions": PoolRealArray( 1, 1, 1 ),
|
|
"update": 1,
|
|
"values": [ true, false, true ]
|
|
}
|
|
tracks/5/type = "value"
|
|
tracks/5/path = NodePath("Axle/Head:rotation_degrees")
|
|
tracks/5/interp = 1
|
|
tracks/5/loop_wrap = true
|
|
tracks/5/imported = false
|
|
tracks/5/enabled = true
|
|
tracks/5/keys = {
|
|
"times": PoolRealArray( 0, 1.3, 1.6, 3.3, 3.4, 3.7 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ),
|
|
"update": 0,
|
|
"values": [ 0.0, 15.0, 15.0, -15.0, -15.0, 0.0 ]
|
|
}
|
|
tracks/6/type = "value"
|
|
tracks/6/path = NodePath("Axle/Head/BeamChargeParticles:emitting")
|
|
tracks/6/interp = 1
|
|
tracks/6/loop_wrap = true
|
|
tracks/6/imported = false
|
|
tracks/6/enabled = true
|
|
tracks/6/keys = {
|
|
"times": PoolRealArray( 0, 1.1 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 1,
|
|
"values": [ true, false ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=5]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath(".:can_shoot")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ true ]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/path = NodePath("Axle/Head/Beam:scale")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 1, 1e-05 ) ]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/path = NodePath("Axle/Head/InternalBeam:scale")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 0, 1 ) ]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/path = NodePath("Axle/Head/Beam/Hitbox/BeamShape:disabled")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 0,
|
|
"values": [ true ]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/path = NodePath("Axle/Head:rotation_degrees")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 0,
|
|
"values": [ 0.0 ]
|
|
}
|
|
tracks/5/type = "value"
|
|
tracks/5/path = NodePath("Axle/Head/Beam:visible")
|
|
tracks/5/interp = 1
|
|
tracks/5/loop_wrap = true
|
|
tracks/5/imported = false
|
|
tracks/5/enabled = true
|
|
tracks/5/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 0,
|
|
"values": [ true ]
|
|
}
|
|
tracks/6/type = "value"
|
|
tracks/6/path = NodePath("Axle/Head/BeamChargeParticles:emitting")
|
|
tracks/6/interp = 1
|
|
tracks/6/loop_wrap = true
|
|
tracks/6/imported = false
|
|
tracks/6/enabled = true
|
|
tracks/6/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 0,
|
|
"values": [ false ]
|
|
}
|
|
|
|
[node name="2600" type="Node2D"]
|
|
position = Vector2( 0, -16 )
|
|
script = ExtResource( 1 )
|
|
can_shoot = true
|
|
|
|
[node name="Axle" type="Node2D" parent="."]
|
|
position = Vector2( 66, 78 )
|
|
|
|
[node name="JointBack" type="Sprite" parent="Axle"]
|
|
modulate = Color( 0.75, 0.75, 0.75, 1 )
|
|
position = Vector2( -10, -4 )
|
|
texture = ExtResource( 7 )
|
|
__meta__ = {
|
|
"_edit_bone_": true
|
|
}
|
|
|
|
[node name="LegBack" type="Sprite" parent="Axle/JointBack"]
|
|
show_behind_parent = true
|
|
rotation = -0.436332
|
|
texture = ExtResource( 9 )
|
|
offset = Vector2( 0, 18 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 12, 36 )
|
|
__meta__ = {
|
|
"_edit_bone_": true,
|
|
"_edit_ik_": true
|
|
}
|
|
|
|
[node name="KneeBack" type="Node2D" parent="Axle/JointBack/LegBack"]
|
|
position = Vector2( 0, 36 )
|
|
__meta__ = {
|
|
"_edit_bone_": true
|
|
}
|
|
|
|
[node name="ShinBack" type="Sprite" parent="Axle/JointBack/LegBack/KneeBack"]
|
|
rotation = 0.872665
|
|
texture = ExtResource( 9 )
|
|
offset = Vector2( 0, 24 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 12, 48 )
|
|
__meta__ = {
|
|
"_edit_bone_": true
|
|
}
|
|
|
|
[node name="FootBack" type="Sprite" parent="Axle/JointBack/LegBack/KneeBack/ShinBack"]
|
|
position = Vector2( 0.00983047, 47.8521 )
|
|
rotation = -0.436332
|
|
texture = ExtResource( 12 )
|
|
offset = Vector2( -11.6527, 2.61113 )
|
|
script = ExtResource( 10 )
|
|
__meta__ = {
|
|
"_edit_bone_": true
|
|
}
|
|
rotation_lock = 0.0
|
|
|
|
[node name="Endpoint" type="Position2D" parent="Axle/JointBack/LegBack/KneeBack/ShinBack/FootBack"]
|
|
position = Vector2( -17, 0 )
|
|
__meta__ = {
|
|
"_edit_bone_": true,
|
|
"_gizmo_extents_": 4.0
|
|
}
|
|
|
|
[node name="HitboxTransform" type="RemoteTransform2D" parent="Axle/JointBack/LegBack/KneeBack/ShinBack/FootBack"]
|
|
position = Vector2( -8.99999, 5 )
|
|
remote_path = NodePath("../../../../../../../Hitbox/FootShapeBack")
|
|
|
|
[node name="KneeBack" type="Sprite" parent="Axle/JointBack/LegBack/KneeBack"]
|
|
texture = ExtResource( 8 )
|
|
hframes = 8
|
|
script = ExtResource( 10 )
|
|
fps = 4.0
|
|
rotation_lock = 0.0
|
|
|
|
[node name="Head" type="Sprite" parent="Axle"]
|
|
unique_name_in_owner = true
|
|
position = Vector2( 0, -4 )
|
|
texture = ExtResource( 6 )
|
|
offset = Vector2( -13, -25 )
|
|
__meta__ = {
|
|
"_edit_bone_": true
|
|
}
|
|
|
|
[node name="End" type="Position2D" parent="Axle/Head"]
|
|
position = Vector2( -20, -28 )
|
|
__meta__ = {
|
|
"_edit_bone_": true,
|
|
"_gizmo_extents_": 4.0
|
|
}
|
|
|
|
[node name="HitboxTransform" type="RemoteTransform2D" parent="Axle/Head"]
|
|
position = Vector2( -18, -10 )
|
|
remote_path = NodePath("../../../Hitbox/HeadShape")
|
|
|
|
[node name="CannonBG" type="ColorRect" parent="Axle/Head"]
|
|
show_behind_parent = true
|
|
margin_left = -64.0
|
|
margin_top = -18.0
|
|
margin_right = -32.0
|
|
margin_bottom = -2.0
|
|
color = Color( 0.266667, 0.266667, 0.305882, 1 )
|
|
|
|
[node name="Tailpipes" type="Sprite" parent="Axle/Head"]
|
|
show_behind_parent = true
|
|
material = SubResource( 11 )
|
|
position = Vector2( 21, -36 )
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="SmokeParticles" type="CPUParticles2D" parent="Axle/Head/Tailpipes"]
|
|
position = Vector2( 10, -10 )
|
|
amount = 12
|
|
texture = ExtResource( 15 )
|
|
direction = Vector2( 1, -1 )
|
|
gravity = Vector2( 0, -30 )
|
|
initial_velocity = 20.0
|
|
initial_velocity_random = 1.0
|
|
angular_velocity = 180.0
|
|
angular_velocity_random = 1.0
|
|
angle = 720.0
|
|
angle_random = 1.0
|
|
scale_amount = 0.5
|
|
scale_amount_random = 1.0
|
|
scale_amount_curve = SubResource( 12 )
|
|
color = Color( 0.0666667, 0.0666667, 0.0666667, 1 )
|
|
|
|
[node name="SmokeParticles2" type="CPUParticles2D" parent="Axle/Head/Tailpipes"]
|
|
position = Vector2( 8, 0 )
|
|
amount = 12
|
|
texture = ExtResource( 15 )
|
|
direction = Vector2( 1, -1 )
|
|
gravity = Vector2( 0, -30 )
|
|
initial_velocity = 20.0
|
|
initial_velocity_random = 1.0
|
|
angle = 720.0
|
|
angle_random = 1.0
|
|
scale_amount = 0.5
|
|
scale_amount_random = 1.0
|
|
scale_amount_curve = SubResource( 12 )
|
|
color = Color( 0.0666667, 0.0666667, 0.0666667, 1 )
|
|
|
|
[node name="SmokeParticles3" type="CPUParticles2D" parent="Axle/Head/Tailpipes"]
|
|
position = Vector2( 5, -9 )
|
|
amount = 12
|
|
texture = ExtResource( 15 )
|
|
direction = Vector2( 1, -1 )
|
|
gravity = Vector2( 0, -30 )
|
|
initial_velocity = 20.0
|
|
initial_velocity_random = 1.0
|
|
angle = 720.0
|
|
angle_random = 1.0
|
|
scale_amount = 0.5
|
|
scale_amount_random = 1.0
|
|
scale_amount_curve = SubResource( 12 )
|
|
color = Color( 0.0666667, 0.0666667, 0.0666667, 1 )
|
|
|
|
[node name="Intelli" type="Sprite" parent="Axle/Head"]
|
|
show_behind_parent = true
|
|
position = Vector2( -37, -32 )
|
|
texture = ExtResource( 5 )
|
|
flip_h = true
|
|
|
|
[node name="Beam" type="Sprite" parent="Axle/Head"]
|
|
show_behind_parent = true
|
|
material = SubResource( 10 )
|
|
position = Vector2( -58, -10 )
|
|
scale = Vector2( 1, 1e-05 )
|
|
texture = ExtResource( 4 )
|
|
offset = Vector2( -128, 0 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 256, 16 )
|
|
|
|
[node name="Hitbox" type="Area2D" parent="Axle/Head/Beam" groups=["blocks arrow", "enemy_hitbox"]]
|
|
|
|
[node name="BeamShape" type="CollisionShape2D" parent="Axle/Head/Beam/Hitbox"]
|
|
position = Vector2( -128, 0 )
|
|
shape = SubResource( 6 )
|
|
disabled = true
|
|
|
|
[node name="InternalBeam" type="Sprite" parent="Axle/Head"]
|
|
show_behind_parent = true
|
|
material = SubResource( 10 )
|
|
position = Vector2( -33, -10 )
|
|
scale = Vector2( 1e-05, 1 )
|
|
texture = ExtResource( 4 )
|
|
offset = Vector2( -12, 0 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 24, 16 )
|
|
|
|
[node name="BeamChargeParticles" type="CPUParticles2D" parent="Axle/Head"]
|
|
show_behind_parent = true
|
|
material = SubResource( 10 )
|
|
position = Vector2( -62, -10 )
|
|
scale = Vector2( 1, 0.987022 )
|
|
emitting = false
|
|
amount = 12
|
|
lifetime = 1.5
|
|
speed_scale = 3.0
|
|
texture = ExtResource( 15 )
|
|
emission_shape = 3
|
|
emission_points = PoolVector2Array( -32, 0, -28, -12, -28, 12, -24, -16, -24, 16, -30, -8, -30, 8, -32, -4, -32, 4 )
|
|
emission_colors = PoolColorArray( )
|
|
gravity = Vector2( 0, 0 )
|
|
radial_accel = -32.0
|
|
angle = 720.0
|
|
angle_random = 1.0
|
|
scale_amount = 0.5
|
|
scale_amount_random = 0.5
|
|
scale_amount_curve = SubResource( 13 )
|
|
|
|
[node name="JointFront" type="Sprite" parent="Axle"]
|
|
position = Vector2( 11, -4 )
|
|
texture = ExtResource( 7 )
|
|
__meta__ = {
|
|
"_edit_bone_": true,
|
|
"_edit_ik_": true
|
|
}
|
|
|
|
[node name="LegFront" type="Sprite" parent="Axle/JointFront"]
|
|
show_behind_parent = true
|
|
rotation = -0.436332
|
|
texture = ExtResource( 9 )
|
|
offset = Vector2( 0, 18 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 12, 36 )
|
|
__meta__ = {
|
|
"_edit_bone_": true,
|
|
"_edit_ik_": true
|
|
}
|
|
|
|
[node name="ShinFront" type="Sprite" parent="Axle/JointFront/LegFront"]
|
|
material = SubResource( 8 )
|
|
position = Vector2( 3.8147e-06, 36 )
|
|
rotation = 0.872665
|
|
texture = ExtResource( 9 )
|
|
offset = Vector2( 0, 24 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 12, 48 )
|
|
__meta__ = {
|
|
"_edit_bone_": true
|
|
}
|
|
|
|
[node name="FootFront" type="Sprite" parent="Axle/JointFront/LegFront/ShinFront"]
|
|
position = Vector2( 0.00983047, 47.8521 )
|
|
rotation = -0.436332
|
|
texture = ExtResource( 12 )
|
|
offset = Vector2( -11.6527, 2.61113 )
|
|
script = ExtResource( 10 )
|
|
__meta__ = {
|
|
"_edit_bone_": true
|
|
}
|
|
rotation_lock = 0.0
|
|
|
|
[node name="Endpoint" type="Position2D" parent="Axle/JointFront/LegFront/ShinFront/FootFront"]
|
|
position = Vector2( -17, 0 )
|
|
__meta__ = {
|
|
"_edit_bone_": true,
|
|
"_gizmo_extents_": 4.0
|
|
}
|
|
|
|
[node name="HitboxTransform" type="RemoteTransform2D" parent="Axle/JointFront/LegFront/ShinFront/FootFront"]
|
|
position = Vector2( -8.99999, 5 )
|
|
remote_path = NodePath("../../../../../../Hitbox/FootShapeFront")
|
|
|
|
[node name="KneeFront" type="Sprite" parent="Axle/JointFront/LegFront"]
|
|
position = Vector2( 3.8147e-06, 36 )
|
|
texture = ExtResource( 8 )
|
|
hframes = 8
|
|
script = ExtResource( 10 )
|
|
fps = 4.0
|
|
rotation_lock = 0.0
|
|
|
|
[node name="BulletPositions" type="Node2D" parent="."]
|
|
unique_name_in_owner = true
|
|
position = Vector2( -153, -24 )
|
|
|
|
[node name="Position1" type="Position2D" parent="BulletPositions"]
|
|
position = Vector2( 152, 80 )
|
|
|
|
[node name="Position2" type="Position2D" parent="BulletPositions"]
|
|
position = Vector2( 152, 88 )
|
|
rotation = -0.436332
|
|
|
|
[node name="Position3" type="Position2D" parent="BulletPositions"]
|
|
position = Vector2( 152, 96 )
|
|
rotation = -0.872665
|
|
|
|
[node name="ShootTimer" type="Timer" parent="."]
|
|
unique_name_in_owner = true
|
|
autostart = true
|
|
|
|
[node name="WeakSpot" type="Area2D" parent="." groups=["boss_weakspot", "enemy_hitbox"]]
|
|
position = Vector2( 1, 0 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="WeakSpot"]
|
|
position = Vector2( 26.5, 32.5 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Hitbox" type="Area2D" parent="." groups=["blocks_arrow", "enemy_hitbox"]]
|
|
position = Vector2( 1, 0 )
|
|
|
|
[node name="HeadShape" type="CollisionShape2D" parent="Hitbox"]
|
|
position = Vector2( 47, 64 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="FootShapeFront" type="CollisionShape2D" parent="Hitbox"]
|
|
position = Vector2( 62, 155 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="FootShapeBack" type="CollisionShape2D" parent="Hitbox"]
|
|
position = Vector2( 41, 155 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/Beam = SubResource( 4 )
|
|
anims/RESET = SubResource( 5 )
|
|
|
|
[connection signal="area_entered" from="Axle/Head/Beam/Hitbox" to="." method="_on_Hitbox_area_entered"]
|
|
[connection signal="timeout" from="ShootTimer" to="." method="_on_ShootTimer_timeout"]
|
|
[connection signal="area_entered" from="WeakSpot" to="." method="_on_WeakSpot_area_entered"]
|
|
[connection signal="area_entered" from="Hitbox" to="." method="_on_Hitbox_area_entered"]
|