125 lines
5.3 KiB
Plaintext
125 lines
5.3 KiB
Plaintext
[gd_scene format=3 uid="uid://bnoju71qm1xh7"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/enemies/boss.gd" id="1_boss"]
|
|
[ext_resource type="Texture2D" uid="uid://b2x7g4eslsmbd" path="res://assets/art/characters/boss/boss_idle.png" id="2_idle"]
|
|
[ext_resource type="Script" path="res://scenes/components/state_machine.gd" id="3_state_machine"]
|
|
[ext_resource type="Script" path="res://scenes/components/movement_motor.gd" id="4_movement_motor"]
|
|
[ext_resource type="Script" path="res://scenes/components/combo_window.gd" id="5_combo_window"]
|
|
[ext_resource type="Script" path="res://scenes/combat/action_resolver.gd" id="6_action_resolver"]
|
|
[ext_resource type="Script" path="res://scenes/components/action_executor.gd" id="7_action_executor"]
|
|
[ext_resource type="Script" path="res://scenes/components/action_controller.gd" id="8_action_controller"]
|
|
[ext_resource type="Script" path="res://scenes/components/motion_executor.gd" id="9_motion_executor"]
|
|
[ext_resource type="Script" path="res://scenes/components/effect_container.gd" id="10_effect_container"]
|
|
[ext_resource type="Script" path="res://scenes/components/health_component.gd" id="11_health_component"]
|
|
[ext_resource type="Script" path="res://scenes/components/damage_receiver.gd" id="12_damage_receiver"]
|
|
[ext_resource type="Script" path="res://scenes/components/damage_emitter.gd" id="13_damage_emitter"]
|
|
[ext_resource type="Script" path="res://scenes/enemies/enemy_action_driver.gd" id="14_enemy_action_driver"]
|
|
[ext_resource type="Script" path="res://scenes/enemies/boss_behavior_tree.gd" id="15_boss_behavior_tree"]
|
|
[ext_resource type="Script" path="res://scenes/components/frame_collision_driver.gd" id="18_frame_collision"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_body"]
|
|
size = Vector2(24, 58)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hurtbox"]
|
|
size = Vector2(28, 62)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hitbox"]
|
|
size = Vector2(80, 42)
|
|
|
|
[node name="Boss" type="CharacterBody2D" unique_id=11104068 groups=["bosses"]]
|
|
collision_layer = 64
|
|
collision_mask = 33
|
|
floor_snap_length = 0.0
|
|
safe_margin = 0.001
|
|
script = ExtResource("1_boss")
|
|
speed = 120.0
|
|
attack_lunge_speed = 150.0
|
|
|
|
[node name="Visual" type="Node2D" parent="." unique_id=1328075337]
|
|
scale = Vector2(2, 2)
|
|
|
|
[node name="CharacterSprite" type="Sprite2D" parent="Visual" unique_id=1061052547]
|
|
texture_filter = 2
|
|
texture = ExtResource("2_idle")
|
|
centered = false
|
|
offset = Vector2(-40, -47)
|
|
|
|
[node name="FxOverlay" type="Sprite2D" parent="Visual" unique_id=1946927846]
|
|
visible = false
|
|
texture_filter = 2
|
|
z_index = 2
|
|
centered = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1147475571]
|
|
position = Vector2(0, -70)
|
|
shape = SubResource("RectangleShape2D_body")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1741182662]
|
|
|
|
[node name="StateMachine" type="Node" parent="." unique_id=1244013726]
|
|
script = ExtResource("3_state_machine")
|
|
|
|
[node name="MovementMotor" type="Node" parent="." unique_id=1623369341]
|
|
script = ExtResource("4_movement_motor")
|
|
|
|
[node name="ComboWindow" type="Node" parent="." unique_id=689578719]
|
|
script = ExtResource("5_combo_window")
|
|
broadcast_to_bus = false
|
|
|
|
[node name="ActionResolver" type="Node" parent="." unique_id=275892237]
|
|
script = ExtResource("6_action_resolver")
|
|
|
|
[node name="ActionExecutor" type="Node" parent="." unique_id=1902183099]
|
|
script = ExtResource("7_action_executor")
|
|
damage_emitter_path = NodePath("../DamageEmitter")
|
|
|
|
[node name="ActionController" type="Node" parent="." unique_id=163263912]
|
|
script = ExtResource("8_action_controller")
|
|
combo_window_path = NodePath("../ComboWindow")
|
|
action_resolver_path = NodePath("../ActionResolver")
|
|
action_executor_path = NodePath("../ActionExecutor")
|
|
state_machine_path = NodePath("../StateMachine")
|
|
|
|
[node name="MotionExecutor" type="Node" parent="." unique_id=1554747471]
|
|
script = ExtResource("9_motion_executor")
|
|
|
|
[node name="EffectContainer" type="Node" parent="." unique_id=214753755]
|
|
script = ExtResource("10_effect_container")
|
|
|
|
[node name="HealthComponent" type="Node" parent="." unique_id=363838105]
|
|
script = ExtResource("11_health_component")
|
|
maximum = 28000
|
|
current = 28000
|
|
|
|
[node name="DamageReceiver" type="Area2D" parent="." unique_id=1741852259]
|
|
collision_layer = 4
|
|
collision_mask = 8
|
|
script = ExtResource("12_damage_receiver")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DamageReceiver" unique_id=459196080]
|
|
position = Vector2(0, -70)
|
|
shape = SubResource("RectangleShape2D_hurtbox")
|
|
|
|
[node name="DamageEmitter" type="Area2D" parent="." unique_id=1856891186]
|
|
collision_layer = 16
|
|
collision_mask = 2
|
|
monitoring = false
|
|
script = ExtResource("13_damage_emitter")
|
|
damage = 30
|
|
base_knockback = Vector2(360, 304.056)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="DamageEmitter" unique_id=2047760774]
|
|
position = Vector2(0, -70)
|
|
shape = SubResource("RectangleShape2D_hitbox")
|
|
|
|
[node name="EnemyActionDriver" type="Node" parent="." unique_id=1172727978]
|
|
script = ExtResource("14_enemy_action_driver")
|
|
action_controller_path = NodePath("../ActionController")
|
|
|
|
[node name="BossBehaviorTree" type="Node" parent="." unique_id=1218241436]
|
|
script = ExtResource("15_boss_behavior_tree")
|
|
target_path = NodePath("../../Player")
|
|
|
|
[node name="FrameCollisionDriver" type="Node" parent="."]
|
|
script = ExtResource("18_frame_collision")
|