player.tscn 706 B

123456789101112131415161718192021
  1. [gd_scene load_steps=4 format=3 uid="uid://sdydgqy0kous"]
  2. [ext_resource type="Script" path="res://scenes/player/player.gd" id="1_if0bb"]
  3. [ext_resource type="Texture2D" uid="uid://boxy83mdd5bu" path="res://assets/sprites/slime/slime.png" id="2_leh6x"]
  4. [sub_resource type="RectangleShape2D" id="RectangleShape2D_pphah"]
  5. size = Vector2(16, 13)
  6. [node name="Player" type="CharacterBody2D" groups=["Player"]]
  7. script = ExtResource("1_if0bb")
  8. [node name="Sprite2D" type="Sprite2D" parent="."]
  9. texture_filter = 1
  10. texture = ExtResource("2_leh6x")
  11. hframes = 2
  12. vframes = 6
  13. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  14. position = Vector2(0, -1.5)
  15. shape = SubResource("RectangleShape2D_pphah")