[gd_scene load_steps=24 format=3 uid="uid://ctdil7060o2ft"] [ext_resource type="Script" path="res://Scripts/EvilEye.cs" id="1_rs1vb"] [ext_resource type="Texture2D" uid="uid://c38fo4o7uf5c3" path="res://Sprite Sheets/OoB elements.png" id="2_5twu4"] [ext_resource type="Texture2D" uid="uid://s2cmbu5hdci" path="res://Sprite Sheets/RedElements.png" id="3_cx72f"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_jbvl0"] [sub_resource type="AtlasTexture" id="AtlasTexture_58np4"] atlas = ExtResource("2_5twu4") region = Rect2(0, 20, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_yxe3q"] atlas = ExtResource("2_5twu4") region = Rect2(20, 20, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_6my5q"] atlas = ExtResource("2_5twu4") region = Rect2(40, 20, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_k47nl"] atlas = ExtResource("2_5twu4") region = Rect2(60, 20, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_5i4nk"] atlas = ExtResource("3_cx72f") region = Rect2(0, 20, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_tvexn"] atlas = ExtResource("3_cx72f") region = Rect2(20, 20, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_ecmlx"] atlas = ExtResource("3_cx72f") region = Rect2(40, 20, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_fmj7h"] atlas = ExtResource("3_cx72f") region = Rect2(60, 20, 20, 20) [sub_resource type="SpriteFrames" id="SpriteFrames_idpyl"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_58np4") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_yxe3q") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_6my5q") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_k47nl") }], "loop": true, "name": &"Idle", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_5i4nk") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tvexn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ecmlx") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fmj7h") }], "loop": true, "name": &"RedIdle", "speed": 5.0 }] [sub_resource type="AtlasTexture" id="AtlasTexture_touwc"] atlas = ExtResource("2_5twu4") region = Rect2(20, 0, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_e32cu"] atlas = ExtResource("2_5twu4") region = Rect2(40, 0, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_bb1a6"] atlas = ExtResource("2_5twu4") region = Rect2(60, 0, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_v623e"] atlas = ExtResource("2_5twu4") region = Rect2(0, 0, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_uh28t"] atlas = ExtResource("3_cx72f") region = Rect2(20, 0, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_syf28"] atlas = ExtResource("3_cx72f") region = Rect2(40, 0, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_c7xii"] atlas = ExtResource("3_cx72f") region = Rect2(60, 0, 20, 20) [sub_resource type="AtlasTexture" id="AtlasTexture_byk38"] atlas = ExtResource("3_cx72f") region = Rect2(0, 0, 20, 20) [sub_resource type="SpriteFrames" id="SpriteFrames_sejyh"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_touwc") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_e32cu") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_bb1a6") }], "loop": false, "name": &"Active", "speed": 3.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_v623e") }], "loop": false, "name": &"Idle", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_uh28t") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_syf28") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_c7xii") }], "loop": false, "name": &"RedActive", "speed": 3.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_byk38") }], "loop": false, "name": &"RedIdle", "speed": 5.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_ufm3y"] radius = 1.0 [node name="EvilEye" type="StaticBody2D" groups=["Obsticals"]] script = ExtResource("1_rs1vb") [node name="EvilEyeCollision" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_jbvl0") debug_color = Color(0, 0.403922, 0.0784314, 0.419608) [node name="EvilEyeBall" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_idpyl") animation = &"Idle" [node name="EvilEyeLid" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_sejyh") animation = &"Idle" [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("CircleShape2D_ufm3y") debug_color = Color(1, 1, 1, 0.419608) [node name="FacingProbe" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="FacingProbe"] shape = SubResource("CircleShape2D_ufm3y") debug_color = Color(1, 1, 1, 0.419608) [connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]