Basic pathfinding working for crying ghosts
This commit is contained in:
20
Characters/Alien/Alien.tscn
Normal file
20
Characters/Alien/Alien.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://lfawbspot0vf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bi3skhkybwoa7" path="res://Characters/Alien/Alien.cs" id="1_h37a8"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bqy3twlyxmhx6" path="res://Characters/Alien/Alien.tres" id="2_5lqdc"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_h37a8"]
|
||||
radius = 4.0
|
||||
height = 28.0
|
||||
|
||||
[node name="Alien" type="CharacterBody2D" groups=["Player"]]
|
||||
script = ExtResource("1_h37a8")
|
||||
Speed = 150.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, 1)
|
||||
shape = SubResource("CapsuleShape2D_h37a8")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = ExtResource("2_5lqdc")
|
||||
animation = &"walk"
|
||||
Reference in New Issue
Block a user