29 lines
1 KiB
Text
29 lines
1 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://cpi5lgdlnvhlg"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/enemies/Boss.cs" id="1_jbh6o"]
|
|
[ext_resource type="SpriteFrames" uid="uid://dmjrl5432nw0h" path="res://sprites/enemies/boss/boss.tres" id="1_ktxai"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ed3jd"]
|
|
radius = 20.0
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5aovn"]
|
|
radius = 14.0
|
|
|
|
[node name="boss" type="CharacterBody2D"]
|
|
script = ExtResource("1_jbh6o")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = ExtResource("1_ktxai")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="AnimatedSprite2D"]
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("CircleShape2D_ed3jd")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -2)
|
|
shape = SubResource("CircleShape2D_5aovn")
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="_OnAttack"]
|