summaryrefslogtreecommitdiff
path: root/Enemies/Enemy.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-09-28 15:27:57 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-09-28 15:27:57 +0200
commit6032b3dc82ccbb3710061059c90b7db40df19673 (patch)
treea99682fb23bcd8a1ddd01f4f137bee2d46fa4b1f /Enemies/Enemy.tscn
parenta38f65c261e9d7b23d046cb76b5aeedc05c4b54d (diff)
next commitHEADmain
Diffstat (limited to 'Enemies/Enemy.tscn')
-rw-r--r--Enemies/Enemy.tscn48
1 files changed, 0 insertions, 48 deletions
diff --git a/Enemies/Enemy.tscn b/Enemies/Enemy.tscn
deleted file mode 100644
index 2791e05..0000000
--- a/Enemies/Enemy.tscn
+++ /dev/null
@@ -1,48 +0,0 @@
-[gd_scene load_steps=6 format=3 uid="uid://6d20yrqejxs8"]
-
-[ext_resource type="Texture2D" uid="uid://cduruhn8mecgn" path="res://Assets/Enemies/enemy-walk-01.png" id="1_v3aim"]
-[ext_resource type="Script" path="res://Enemies/enemy.gd" id="1_x68ej"]
-[ext_resource type="Texture2D" uid="uid://ysaejkoo1bnw" path="res://Assets/Enemies/enemy-walk-02.png" id="2_madb5"]
-
-[sub_resource type="CircleShape2D" id="CircleShape2D_p646n"]
-radius = 8.0
-
-[sub_resource type="SpriteFrames" id="SpriteFrames_n2gm8"]
-animations = [{
-"frames": [{
-"duration": 1.0,
-"texture": ExtResource("1_v3aim")
-}, {
-"duration": 1.0,
-"texture": ExtResource("2_madb5")
-}],
-"loop": true,
-"name": &"default",
-"speed": 4.0
-}]
-
-[node name="Enemy" type="CharacterBody2D" groups=["enemy"]]
-collision_layer = 2
-collision_mask = 17
-script = ExtResource("1_x68ej")
-
-[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
-shape = SubResource("CircleShape2D_p646n")
-
-[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
-texture_filter = 1
-sprite_frames = SubResource("SpriteFrames_n2gm8")
-
-[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
-process_mode = 3
-
-[node name="RayLeft" type="RayCast2D" parent="."]
-target_position = Vector2(-9, 0)
-collision_mask = 16
-
-[node name="RayRight" type="RayCast2D" parent="."]
-target_position = Vector2(9, 0)
-collision_mask = 16
-
-[connection signal="screen_entered" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_entered"]
-[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]