[gd_scene load_steps=45 format=3 uid="uid://md2ofbviios3"] [ext_resource type="Script" path="res://scripts/Train.gd" id="1_0x664"] [ext_resource type="PackedScene" uid="uid://bhivunrkj87cy" path="res://Nodes/engine.tscn" id="3_1ix85"] [ext_resource type="PackedScene" uid="uid://vwjd5od63jgh" path="res://Nodes/Player.tscn" id="3_in6up"] [ext_resource type="PackedScene" uid="uid://c1mymb38wqdg6" path="res://Nodes/train.tscn" id="3_jmv6b"] [ext_resource type="PackedScene" uid="uid://cet80w4yr8rse" path="res://Storage.tscn" id="4_5jw5g"] [ext_resource type="Texture2D" uid="uid://dsphpbpt27t1i" path="res://a3TCqhg.png" id="4_c3xfc"] [ext_resource type="Texture2D" uid="uid://d1m2jplf8u0h0" path="res://Nodes/walking_ball1.png" id="5_rgwud"] [ext_resource type="PackedScene" uid="uid://byo1m0n20yl45" path="res://Nodes/cannon.tscn" id="5_vgxqe"] [ext_resource type="Texture2D" uid="uid://b4yysvn1ibspa" path="res://walking_giant1.png" id="6_fw3nx"] [ext_resource type="Texture2D" uid="uid://b5hai0ap763xu" path="res://walking_coal1.png" id="6_hoc8x"] [ext_resource type="Texture2D" uid="uid://d35iaj0nq122a" path="res://walking_powder1.png" id="6_kfxv2"] [ext_resource type="Texture2D" uid="uid://eg0k8esm2scp" path="res://p5lFkJY.png" id="6_m0hj7"] [ext_resource type="Texture2D" uid="uid://du7d6fk4dabd7" path="res://cVOQuID.png" id="7_d8go0"] [ext_resource type="Texture2D" uid="uid://nbfs0w8tpjt4" path="res://walking_large1.png" id="7_p66t1"] [ext_resource type="Texture2D" uid="uid://ctbxpx6p36bdi" path="res://walking_ball2.png" id="8_0u1e2"] [ext_resource type="Texture2D" uid="uid://ckdlv6b7okseq" path="res://walking_powder2.png" id="10_a137a"] [ext_resource type="Texture2D" uid="uid://b5ioch3ad8y6r" path="res://walking_coal2.png" id="11_1jgcf"] [ext_resource type="Texture2D" uid="uid://4hcjvygte1em" path="res://walking_giant2.png" id="13_hvlfc"] [ext_resource type="Texture2D" uid="uid://bhmyyu0uhx541" path="res://Assets/Textures/Opera_senza_titolo (2).png" id="14_503dh"] [ext_resource type="Texture2D" uid="uid://clgd25fer2yka" path="res://walking_large2.png" id="14_bfbb2"] [ext_resource type="Texture2D" uid="uid://biyvvql2ufkdf" path="res://Assets/Textures/Opera_senza_titolo (1).png" id="15_dew1j"] [ext_resource type="PackedScene" uid="uid://bkpnrgcfr1jgl" path="res://Nodes/Bin.tscn" id="16_q3kvk"] [ext_resource type="AudioStream" uid="uid://b52sd64x20ulv" path="res://Assets/Sounds/_SOUNDFX_/Gunpowder.wav" id="17_ajifv"] [ext_resource type="Texture2D" uid="uid://5nu7hitxgm2p" path="res://Assets/Textures/Opera_senza_titolo (3).png" id="18_xnvtr"] [ext_resource type="Texture2D" uid="uid://cet5o7wla1x7t" path="res://Assets/Textures/Opera_senza_titolo.png" id="19_5df2b"] [ext_resource type="Texture2D" uid="uid://cpb1ashccd2ki" path="res://Assets/Textures/Opera_senza_titolo (4).png" id="19_crlxr"] [ext_resource type="PackedScene" uid="uid://dhev2lm3feo0q" path="res://Assets/Model/Objects/AmmoPile.glb" id="27_s7kr6"] [ext_resource type="PackedScene" uid="uid://c06gvrsynr7p7" path="res://Assets/Model/Objects/GunpowerBarrel.glb" id="27_vnaiu"] [ext_resource type="PackedScene" uid="uid://cbvbqqwwnkut5" path="res://Assets/Model/Modules/Coal.glb" id="28_4ee2i"] [ext_resource type="PackedScene" uid="uid://dtur8jn3vpeuv" path="res://Assets/Model/Objects/Trashcan.glb" id="30_1bsq2"] [ext_resource type="Shader" path="res://Nodes/game.gdshader" id="31_tn7tf"] [ext_resource type="Texture2D" uid="uid://cb5ns37ft6ju1" path="res://Assets/Textures/Track_Color.png" id="32_k8vou"] [sub_resource type="SpriteFrames" id="SpriteFrames_6p0y6"] animations = [{ "frames": [ExtResource("4_c3xfc")], "loop": true, "name": &"idle", "speed": 1.0 }, { "frames": [ExtResource("5_rgwud")], "loop": true, "name": &"idle_ball", "speed": 1.0 }, { "frames": [ExtResource("6_hoc8x")], "loop": true, "name": &"idle_coal", "speed": 1.0 }, { "frames": [ExtResource("6_fw3nx")], "loop": true, "name": &"idle_giant", "speed": 1.0 }, { "frames": [ExtResource("7_p66t1")], "loop": true, "name": &"idle_large", "speed": 1.0 }, { "frames": [ExtResource("6_kfxv2")], "loop": true, "name": &"idle_powder", "speed": 1.0 }, { "frames": [ExtResource("6_m0hj7"), ExtResource("7_d8go0")], "loop": true, "name": &"walking", "speed": 2.0 }, { "frames": [ExtResource("5_rgwud"), ExtResource("8_0u1e2")], "loop": true, "name": &"walking_ball", "speed": 2.0 }, { "frames": [ExtResource("6_hoc8x"), ExtResource("11_1jgcf")], "loop": true, "name": &"walking_coal", "speed": 2.0 }, { "frames": [ExtResource("6_fw3nx"), ExtResource("13_hvlfc")], "loop": true, "name": &"walking_giant", "speed": 2.0 }, { "frames": [ExtResource("7_p66t1"), ExtResource("14_bfbb2")], "loop": true, "name": &"walking_large", "speed": 2.0 }, { "frames": [ExtResource("6_kfxv2"), ExtResource("10_a137a")], "loop": true, "name": &"walking_powder", "speed": 2.0 }] [sub_resource type="BoxShape3D" id="BoxShape3D_lji1n"] size = Vector3(1, 3.77669, 24) [sub_resource type="BoxShape3D" id="BoxShape3D_hx6x8"] size = Vector3(12, 1, 24) [sub_resource type="BoxShape3D" id="BoxShape3D_d230q"] size = Vector3(12, 4, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_04j56"] size = Vector3(1, 6, 9.05915) [sub_resource type="BoxShape3D" id="BoxShape3D_1oq2b"] size = Vector3(2.32375, 2.15267, 2.05962) [sub_resource type="BoxShape3D" id="BoxShape3D_uhn7c"] size = Vector3(1.39165, 1, 4.34092) [sub_resource type="BoxShape3D" id="BoxShape3D_bmsh4"] size = Vector3(2, 1, 2) [sub_resource type="BoxShape3D" id="BoxShape3D_cedqu"] size = Vector3(1.83216, 2.38974, 1.62541) [sub_resource type="BoxShape3D" id="BoxShape3D_enmqk"] size = Vector3(1.6991, 2.76277, 1) [sub_resource type="ShaderMaterial" id="ShaderMaterial_0sh6y"] render_priority = 0 shader = ExtResource("31_tn7tf") shader_parameter/albedo = ExtResource("32_k8vou") shader_parameter/direction_and_speed = Vector2(0, -1) shader_parameter/flip = null shader_parameter/scale = Vector2(3, 30) [sub_resource type="BoxMesh" id="BoxMesh_1njd7"] material = SubResource("ShaderMaterial_0sh6y") [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_0x664") [node name="CharacterBody3D" parent="." instance=ExtResource("3_in6up")] 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_giant" speed_scale = 2.0 playing = true [node name="Storage" parent="." instance=ExtResource("4_5jw5g")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.39134, 0.566982, -5.05116) icon = ExtResource("14_503dh") [node name="Storage4" parent="." instance=ExtResource("4_5jw5g")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.18833, 0.591587, -2.5302) currentType = 3 icon = ExtResource("18_xnvtr") [node name="Storage5" parent="." instance=ExtResource("4_5jw5g")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.39139, 0.55007, 2.28094) currentType = 4 icon = ExtResource("19_crlxr") [node name="Storage2" parent="." instance=ExtResource("4_5jw5g")] transform = Transform3D(0.248791, 0, 0.968557, 0, 1, 0, -0.968557, 0, 0.248791, -3.83957, 0.511235, 9.06418) currentType = 2 icon = ExtResource("19_5df2b") [node name="Cannon" parent="." instance=ExtResource("5_vgxqe")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.96857, 1.2303, 0.0455477) [node name="Cannon2" parent="." instance=ExtResource("5_vgxqe")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.02311, 1.2303, 5.94791) [node name="Engine" parent="." instance=ExtResource("3_1ix85")] transform = Transform3D(-6.55671e-08, 0, 1.5, 0, 1.5, 0, -1.5, 0, -6.55671e-08, -3.92586, 1.1688, -9.70376) [node name="Bin" parent="." instance=ExtResource("16_q3kvk")] transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.887, -0.0309173, 10.6156) [node name="Storage3" parent="." instance=ExtResource("4_5jw5g")] transform = Transform3D(0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 4.16754, 1.098, -10.4205) currentType = 1 icon = ExtResource("15_dew1j") audioClip = ExtResource("17_ajifv") [node name="train" parent="." instance=ExtResource("3_jmv6b")] transform = Transform3D(-6.55671e-08, 0, 1.5, 0, 1.5, 0, -1.5, 0, -6.55671e-08, 3, 0, 9) [node name="GunpowerBarrel" parent="train" instance=ExtResource("27_vnaiu")] transform = Transform3D(-6.55671e-08, 0, -1.5, 0, 1.5, 0, 1.5, 0, -6.55671e-08, 13.3432, 0.00133824, 1.23896) [node name="AmmoPile" parent="train" instance=ExtResource("27_s7kr6")] transform = Transform3D(-0.697233, 0, -0.976656, 0, 1.2, 0, 0.976656, 0, -0.697233, 4.37438, -0.197263, -5.41223) [node name="AmmoPile2" parent="train" instance=ExtResource("27_s7kr6")] transform = Transform3D(0.899661, 0, 0.0247048, 0, 0.9, 0, -0.0247048, 0, 0.899661, 7.73652, -0.112241, -5.46297) [node name="AmmoPile3" parent="train" instance=ExtResource("27_s7kr6")] transform = Transform3D(0.599573, 0, -0.0226459, 0, 0.6, 0, 0.0226459, 0, 0.599573, 9.36594, -0.112241, -5.44506) [node name="Coal" parent="train" instance=ExtResource("28_4ee2i")] transform = Transform3D(1.05948, 0, 1.69632, 0, 2, 0, -1.69632, 0, 1.05948, -0.739029, -0.113741, -4.45696) [node name="Trashcan" parent="train" instance=ExtResource("30_1bsq2")] transform = Transform3D(-2.91409e-08, 0, -0.666667, 0, 0.666667, 0, 0.666667, 0, -2.91409e-08, -1.0159, 0.0225529, 0.914305) [node name="StaticBody3D2" type="StaticBody3D" parent="train"] transform = Transform3D(-2.91409e-08, 0, -0.666667, 0, 0.666667, 0, 0.666667, 0, -2.91409e-08, 6, -0.137826, -1.33333) collision_layer = 4 collision_mask = 2 [node name="CollisionShape3D2" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.5, 2, 4.23516e-22) shape = SubResource("BoxShape3D_lji1n") [node name="CollisionShape3D3" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 2, 3.55271e-15) shape = SubResource("BoxShape3D_lji1n") [node name="CollisionShape3D" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3.55271e-15) shape = SubResource("BoxShape3D_hx6x8") [node name="CollisionShape3D4" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 2, -12) shape = SubResource("BoxShape3D_d230q") [node name="CollisionShape3D5" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 2, 12) shape = SubResource("BoxShape3D_d230q") [node name="CollisionShape3D6" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 3, -1.52864) shape = SubResource("BoxShape3D_04j56") [node name="CollisionShape3D7" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.87326, 0.400702, 10.5268) shape = SubResource("BoxShape3D_1oq2b") [node name="CollisionShape3D8" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.12602, 0.994293, -3.46126) shape = SubResource("BoxShape3D_uhn7c") [node name="CollisionShape3D9" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.89027, 0.82649, 2.22244) shape = SubResource("BoxShape3D_bmsh4") [node name="CollisionShape3D10" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.53467, 1.22896, 10.6981) shape = SubResource("BoxShape3D_cedqu") [node name="CollisionShape3D11" type="CollisionShape3D" parent="train/StaticBody3D2"] transform = Transform3D(0.712443, 0, -0.70173, 0, 1, 0, 0.70173, 0, 0.712443, 3.79233, 1.464, -10.9914) shape = SubResource("BoxShape3D_enmqk") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] transform = Transform3D(10, 0, 0, 0, 0.2, 0, 0, 0, 500, 0, -4.40884, 0) mesh = SubResource("BoxMesh_1njd7")