aboutsummaryrefslogtreecommitdiff
path: root/entities/Player.tscn
blob: a5d1f7e667220dcd064f3fc63baedee67dda68c6 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[gd_scene load_steps=47 format=2]

[ext_resource path="res://pinkman/idle/idle7.png" type="Texture" id=1]
[ext_resource path="res://pinkman/double-jump/double_jump1.png" type="Texture" id=2]
[ext_resource path="res://pinkman/double-jump/double_jump5.png" type="Texture" id=3]
[ext_resource path="res://pinkman/idle/idle11.png" type="Texture" id=4]
[ext_resource path="res://pinkman/idle/idle8.png" type="Texture" id=5]
[ext_resource path="res://pinkman/idle/idle10.png" type="Texture" id=6]
[ext_resource path="res://pinkman/double-jump/double_jump3.png" type="Texture" id=7]
[ext_resource path="res://pinkman/idle/idle9.png" type="Texture" id=8]
[ext_resource path="res://pinkman/double-jump/double_jump6.png" type="Texture" id=9]
[ext_resource path="res://pinkman/double-jump/double_jump2.png" type="Texture" id=10]
[ext_resource path="res://pinkman/double-jump/double_jump4.png" type="Texture" id=11]
[ext_resource path="res://pinkman/idle/idle6.png" type="Texture" id=12]
[ext_resource path="res://pinkman/idle/idle1.png" type="Texture" id=13]
[ext_resource path="res://pinkman/idle/idle2.png" type="Texture" id=14]
[ext_resource path="res://pinkman/idle/idle3.png" type="Texture" id=15]
[ext_resource path="res://pinkman/idle/idle4.png" type="Texture" id=16]
[ext_resource path="res://pinkman/idle/idle5.png" type="Texture" id=17]
[ext_resource path="res://pinkman/wall-jump/wall-jump3.png" type="Texture" id=18]
[ext_resource path="res://pinkman/wall-jump/wall-jump5.png" type="Texture" id=19]
[ext_resource path="res://pinkman/wall-jump/wall-jump4.png" type="Texture" id=20]
[ext_resource path="res://pinkman/run/run9.png" type="Texture" id=21]
[ext_resource path="res://pinkman/run/run6.png" type="Texture" id=22]
[ext_resource path="res://pinkman/hit/hit2.png" type="Texture" id=23]
[ext_resource path="res://pinkman/run/run7.png" type="Texture" id=24]
[ext_resource path="res://pinkman/hit/hit6.png" type="Texture" id=25]
[ext_resource path="res://pinkman/run/run11.png" type="Texture" id=26]
[ext_resource path="res://pinkman/wall-jump/wall-jump1.png" type="Texture" id=27]
[ext_resource path="res://pinkman/jump/jump.png" type="Texture" id=28]
[ext_resource path="res://pinkman/wall-jump/wall-jump2.png" type="Texture" id=29]
[ext_resource path="res://pinkman/fall/fall.png" type="Texture" id=30]
[ext_resource path="res://pinkman/hit/hit1.png" type="Texture" id=31]
[ext_resource path="res://pinkman/run/run3.png" type="Texture" id=32]
[ext_resource path="res://pinkman/hit/hit4.png" type="Texture" id=33]
[ext_resource path="res://pinkman/run/run10.png" type="Texture" id=34]
[ext_resource path="res://pinkman/run/run5.png" type="Texture" id=35]
[ext_resource path="res://pinkman/run/run12.png" type="Texture" id=36]
[ext_resource path="res://pinkman/hit/hit5.png" type="Texture" id=37]
[ext_resource path="res://pinkman/run/run4.png" type="Texture" id=38]
[ext_resource path="res://pinkman/run/run1.png" type="Texture" id=39]
[ext_resource path="res://pinkman/hit/hit3.png" type="Texture" id=40]
[ext_resource path="res://pinkman/hit/hit7.png" type="Texture" id=41]
[ext_resource path="res://pinkman/run/run2.png" type="Texture" id=42]
[ext_resource path="res://pinkman/run/run8.png" type="Texture" id=43]
[ext_resource path="res://entities/Player.gd" type="Script" id=44]

[sub_resource type="CapsuleShape2D" id=2]
height = 8.0

[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 13 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 12 ), ExtResource( 1 ), ExtResource( 5 ), ExtResource( 8 ), ExtResource( 6 ), ExtResource( 4 ) ],
"loop": true,
"name": "idle",
"speed": 25.0
}, {
"frames": [ ExtResource( 27 ), ExtResource( 29 ), ExtResource( 18 ), ExtResource( 20 ), ExtResource( 19 ) ],
"loop": true,
"name": "wall_jump",
"speed": 25.0
}, {
"frames": [ ExtResource( 30 ) ],
"loop": true,
"name": "fall",
"speed": 5.0
}, {
"frames": [ ExtResource( 2 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ) ],
"loop": true,
"name": "double_jump",
"speed": 25.0
}, {
"frames": [ ExtResource( 31 ), ExtResource( 23 ), ExtResource( 40 ), ExtResource( 33 ), ExtResource( 37 ), ExtResource( 25 ), ExtResource( 41 ) ],
"loop": true,
"name": "hit",
"speed": 5.0
}, {
"frames": [ ExtResource( 28 ) ],
"loop": true,
"name": "jump",
"speed": 5.0
}, {
"frames": [ ExtResource( 39 ), ExtResource( 42 ), ExtResource( 32 ), ExtResource( 38 ), ExtResource( 35 ), ExtResource( 22 ), ExtResource( 24 ), ExtResource( 43 ), ExtResource( 21 ), ExtResource( 34 ), ExtResource( 26 ), ExtResource( 36 ) ],
"loop": true,
"name": "run",
"speed": 25.0
} ]

[node name="Player" type="KinematicBody2D"]
z_index = 1
script = ExtResource( 44 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 2 )
shape = SubResource( 2 )

[node name="Area2D" type="Area2D" parent="."]

[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 0, 2 )
shape = SubResource( 2 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
frames = SubResource( 1 )
animation = "idle"