character.tscn 739 B

1234567891011121314151617181920212223
  1. [gd_scene load_steps=4 format=3 uid="uid://ct7veakwiei3h"]
  2. [ext_resource type="Script" path="res://character.gd" id="1_8uimh"]
  3. [ext_resource type="Texture2D" uid="uid://b0wokaenwu7pj" path="res://character.png" id="1_rmg12"]
  4. [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_20ukx"]
  5. radius = 7.0
  6. height = 22.0
  7. [node name="Character" type="CharacterBody2D"]
  8. script = ExtResource("1_8uimh")
  9. [node name="Sprite2D" type="Sprite2D" parent="."]
  10. position = Vector2(0, -3)
  11. scale = Vector2(0.3, 0.3)
  12. texture = ExtResource("1_rmg12")
  13. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  14. position = Vector2(0, -3)
  15. shape = SubResource("CapsuleShape2D_20ukx")
  16. [node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]