1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-11-26 14:34:18 +00:00
the-cold-night/src/entities/Enemy.tscn

22 lines
710 B
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://src/mechanics/Black.png" type="Texture" id=1]
[ext_resource path="res://src/entities/behaviours/AttractedTo.gd" type="Script" id=2]
[ext_resource path="res://src/entities/behaviours/ErraticMovement.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 16, 16 )
[node name="Enemy" type="KinematicBody2D"]
[node name="AttractedTo" type="Node" parent="."]
script = ExtResource( 2 )
[node name="ErraticMovement" type="Node" parent="."]
script = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
[node name="Shape" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )