-
Notifications
You must be signed in to change notification settings - Fork 2
/
pla4E8B.tmp
137 lines (116 loc) · 3.78 KB
/
pla4E8B.tmp
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[gd_scene load_steps=15 format=3 uid="uid://ca31cw1jfv7ek"]
[ext_resource type="Script" path="res://player.gd" id="1_ikhbi"]
[ext_resource type="Texture2D" uid="uid://dw42y8qlvybbi" path="res://textures/characters/player/idle.png" id="2_urc0t"]
[ext_resource type="Texture2D" uid="uid://chyuvv41h6ygs" path="res://textures/characters/player/jump.png" id="3_o4nuv"]
[ext_resource type="Texture2D" uid="uid://4l0mpnd8y3ed" path="res://textures/characters/player/throw.png" id="4_02tpv"]
[ext_resource type="Texture2D" uid="uid://doasmp3ocm4tn" path="res://textures/characters/player/walking.png" id="4_cyirp"]
[sub_resource type="AtlasTexture" id="AtlasTexture_w2vyb"]
atlas = ExtResource("4_02tpv")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_005vt"]
atlas = ExtResource("4_02tpv")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nj5o1"]
atlas = ExtResource("4_cyirp")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xv7hf"]
atlas = ExtResource("4_cyirp")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_d4i67"]
atlas = ExtResource("4_cyirp")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_wbsai"]
atlas = ExtResource("4_cyirp")
region = Rect2(128, 0, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_8y6ks"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_urc0t")
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_o4nuv")
}],
"loop": true,
"name": &"jump",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_w2vyb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_005vt")
}],
"loop": false,
"name": &"throw",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_nj5o1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xv7hf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_d4i67")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wbsai")
}],
"loop": true,
"name": &"walk",
"speed": 2.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mfero"]
size = Vector2(25, 63)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xl3an"]
size = Vector2(39, 67)
[node name="Player" type="CharacterBody2D" groups=["puffTarget", "riding"]]
floor_constant_speed = true
script = ExtResource("1_ikhbi")
metadata/Player = true
metadata/puffTarget = true
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_8y6ks")
animation = &"throw"
autoplay = "walk"
speed_scale = 2.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-0.5, 0.5)
shape = SubResource("RectangleShape2D_mfero")
[node name="IceSpikePosition" type="Marker2D" parent="."]
visible = false
position = Vector2(37, 0)
[node name="IceSpikeCollideCheck" type="RayCast2D" parent="."]
visible = false
target_position = Vector2(40, 0)
[node name="IceSpikeCooldown" type="Timer" parent="."]
one_shot = true
[node name="Hitbox" type="Area2D" parent="."]
visible = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
visible = false
position = Vector2(-5.5, 0.5)
shape = SubResource("RectangleShape2D_xl3an")
[node name="LadderCheck" type="RayCast2D" parent="."]
visible = false
position = Vector2(0, -32)
target_position = Vector2(0, 72)
collision_mask = 2
collide_with_areas = true
collide_with_bodies = false
[node name="DirectionalLight2D" type="DirectionalLight2D" parent="."]
visible = false
color = Color(0.870588, 1, 1, 1)
energy = 0.3
shadow_enabled = true
shadow_color = Color(0, 0, 0, 1)
shadow_filter = 2
[connection signal="body_entered" from="Hitbox" to="." method="_on_hitbox_body_entered"]