29 lines
748 B
Plaintext
29 lines
748 B
Plaintext
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[ext_resource path="res://Skeleton Enemy.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://art/unknown.png" type="Texture" id=2]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id=1]
|
||
|
extents = Vector2( 5, 7 )
|
||
|
|
||
|
[node name="Skeleton Enemy" type="KinematicBody2D"]
|
||
|
collision_layer = 4
|
||
|
collision_mask = 3
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Sprite" type="Sprite" parent="."]
|
||
|
texture = ExtResource( 2 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[node name="RayCast2D" type="RayCast2D" parent="."]
|
||
|
enabled = true
|
||
|
cast_to = Vector2( -80, 0 )
|
||
|
collision_mask = 3
|
||
|
|
||
|
[node name="RayCast2D2" type="RayCast2D" parent="."]
|
||
|
enabled = true
|
||
|
cast_to = Vector2( 80, 0 )
|
||
|
collision_mask = 3
|