Enemy.tscn 336 B

12345678910111213
  1. [gd_scene load_steps=3 format=2]
  2. [ext_resource path="res://Enemy.gd" type="Script" id=1]
  3. [sub_resource type="RectangleShape2D" id=1]
  4. [node name="Enemy" type="KinematicBody2D"]
  5. collision_layer = 4
  6. collision_mask = 4
  7. script = ExtResource( 1 )
  8. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  9. shape = SubResource( 1 )