[gd_scene load_steps=11 format=4 uid="uid://ccjb75bercbw8"]

[ext_resource type="TileSet" uid="uid://xnedi1edel2b" path="res://levels/levelOne/tileMaps/baseTileset.tres" id="1_s5r4n"]
[ext_resource type="PackedScene" uid="uid://c1xy5bf2p6vmh" path="res://player/smallPlayer/player.tscn" id="2_r1egm"]
[ext_resource type="PackedScene" uid="uid://darxbklsgh23m" path="res://collectables/crystal/collectableCrystal.tscn" id="3_56573"]
[ext_resource type="Script" uid="uid://bnpus4sru0dpt" path="res://levels/levelOne/playerScriptAnimation.gd" id="3_pr6wu"]
[ext_resource type="PackedScene" uid="uid://bvenxce30ko6p" path="res://levels/backgrounds/caveBackground.tscn" id="5_8lh0c"]
[ext_resource type="PackedScene" uid="uid://dxojtfoa4jbe" path="res://levels/levelOne/exitZone.tscn" id="5_r1egm"]
[ext_resource type="FontFile" uid="uid://c8qur0cbvh1ju" path="res://startMenu/Symtext.ttf" id="7_dpa6y"]

[sub_resource type="Animation" id="Animation_pr6wu"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("introAnimation/ColorRect:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("introAnimation/Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["TEST PLACEHOLDER TEST"]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("introAnimation/Label:self_modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}

[sub_resource type="Animation" id="Animation_8lh0c"]
resource_name = "introSequence"
length = 12.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("introAnimation/ColorRect:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 10.5433, 11.5),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("introAnimation/Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 3, 5.53333),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": ["You are an emberheart crystal.", "You have just gained consciousness.", "You must eat to survive."]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("introAnimation/Label:self_modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.466667, 2.46667, 3, 3.46667, 5.03333, 5.43333, 5.66667, 6.1, 8, 9.56667),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 0), Color(0.780392, 0.0352941, 0.0705882, 0), Color(0.772549, 0, 0.0352941, 1), Color(0.780392, 0.0352941, 0.0705882, 1), Color(0.780392, 0.0352941, 0.0705882, 0)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_dpa6y"]
_data = {
&"RESET": SubResource("Animation_pr6wu"),
&"introSequence": SubResource("Animation_8lh0c")
}

[node name="levelOne" type="Node2D"]

[node name="wallLayer" type="TileMapLayer" parent="."]
z_index = -1
tile_map_data = PackedByteArray("AAAHAAQAAQAFABMAAAAHAAYAAQAFABMAAAAHAAUAAQAFABMAAAALAAkAAQABAAcAAAAHAAcAAQAFABMAAAAHAAgAAQAFABMAAAAHAAkAAQAFABMAAAAHAAIAAQAFABMAAAAIAAIAAQAFABMAAAAJAAIAAQAFABMAAAAKAAIAAQAFABMAAAALAAIAAQAFABMAAAAMAAIAAQAFABMAAAANAAIAAQAFABMAAAAOAAIAAQAFABMAAAAPAAIAAQAFABMAAAAQAAIAAQAFABMAAAARAAIAAQAFABMAAAAHAAMAAQAFABMAAAASAAIAAQAFABMAAAANAAkAAQABAAcAAAAOAAkAAQABAAcAAAAUAAIAAQAFABMAAAATAAIAAQAFABMAAAAYAAUAAQABAAcAAAAVAAsAAQAFABMAAAAWAAsAAQAFABMAAAAXAAsAAQAFABMAAAAYAAsAAQAFABMAAAAZAAwAAQAFABMAAAAZAA4AAQAFABMAAAAZAA0AAQAFABMAAAAZAAsAAQAFABMAAAAZAA8AAQAFABMAAAAHAAoAAQAFABMAAAAHAAsAAQAFABMAAAAHAAwAAQAFABMAAAAHAA0AAQAFABMAAAAHAA4AAQAFABMAAAAYABAAAQAFABMAAAAZABAAAQAFABMAAAAXABAAAQAFABMAAAAWABAAAQAFABMAAAAVABAAAQAFABMAAAAHAA8AAQAFABMAAAAHABAAAQAFABMAAAAGABAAAQAFABMAAAAUABAAAQAFABMAAAATABAAAQAFABMAAAASABAAAQAFABMAAAARABAAAQAFABMAAAAQABAAAQAFABMAAAAQABEAAQAFABMAAAARABIAAQAFABMAAAAQABIAAQAFABMAAAASABIAAQAFABMAAAATABIAAQAFABMAAAATABMAAQAFABMAAAATABQAAQAFABMAAAATABUAAQAFABMAAAASABUAAQAFABMAAAARABUAAQAFABMAAAAQABUAAQAFABMAAAAFABAAAQAFABMAAAAEABAAAQAFABMAAAADABAAAQAFABMAAAAPABUAAQAFABMAAAAPABYAAQAFABMAAAAOABYAAQAFABMAAAANABYAAQAFABMAAAAMABYAAQAFABMAAAALABYAAQAFABMAAAAKABYAAQAFABMAAAAJABYAAQAFABMAAAAIABYAAQAFABMAAAAHABYAAQAFABMAAAAGABYAAQAFABMAAAAGABUAAQAFABMAAAAGABQAAQAFABMAAAAFABQAAQAFABMAAAACABAAAQAFABMAAAACAA8AAQAFABMAAAACAA4AAQAFABMAAAABAA4AAQAFABMAAAAAAA4AAQAFABMAAAD//w4AAQAFABMAAAD//w8AAQAFABMAAAD//xAAAQAFABMAAAADABUAAQAFABMAAAADABYAAQAFABMAAAADABgAAQAFABMAAAADABcAAQAFABMAAAADABkAAQAFABMAAAAEABkAAQAFABMAAAAFABkAAQAFABMAAAAGABkAAQAFABMAAAAHABkAAQAFABMAAAAIABkAAQAFABMAAAAJABkAAQAFABMAAAD+/xAAAQAFABMAAAD9/xAAAQAFABMAAAD8/xAAAQAFABMAAAD7/xAAAQAFABMAAAD7/xEAAQAFABMAAAD7/xIAAQAFABMAAAD7/xMAAQAFABMAAAD7/xQAAQAFABMAAAD7/xUAAQAFABMAAAD7/xcAAQAFABMAAAD7/xYAAQAFABMAAAD8/xcAAQAFABMAAAD9/xcAAQAFABMAAAD9/xgAAQAFABMAAAD9/xkAAQAFABMAAAD9/xoAAQAFABMAAAD9/xsAAQAFABMAAAD9/xwAAQAFABMAAAD9/x0AAQAFABMAAAD9/x4AAQAFABMAAAD//x4AAQAFABMAAAD+/x4AAQAFABMAAAAAAB4AAQAFABMAAAABAB4AAQAFABMAAAACAB4AAQAFABMAAAADAB4AAQAFABMAAAAEAB4AAQAFABMAAAAFAB4AAQAFABMAAAAGAB4AAQAFABMAAAAHAB4AAQAFABMAAAAIAB4AAQAFABMAAAAJAB4AAQAFABMAAAAJABgAAQAFABMAAAAKABgAAQAFABMAAAALABgAAQAFABMAAAAMABgAAQAFABMAAAAMABkAAQAFABMAAAAMAB4AAQAFABMAAAANAB4AAQAFABMAAAAOAB4AAQAFABMAAAAQAB4AAQAFABMAAAAPAB4AAQAFABMAAAARAB4AAQAFABMAAAASAB4AAQAFABMAAAASAB0AAQAFABMAAAASABsAAQACAA0AAAASABoAAQAFABMAAAASABkAAQAFABMAAAARABkAAQAFABMAAAAQABkAAQAFABMAAAAPABkAAQAFABMAAAAOABkAAQAFABMAAAANABkAAQAFABMAAAAJAB8AAQAFABMAAAAMAB8AAQAFABMAAAAMACAAAQAFABMAAAAJACAAAQAFABMAAAAJACEAAQAFABMAAAAMACEAAQAFABMAAAANACEAAQAFABMAAAAOACEAAQAFABMAAAAPACEAAQAFABMAAAAQACEAAQAFABMAAAARACEAAQAFABMAAAASACEAAQAFABMAAAATACEAAQAFABMAAAAIACEAAQAFABMAAAAHACEAAQAFABMAAAAGACEAAQAFABMAAAAFACEAAQAFABMAAAAEACEAAQAFABMAAAADACEAAQAFABMAAAACACEAAQAFABMAAAD//yEAAQAFABMAAAD//yAAAQAFABMAAAD//x8AAQAFABMAAAD//yIAAQAFABMAAAD//yMAAQAFABMAAAD//yQAAQAFABMAAAD//yUAAQAFABMAAAD//yYAAQAFABMAAAD//ycAAQAFABMAAAAAACcAAQAFABMAAAABACcAAQAFABMAAAACACcAAQAFABMAAAADACcAAQAFABMAAAAEACcAAQAFABMAAAAFACcAAQAFABMAAAAGACcAAQAFABMAAAAHACcAAQAFABMAAAAIACcAAQAFABMAAAAKACcAAQAFABMAAAALACcAAQAFABMAAAAMACcAAQAFABMAAAANACcAAQAFABMAAAAOACcAAQAFABMAAAAPACcAAQAFABMAAAAQACcAAQAFABMAAAARACcAAQAFABMAAAASACcAAQAFABMAAAATACcAAQAFABMAAAAUACEAAQAFABMAAAAUACIAAQAFABMAAAAUACMAAQAFABMAAAAUACQAAQAFABMAAAAUACUAAQAFABMAAAAUACYAAQAFABMAAAAUACcAAQAFABMAAAADABQAAQAFABMAAAADABMAAQAFABMAAAAEABMAAQAFABMAAAAFABMAAQAFABMAAAAUAAMAAQAFABMAAAAUAAQAAQAFABMAAAAUAAUAAQAFABMAAAAUAAYAAQAFABMAAAAUAAcAAQAFABMAAAAUAAgAAQAFABMAAAAUAAkAAQAFABMAAAAUAAoAAQAFABMAAAAUAAsAAQAFABMAAAAKACgAAQAFAAsAAAAJACgAAQAFAAsAAAAIACgAAQAFAAsAAAASABwAAQACAA0AAAA=")
tile_set = ExtResource("1_s5r4n")

[node name="floorLayer" type="TileMapLayer" parent="wallLayer"]
z_index = -1
tile_map_data = PackedByteArray("[encoded data, 9412 characters]")
tile_set = ExtResource("1_s5r4n")
collision_enabled = false

[node name="player" parent="." instance=ExtResource("2_r1egm")]
position = Vector2(373, 125)
script = ExtResource("3_pr6wu")

[node name="crystals" type="Node2D" parent="."]
position = Vector2(304, 494)

[node name="crystal" parent="crystals" instance=ExtResource("3_56573")]

[node name="crystal2" parent="crystals" instance=ExtResource("3_56573")]
position = Vector2(87, -71)

[node name="crystal3" parent="crystals" instance=ExtResource("3_56573")]
position = Vector2(97, -254)

[node name="crystal4" parent="crystals" instance=ExtResource("3_56573")]
position = Vector2(214, -172)

[node name="crystal5" parent="crystals" instance=ExtResource("3_56573")]
position = Vector2(146, 105)

[node name="crystal6" parent="crystals" instance=ExtResource("3_56573")]
position = Vector2(-338, 156)

[node name="exitZone1" parent="." instance=ExtResource("5_r1egm")]
position = Vector2(304, 1266)

[node name="Rock tutorial" type="Label" parent="."]
offset_left = 78.0
offset_top = -381.0
offset_right = 212.0
offset_bottom = -332.0
text = "Click and drag to
move the rock"
horizontal_alignment = 2

[node name="Exit tutorial" type="Label" parent="."]
offset_left = 222.0
offset_top = 1197.0
offset_right = 388.0
offset_bottom = 1246.0
text = "collect all the crystals
to open the exit"
horizontal_alignment = 1

[node name="ParallaxBackground" parent="." instance=ExtResource("5_8lh0c")]

[node name="introAnimation" type="AnimationPlayer" parent="."]
process_priority = -5
libraries = {
&"": SubResource("AnimationLibrary_dpa6y")
}
autoplay = "introSequence"

[node name="ColorRect" type="ColorRect" parent="introAnimation"]
offset_left = 66.0
offset_top = -47.0
offset_right = 683.0
offset_bottom = 298.0
mouse_filter = 2
color = Color(0.0214346, 0.0214346, 0.0214346, 1)

[node name="Label" type="Label" parent="introAnimation"]
z_index = 50
offset_left = 220.0
offset_top = 119.0
offset_right = 467.0
offset_bottom = 143.0
theme_override_fonts/font = ExtResource("7_dpa6y")
text = "TEST PLACEHOLDER TEST"

[connection signal="animation_finished" from="introAnimation" to="player" method="_on_intro_animation_animation_finished"]

[editable path="player"]
