goblin.tscn 793 B

1234567891011121314151617181920212223242526272829303132
  1. [gd_scene load_steps=7 format=2]
  2. [ext_resource path="res://art/Untitledcxz.png" type="Texture" id=1]
  3. [sub_resource type="AtlasTexture" id=4]
  4. atlas = ExtResource( 1 )
  5. region = Rect2( 0, 0, 150, 150 )
  6. [sub_resource type="AtlasTexture" id=5]
  7. atlas = ExtResource( 1 )
  8. region = Rect2( 150, 0, 150, 150 )
  9. [sub_resource type="AtlasTexture" id=6]
  10. atlas = ExtResource( 1 )
  11. region = Rect2( 300, 0, 150, 150 )
  12. [sub_resource type="AtlasTexture" id=7]
  13. atlas = ExtResource( 1 )
  14. region = Rect2( 450, 0, 150, 150 )
  15. [sub_resource type="SpriteFrames" id=3]
  16. animations = [ {
  17. "frames": [ SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ) ],
  18. "loop": true,
  19. "name": "default",
  20. "speed": 5.0
  21. } ]
  22. [node name="goblin" type="AnimatedSprite"]
  23. frames = SubResource( 3 )
  24. frame = 2
  25. playing = true