2022-05-25 16:13:29 -04:00
|
|
|
[gd_scene load_steps=6 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://assets/characters/characters.png" type="Texture" id=1]
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
|
|
atlas = ExtResource( 1 )
|
|
|
|
region = Rect2( 96, 24, 24, 24 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
|
|
atlas = ExtResource( 1 )
|
|
|
|
region = Rect2( 120, 24, 24, 24 )
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id=3]
|
|
|
|
animations = [ {
|
|
|
|
"frames": [ SubResource( 1 ) ],
|
|
|
|
"loop": true,
|
|
|
|
"name": "normal",
|
|
|
|
"speed": 5.0
|
|
|
|
}, {
|
|
|
|
"frames": [ SubResource( 2 ) ],
|
|
|
|
"loop": true,
|
|
|
|
"name": "angry",
|
|
|
|
"speed": 5.0
|
|
|
|
} ]
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=4]
|
|
|
|
extents = Vector2( 9, 9 )
|
|
|
|
|
|
|
|
[node name="Blockface" type="KinematicBody2D"]
|
2022-06-17 11:33:58 -04:00
|
|
|
collision_layer = 8
|
|
|
|
collision_mask = 11
|
2022-05-25 16:13:29 -04:00
|
|
|
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
|
|
frames = SubResource( 3 )
|
|
|
|
animation = "normal"
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 4 )
|