Adds Warden Boss

This commit is contained in:
2026-03-06 13:04:42 -05:00
parent 2a94011b67
commit 924b58f018
3 changed files with 388 additions and 4 deletions
+34
View File
@@ -0,0 +1,34 @@
[gd_scene load_steps=5 format=3]
[ext_resource type="Script" path="res://scripts/enemies/warden.gd" id="1"]
[sub_resource type="CircleShape2D" id="1"]
radius = 26.0
[sub_resource type="CircleShape2D" id="2"]
radius = 30.0
[node name="Warden" type="CharacterBody2D"]
collision_layer = 8
collision_mask = 1
script = ExtResource("1")
[node name="Collision" type="CollisionShape2D" parent="."]
shape = SubResource("1")
[node name="Visual" type="Node2D" parent="."]
[node name="Body" type="Polygon2D" parent="Visual"]
polygon = PackedVector2Array(28, 0, 14, -24, -14, -24, -28, 0, -14, 24, 14, 24)
color = Color(0.35, 0.18, 0.12, 1)
[node name="Eye" type="Polygon2D" parent="Visual"]
polygon = PackedVector2Array(14, -6, 28, -6, 28, 6, 14, 6)
color = Color(1.0, 0.5, 0.1, 1)
[node name="ContactArea" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 2
[node name="ContactCollision" type="CollisionShape2D" parent="ContactArea"]
shape = SubResource("2")