-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlayer.tscn
More file actions
30 lines (24 loc) · 810 Bytes
/
Player.tscn
File metadata and controls
30 lines (24 loc) · 810 Bytes
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=6 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://art/right_1.png" type="Texture" id=2]
[ext_resource path="res://art/right_2.png" type="Texture" id=3]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ) ],
"loop": true,
"name": "right",
"speed": 5.0
} ]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 39.13, 24.3542 )
[node name="Player" type="Area2D"]
script = ExtResource( 1 )
min_height = 460
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
scale = Vector2( 0.5, 0.5 )
frames = SubResource( 1 )
animation = "right"
frame = 1
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
scale = Vector2( 2.41847, 1.70674 )
shape = SubResource( 2 )