-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCharacter.tscn
30 lines (25 loc) · 1.01 KB
/
Character.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Character.gd" type="Script" id=1]
[ext_resource path="res://character.png" type="Texture" id=2]
[ext_resource path="res://character2.png" type="Texture" id=3]
[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 5.0
}, {
"frames": [ ExtResource( 3 ), ExtResource( 2 ) ],
"loop": true,
"name": "walk",
"speed": 5.0
} ]
[node name="Character" type="KinematicBody2D"]
script = ExtResource( 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
position = Vector2( -1.51509, -14.989 )
polygon = PoolVector2Array( -14.3159, 14.8239, -14.4819, 0.374659, -16.3088, -17.5623, -15.3123, -37.1601, -16.8071, -71.2071, 6.44452, -78.6808, 24.3815, -56.2596, 23.7172, -31.3472, 21.2259, -13.9085, 18.9008, -0.123594, 17.0738, 14.6578 )
[node name="sprite" type="AnimatedSprite" parent="."]
position = Vector2( 4.38431, -47.7034 )
scale = Vector2( 0.07, 0.07 )
frames = SubResource( 3 )