[gd_scene load_steps=8 format=2]

[ext_resource path="res://art/Untitledcxz.png" type="Texture" id=1]

[sub_resource type="AtlasTexture" id=9]
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 112, 113 )

[sub_resource type="AtlasTexture" id=10]
atlas = ExtResource( 1 )
region = Rect2( 112, 0, 112, 113 )

[sub_resource type="AtlasTexture" id=11]
atlas = ExtResource( 1 )
region = Rect2( 224, 0, 112, 113 )

[sub_resource type="AtlasTexture" id=12]
atlas = ExtResource( 1 )
region = Rect2( 336, 0, 112, 113 )

[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ) ],
"loop": true,
"name": "goblin",
"speed": 5.0
} ]

[sub_resource type="GDScript" id=28]
script/source = "extends AnimatedSprite


# Declare member variables here. Examples:
# var a = 2
# var b = \"text\"


# Called when the node enters the scene tree for the first time.
func _ready():
	speed_scale = rand_range(0.8,1.2)
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
#	pass
"

[node name="monster" type="AnimatedSprite"]
visible = false
frames = SubResource( 3 )
animation = "goblin"
frame = 3
playing = true
script = SubResource( 28 )
