[gd_scene load_steps=23 format=3 uid="uid://c3p3k8ytvc32e"]

[ext_resource type="Script" path="res://scripts/Train.gd" id="1_hg4dh"]
[ext_resource type="PackedScene" uid="uid://vwjd5od63jgh" path="res://Nodes/Player.tscn" id="2_0fjcv"]
[ext_resource type="Texture2D" uid="uid://dsphpbpt27t1i" path="res://a3TCqhg.png" id="3_jfnq6"]
[ext_resource type="Texture2D" uid="uid://d1m2jplf8u0h0" path="res://Nodes/walking_ball1.png" id="4_felkj"]
[ext_resource type="Texture2D" uid="uid://b5hai0ap763xu" path="res://walking_coal1.png" id="5_t3pnu"]
[ext_resource type="Texture2D" uid="uid://d35iaj0nq122a" path="res://walking_powder1.png" id="6_0vuit"]
[ext_resource type="Texture2D" uid="uid://eg0k8esm2scp" path="res://p5lFkJY.png" id="7_37us6"]
[ext_resource type="Texture2D" uid="uid://du7d6fk4dabd7" path="res://cVOQuID.png" id="8_uawfa"]
[ext_resource type="Texture2D" uid="uid://ctbxpx6p36bdi" path="res://walking_ball2.png" id="9_ssjd8"]
[ext_resource type="Texture2D" uid="uid://b5ioch3ad8y6r" path="res://walking_coal2.png" id="10_y3g4p"]
[ext_resource type="Texture2D" uid="uid://ckdlv6b7okseq" path="res://walking_powder2.png" id="11_h0rqm"]
[ext_resource type="Texture2D" uid="uid://7qppu15lvd1j" path="res://Nodes/Keys.png" id="12_287nh"]
[ext_resource type="PackedScene" uid="uid://cet80w4yr8rse" path="res://Storage.tscn" id="13_3fxhr"]
[ext_resource type="PackedScene" uid="uid://byo1m0n20yl45" path="res://Nodes/cannon.tscn" id="14_3pfub"]
[ext_resource type="Texture2D" uid="uid://bhmyyu0uhx541" path="res://Assets/Textures/Opera_senza_titolo (2).png" id="14_kjtep"]
[ext_resource type="Texture2D" uid="uid://biyvvql2ufkdf" path="res://Assets/Textures/Opera_senza_titolo (1).png" id="15_3bc4m"]
[ext_resource type="PackedScene" uid="uid://bhivunrkj87cy" path="res://Nodes/engine.tscn" id="15_4kp3s"]
[ext_resource type="PackedScene" uid="uid://bkpnrgcfr1jgl" path="res://Nodes/Bin.tscn" id="16_ep4dv"]
[ext_resource type="AudioStream" uid="uid://b52sd64x20ulv" path="res://Assets/Sounds/_SOUNDFX_/Gunpowder.wav" id="17_06sqf"]
[ext_resource type="PackedScene" uid="uid://c1mymb38wqdg6" path="res://Nodes/train.tscn" id="18_6adfq"]
[ext_resource type="Texture2D" uid="uid://cet5o7wla1x7t" path="res://Assets/Textures/Opera_senza_titolo.png" id="19_8lg1q"]

[sub_resource type="SpriteFrames" id="SpriteFrames_6p0y6"]
animations = [{
"frames": [ExtResource("3_jfnq6")],
"loop": true,
"name": &"idle",
"speed": 1.0
}, {
"frames": [ExtResource("4_felkj")],
"loop": true,
"name": &"idle_ball",
"speed": 1.0
}, {
"frames": [ExtResource("5_t3pnu")],
"loop": true,
"name": &"idle_coal",
"speed": 1.0
}, {
"frames": [ExtResource("6_0vuit")],
"loop": true,
"name": &"idle_powder",
"speed": 1.0
}, {
"frames": [ExtResource("7_37us6"), ExtResource("8_uawfa")],
"loop": true,
"name": &"walking",
"speed": 2.0
}, {
"frames": [ExtResource("4_felkj"), ExtResource("9_ssjd8")],
"loop": true,
"name": &"walking_ball",
"speed": 2.0
}, {
"frames": [ExtResource("5_t3pnu"), ExtResource("10_y3g4p")],
"loop": true,
"name": &"walking_coal",
"speed": 2.0
}, {
"frames": [ExtResource("6_0vuit"), ExtResource("11_h0rqm")],
"loop": true,
"name": &"walking_powder",
"speed": 2.0
}]

[node name="Train1" type="Node3D"]
transform = Transform3D(1, 0, 3.55271e-15, 0, 1, 0, -3.55271e-15, 0, 1, 0, 0, 0)
script = ExtResource("1_hg4dh")

[node name="CharacterBody3D" parent="." instance=ExtResource("2_0fjcv")]
transform = Transform3D(1, 0, -3.55271e-15, 0, 1, 0, 3.55271e-15, 0, 1, 3.19744e-14, 3, -9)

[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="CharacterBody3D"]
transform = Transform3D(0.3, 0, 0, 0, -1.31134e-08, 0.3, 0, -0.3, -1.31134e-08, 0, -2, 0)
frames = SubResource("SpriteFrames_6p0y6")
animation = &"walking_coal"
speed_scale = 2.0
playing = true

[node name="MiniGameButton0" type="Sprite3D" parent="CharacterBody3D"]
transform = Transform3D(8, 0, 0, 0, -3.93403e-07, 1, 0, -9, -4.37114e-08, 0, 6, 0)
texture = ExtResource("12_287nh")
hframes = 5
vframes = 8
frame = 26

[node name="MiniGameButton1" type="Sprite3D" parent="CharacterBody3D"]
transform = Transform3D(8, 0, 0, 0, -3.93403e-07, 1, 0, -9, -4.37114e-08, 1.5, 6, 0)
texture = ExtResource("12_287nh")
hframes = 5
vframes = 8
frame = 26

[node name="MiniGameButton2" type="Sprite3D" parent="CharacterBody3D"]
transform = Transform3D(8, 0, 0, 0, -3.93403e-07, 1, 0, -9, -4.37114e-08, 3, 6, 0)
texture = ExtResource("12_287nh")
hframes = 5
vframes = 8
frame = 26

[node name="Storage" parent="." instance=ExtResource("13_3fxhr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.31598, 0.0193453, -5.2771)
icon = ExtResource("14_kjtep")

[node name="Storage2" parent="." instance=ExtResource("13_3fxhr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.31598, 0.0193453, 0.876562)
currentType = 2
icon = ExtResource("15_3bc4m")

[node name="Cannon" parent="." instance=ExtResource("14_3pfub")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.32927, 1.2303, 0.0486939)

[node name="Cannon2" parent="." instance=ExtResource("14_3pfub")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.38381, 1.2303, 5.95106)

[node name="Engine" parent="." instance=ExtResource("15_4kp3s")]
transform = Transform3D(-6.55671e-08, 0, 1.5, 0, 1.5, 0, -1.5, 0, -6.55671e-08, -3.45639, 1.1688, 9)

[node name="Bin" parent="." instance=ExtResource("16_ep4dv")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.70291, -0.287106, 10.1948)

[node name="Storage3" parent="." instance=ExtResource("13_3fxhr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.63306, -0.501894, -11.5457)
currentType = 1
icon = ExtResource("19_8lg1q")
audioClip = ExtResource("17_06sqf")

[node name="train" parent="." instance=ExtResource("18_6adfq")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
