[gd_scene load_steps=4 format=3] [ext_resource type="Script" path="res://scripts/enemies/anchor.gd" id="1"] [sub_resource type="CircleShape2D" id="1"] radius = 13.0 [sub_resource type="CircleShape2D" id="2"] radius = 15.0 [node name="Anchor" 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(0, -16, 14, 0, 0, 16, -14, 0) color = Color(0.1, 0.45, 0.28, 1) [node name="Eye" type="Polygon2D" parent="Visual"] polygon = PackedVector2Array(-3, -7, 3, -7, 3, -2, -3, -2) color = Color(0.3, 0.95, 0.6, 1) [node name="ContactArea" type="Area2D" parent="."] collision_layer = 0 collision_mask = 2 [node name="ContactCollision" type="CollisionShape2D" parent="ContactArea"] shape = SubResource("2")