LD46/Main.tscn

216 lines
61 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=28 format=2]
2020-04-18 23:04:50 +09:30
[ext_resource path="res://machines/Forge.tscn" type="PackedScene" id=1]
2020-04-18 23:04:50 +09:30
[ext_resource path="res://assets/TileSet.tres" type="TileSet" id=2]
[ext_resource path="res://assets/sprites/smelter.tres" type="Texture" id=3]
[ext_resource path="res://assets/sprites/forge.tres" type="Texture" id=4]
[ext_resource path="res://assets/sprites/lathe.tres" type="Texture" id=5]
[ext_resource path="res://assets/sprites/welder.tres" type="Texture" id=6]
[ext_resource path="res://assets/belt.shader" type="Shader" id=7]
[ext_resource path="res://machines/Welder.tscn" type="PackedScene" id=8]
[ext_resource path="res://machines/Lathe.tscn" type="PackedScene" id=9]
[ext_resource path="res://assets/narration.ogg" type="AudioStream" id=10]
2020-04-20 05:09:48 +09:30
[ext_resource path="res://Main.gd" type="Script" id=14]
[ext_resource path="res://assets/sprites/cursor_16.tres" type="Texture" id=15]
[ext_resource path="res://assets/sprites/2x2belt.tres" type="Texture" id=16]
[ext_resource path="res://assets/sprites/belt.tres" type="Texture" id=17]
[ext_resource path="res://assets/sprites/channel.tres" type="Texture" id=18]
[ext_resource path="res://assets/BeltSet.tres" type="TileSet" id=19]
[ext_resource path="res://machines/Smelter.tscn" type="PackedScene" id=20]
2020-04-20 05:09:48 +09:30
[ext_resource path="res://assets/bgm.ogg" type="AudioStream" id=21]
[ext_resource path="res://objects/BigLadder.tscn" type="PackedScene" id=22]
[ext_resource path="res://objects/MedLadder.tscn" type="PackedScene" id=23]
[ext_resource path="res://objects/SmallLadder.tscn" type="PackedScene" id=24]
2020-04-20 05:09:48 +09:30
[ext_resource path="res://bgm.gd" type="Script" id=25]
[ext_resource path="res://bgm_slider.gd" type="Script" id=26]
[ext_resource path="res://HBoxContainer.gd" type="Script" id=27]
[ext_resource path="res://portals/OreSpawner.tscn" type="PackedScene" id=28]
[ext_resource path="res://portals/LadderEater.tscn" type="PackedScene" id=29]
[sub_resource type="ShaderMaterial" id=1]
2020-04-18 23:04:50 +09:30
shader = ExtResource( 7 )
shader_param/rps = 1.0
[node name="Main" type="Node2D"]
2020-04-20 05:09:48 +09:30
script = ExtResource( 14 )
[node name="bgm" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 21 )
autoplay = true
script = ExtResource( 25 )
2020-04-18 23:04:50 +09:30
[node name="narration" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 10 )
2020-04-18 23:04:50 +09:30
[node name="TileMap" type="TileMap" parent="."]
tile_set = ExtResource( 2 )
cell_size = Vector2( 8, 8 )
2020-04-19 16:49:28 +09:30
collision_friction = 0.75
collision_bounce = 0.05
2020-04-18 23:04:50 +09:30
format = 1
tile_data = PoolIntArray( -1, 3, 7, -65536, 3, 196612, -65535, 3, 196612, -65534, 3, 196612, -65533, 3, 196612, -65532, 3, 196612, -65531, 3, 196612, -65530, 3, 196612, -65529, 3, 196612, -65528, 3, 196612, -65527, 3, 196612, -65526, 3, 196612, -65525, 3, 196612, -65524, 3, 196612, -65523, 3, 196612, -65522, 3, 196612, -65521, 3, 196612, -65520, 3, 196612, -65519, 3, 196612, -65518, 3, 196612, -65517, 3, 196612, -65516, 3, 196612, -65515, 3, 196612, -65514, 3, 196612, -65513, 3, 196612, -65512, 3, 196612, -65511, 3, 196612, -65510, 3, 196612, -65509, 3, 196612, -65508, 3, 196612, -65507, 3, 196612, -65506, 3, 196612, -65505, 3, 196612, -65504, 3, 196612, -65503, 3, 196612, -65502, 3, 196612, -65501, 3, 196612, -65500, 3, 196612, -65499, 3, 196612, -65498, 3, 196612, -65497, 3, 196612, -65496, 3, 196612, -65495, 3, 196612, -65494, 3, 196612, -65493, 3, 196612, -65492, 3, 196612, -65491, 3, 196612, -65490, 3, 196612, -65489, 3, 196612, -65488, 3, 196612, -65487, 3, 196612, -65486, 3, 196612, -65485, 3, 196612, -65484, 3, 196612, -65483, 3, 196612, -65482, 3, 196612, -65481, 3, 196612, -65480, 3, 196612, -65479, 3, 196612, -65478, 3, 196612, -65477, 3, 196612, -65476, 3, 8, 65535, 3, 131076, 0, 3, 131078, 1, 3, 131078, 2, 3, 131078, 3, 3, 131078, 4, 3, 131078, 5, 3, 131078, 6, 3, 131078, 7, 3, 131078, 8, 3, 131078, 9, 3, 131078, 10, 3, 131078, 11, 3, 131078, 12, 3, 131078, 13, 3, 131078, 14, 3, 131078, 15, 3, 131078, 16, 3, 131078, 17, 3, 131078, 18, 3, 131078, 19, 3, 131078, 20, 3, 131078, 21, 3, 131078, 22, 3, 131078, 23, 3, 131078, 24, 3, 131078, 25, 3, 131078, 26, 3, 131078, 27, 3, 131078, 28, 3, 131078, 29, 3, 131078, 30, 3, 131078, 31, 3, 131078, 32, 3, 131078, 33, 3, 131078, 34, 3, 131078, 35, 3, 131078, 36, 3, 131078, 37, 3, 131078, 38, 3, 131080, 39, 3, 131080, 40, 3, 131078, 41, 3, 131078, 42, 3, 131080, 43, 3, 131080, 44, 3, 131078, 45, 3, 131080, 46, 3, 131080, 47, 3, 131078, 48, 3, 131078, 49, 3, 131078, 50, 3, 131078, 51, 3, 131080, 52, 3, 131078, 53, 3, 131080, 54, 3, 131080, 55, 3, 131078, 56, 3, 131080, 57, 3, 131078, 58, 3, 131080, 59, 3, 131078, 60, 3, 131077, 131071, 3, 131076, 65536, 3, 131078, 65537, 3, 131072, 65538, 3, 196613, 65539, 3, 196613, 65540, 3, 196613, 65541, 3, 196613, 65542, 3, 196613, 65543, 3, 196613, 65544, 3, 196613, 65545, 3, 196613, 65546, 3, 196613, 65547, 3, 196613, 65548, 3, 196613, 65549, 3, 196613, 65550, 3, 196613, 65551, 3, 196613, 65552, 3, 196613, 65553, 3, 196613, 65554, 3, 196613, 65555, 3, 196613, 65556, 3, 196613, 65557, 3, 196613, 65558, 3, 196613, 65559, 3, 196613, 65560, 3, 196613, 65561, 3, 196613, 65562, 3, 196613, 65563, 3, 196613, 65564, 3, 196613, 65565, 3, 196613, 65566, 3, 196613, 65567, 3, 196613, 65568, 3, 196613, 65569, 3, 196613, 65570, 3, 196613, 65571, 3, 131073, 65572, 3, 131078, 65573, 3, 131078, 65574, 3, 131078, 65575, 3, 131078, 65576, 3, 131078, 65577, 3, 131080, 65578, 3, 131078, 65579, 3, 131080, 65580, 3, 131078, 65581, 3, 131080, 65582, 3, 131080, 65583, 3, 131080, 65584, 3, 131080, 65585, 3, 131078, 65586, 3, 131080, 65587, 3, 131078, 65588, 3, 131080, 65589, 3, 131080, 65590, 3, 131080, 65591, 3, 131080, 65592, 3, 131078, 65593, 3, 131080, 65594, 3, 131080, 65595, 3, 131078, 65596, 3, 131077, 196607, 3, 131076, 131072, 3, 131078, 131073, 3, 131077, 131074, 1, 0, 131075, 1, 0, 131076, 1, 0, 131077, 1, 0, 131078, 1, 0, 131079, 1, 0, 131080, 1, 0, 131081, 1, 0, 131082, 1, 0, 131083, 1, 0, 131084, 1, 0, 131085, 1, 0, 131086, 1, 0, 131087, 1, 0, 131088, 1, 0, 131089, 1, 0, 131090, 1, 0, 131091, 1, 0, 131092, 1, 0, 131093, 1, 0, 131094, 1, 0, 131095, 1, 0, 131096, 1, 0, 131097, 1, 0, 131098, 1, 0, 131099, 1, 0, 131100, 1, 0, 131101, 1, 0, 131102, 1, 0, 131103, 1, 0, 131104, 1, 0, 131105, 1, 0, 131106, 1, 0, 131107, 3, 131076, 131108, 3, 131078, 131109, 3, 131078, 131110, 3, 131080, 131111, 3, 131080, 131112, 3, 131080, 131113, 3, 131078, 131114, 3, 131080, 131115, 3, 131078, 131116, 3, 131080, 131117, 3, 131078, 131118, 3, 131078, 131119, 3, 131078, 131120, 3, 131080, 131121, 3, 131078, 131122, 3, 131078, 131123, 3, 131078, 131124, 3, 131078, 1311
2020-04-18 23:04:50 +09:30
__meta__ = {
"_edit_lock_": true
}
[node name="BeltTiles" type="TileMap" parent="TileMap"]
material = SubResource( 1 )
tile_set = ExtResource( 19 )
2020-04-18 23:04:50 +09:30
cell_size = Vector2( 8, 8 )
format = 1
tile_data = PoolIntArray( 458753, 0, 0, 458754, 0, 0, 458755, 0, 0, 458756, 0, 0, 458757, 0, 0, 458758, 0, 0, 458759, 0, 0, 458760, 0, 0, 458761, 0, 0, 458762, 0, 0, 458763, 0, 0, 458764, -1610612736, 0, 458765, -1610612736, 0, 458766, -1610612736, 0, 458767, -1610612736, 0, 458768, -1610612736, 0, 458769, -1610612736, 0, 524291, 0, 0, 524292, 0, 0, 524293, 0, 0, 524294, 0, 0, 524295, 0, 0, 524296, 0, 0, 524299, 0, 0, 524300, 0, 0, 524301, -1610612736, 0, 524302, -1610612736, 0, 524303, -1610612736, 0, 524304, -1610612736, 0, 524305, -1610612736, 0, 589825, 0, 0, 589837, -1610612736, 0, 589838, -1610612736, 0, 589839, -1610612736, 0, 589840, -1610612736, 0, 589841, -1610612736, 0, 655373, -1610612736, 0, 655374, -1610612736, 0, 655375, -1610612736, 0, 655376, -1610612736, 0, 655377, -1610612736, 0, 720897, 0, 0, 720909, -1610612736, 0, 720910, -1610612736, 0, 720911, -1610612736, 0, 720912, -1610612736, 0, 720913, -1610612736, 0, 786445, -1610612736, 0, 786446, -1610612736, 0, 786447, -1610612736, 0, 786448, -1610612736, 0, 786449, -1610612736, 0, 851969, 0, 0, 851980, -1610612736, 0, 851981, -1610612736, 0, 851982, -1610612736, 0, 851983, -1610612736, 0, 851984, -1610612736, 0, 851985, -1610612736, 0, 917516, -1610612736, 0, 917517, -1610612736, 0, 917518, -1610612736, 0, 917519, -1610612736, 0, 917520, -1610612736, 0, 917521, -1610612736, 0, 917522, 1610612736, 0, 983041, 0, 0, 983052, -1610612736, 0, 983053, -1610612736, 0, 983054, -1610612736, 0, 983055, -1610612736, 0, 983056, -1610612736, 0, 983057, -1610612736, 0, 983058, 1610612736, 0, 1048588, -1610612736, 0, 1048589, -1610612736, 0, 1048590, -1610612736, 0, 1048591, -1610612736, 0, 1048592, -1610612736, 0, 1048593, -1610612736, 0, 1048594, 1610612736, 0, 1048601, 0, 0, 1048602, -1610612736, 0, 1114113, 0, 0, 1114124, -1610612736, 0, 1114125, -1610612736, 0, 1114126, -1610612736, 0, 1114127, -1610612736, 0, 1114128, -1610612736, 0, 1114129, -1610612736, 0, 1114137, -1073741824, 0, 1114138, 0, 0, 1114139, 0, 0, 1114140, 0, 0, 1114141, 0, 0, 1114142, -1610612736, 0, 1179660, -1610612736, 0, 1179661, -1610612736, 0, 1179662, -1610612736, 0, 1179663, -1610612736, 0, 1179664, -1610612736, 0, 1179665, -1610612736, 0, 1179673, -1073741824, 0, 1179674, -1610612734, 0, 1179675, -1610612735, 0, 1179676, 1610612736, 0, 1179677, 1610612736, 0, 1179678, -1610612736, 0, 1245185, 0, 0, 1245196, -1610612736, 0, 1245197, 1, 0, 1245198, 1, 0, 1245199, 1, 0, 1245200, 1, 0, 1245201, 1, 0, 1245202, 1, 0, 1245203, 1, 0, 1245204, 1, 0, 1245205, 1, 0, 1245206, 1, 0, 1245209, -1073741824, 0, 1245210, -1610612734, 0, 1245211, -1610612735, 0, 1245213, -1073741824, 0, 1245214, 0, 0, 1245215, 0, 0, 1245216, -1610612736, 0, 1310732, 3, 0, 1310733, 3, 0, 1310734, 3, 0, 1310735, 3, 0, 1310736, 3, 0, 1310737, 3, 0, 1310738, 3, 0, 1310739, 3, 0, 1310740, 3, 0, 1310741, 3, 0, 1310742, 3, 0, 1310745, -1073741824, 0, 1310746, -1610612734, 0, 1310747, -1610612735, 0, 1310749, -1073741824, 0, 1310750, -1610612736, 0, 1310751, 1610612736, 0, 1310752, -1610612736, 0, 1376257, 0, 0, 1376268, 2, 0, 1376269, 2, 0, 1376270, 2, 0, 1376271, 2, 0, 1376272, 2, 0, 1376273, 2, 0, 1376274, 2, 0, 1376275, 2, 0, 1376276, 2, 0, 1376277, 2, 0, 1376278, 2, 0, 1376281, -1073741824, 0, 1376282, -1610612734, 0, 1376283, -1610612735, 0, 1376285, -1073741824, 0, 1376286, 1610612736, 0, 1376287, -1073741824, 0, 1376288, 1610612736, 0, 1441817, -1073741824, 0, 1441818, 1610612736, 0, 1441819, 1610612736, 0, 1507329, 0, 0, 1507363, -1610612736, 0, 1572890, -1610612736, 0, 1572891, 1610612738, 0, 1572892, 1610612738, 0, 1572899, 1, 0, 1703935, 0, 0, 1638400, 0, 0, 1638401, 0, 0, 1638425, 1, 0, 1638426, 1, 0, 1638427, 1610612739, 0, 1638428, 1610612739, 0, 1638435, 2, 0, 1703957, -1610612736, 0, 1703961, 3, 0, 1703962, 3, 0, 1703963, 1610612739, 0, 1703964, 1610612739, 0, 1703971, -1073741824, 0, 1769473, 0, 0, 1769493, -1610612736, 0, 1769497, 2, 0, 1769498, 2, 0, 1769499, 1610612739, 0, 1769500, 1610612739, 0, 1835027, 0, 0, 1835028, 0, 0, 1835030, 1610612736, 0, 1835031, 1610612736, 0, 1835034, -1073741824, 0, 1835035, 1610
2020-04-18 23:04:50 +09:30
__meta__ = {
"_edit_lock_": true
}
[node name="Objects" type="Node2D" parent="TileMap"]
2020-04-20 05:09:48 +09:30
[node name="BigLadder" parent="TileMap/Objects" instance=ExtResource( 22 )]
position = Vector2( 48, 64 )
2020-04-20 05:09:48 +09:30
[node name="BigLadder3" parent="TileMap/Objects" instance=ExtResource( 22 )]
position = Vector2( 208, 96 )
rotation = 0.610865
2020-04-20 05:09:48 +09:30
[node name="MedLadder" parent="TileMap/Objects" instance=ExtResource( 23 )]
position = Vector2( 165, 74 )
2020-04-20 05:09:48 +09:30
[node name="SmallLadder" parent="TileMap/Objects" instance=ExtResource( 24 )]
position = Vector2( 184, 112 )
2020-04-18 23:04:50 +09:30
[node name="Machines" type="Node2D" parent="TileMap"]
2020-04-18 23:04:50 +09:30
[node name="Smelter" parent="TileMap/Machines" instance=ExtResource( 20 )]
position = Vector2( 28, 312 )
2020-04-18 23:04:50 +09:30
[node name="Forge" parent="TileMap/Machines" instance=ExtResource( 1 )]
position = Vector2( 44, 280 )
2020-04-18 23:04:50 +09:30
[node name="Lathe" parent="TileMap/Machines" instance=ExtResource( 9 )]
position = Vector2( 112, 288 )
2020-04-18 23:04:50 +09:30
[node name="Welder" parent="TileMap/Machines" instance=ExtResource( 8 )]
position = Vector2( 200, 296 )
2020-04-18 23:04:50 +09:30
[node name="Portals" type="Node2D" parent="."]
[node name="OreSpawner" parent="Portals" instance=ExtResource( 28 )]
position = Vector2( -4, 268 )
[node name="OreSpawner2" parent="Portals" instance=ExtResource( 28 )]
position = Vector2( -4, 236 )
[node name="OreSpawner3" parent="Portals" instance=ExtResource( 28 )]
position = Vector2( -4, 204 )
[node name="LadderEater" parent="Portals" instance=ExtResource( 29 )]
position = Vector2( 296, 296 )
[node name="LadderEater2" parent="Portals" instance=ExtResource( 29 )]
position = Vector2( 296, 248 )
[node name="LadderEater3" parent="Portals" instance=ExtResource( 29 )]
position = Vector2( 296, 200 )
2020-04-18 23:04:50 +09:30
[node name="GUI" type="Control" parent="."]
margin_right = 480.0
margin_bottom = 360.0
2020-04-19 16:49:28 +09:30
mouse_filter = 1
script = ExtResource( 27 )
2020-04-18 23:04:50 +09:30
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": true
2020-04-18 23:04:50 +09:30
}
[node name="HBoxContainer" type="HBoxContainer" parent="GUI"]
show_behind_parent = true
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
grow_vertical = 0
size_flags_horizontal = 3
2020-04-18 23:04:50 +09:30
__meta__ = {
"_edit_lock_": true,
2020-04-18 23:04:50 +09:30
"_edit_use_anchors_": false
}
[node name="Cursor" type="TextureRect" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_right = 16.0
margin_bottom = 16.0
texture = ExtResource( 15 )
[node name="Belt" type="TextureRect" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 20.0
margin_right = 28.0
margin_bottom = 16.0
texture = ExtResource( 17 )
[node name="Channel" type="TextureRect" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 32.0
margin_right = 40.0
margin_bottom = 16.0
texture = ExtResource( 18 )
[node name="Widebelt" type="TextureRect" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 44.0
margin_right = 60.0
margin_bottom = 16.0
texture = ExtResource( 16 )
[node name="Smelter" type="TextureRect" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 64.0
margin_right = 88.0
2020-04-18 23:04:50 +09:30
margin_bottom = 16.0
texture = ExtResource( 3 )
[node name="Forge" type="TextureRect" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 92.0
margin_right = 116.0
2020-04-18 23:04:50 +09:30
margin_bottom = 16.0
texture = ExtResource( 4 )
[node name="Lathe" type="TextureRect" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 120.0
margin_right = 152.0
2020-04-18 23:04:50 +09:30
margin_bottom = 16.0
texture = ExtResource( 5 )
[node name="Welder" type="TextureRect" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 156.0
margin_right = 188.0
2020-04-18 23:04:50 +09:30
margin_bottom = 16.0
texture = ExtResource( 6 )
2020-04-20 05:09:48 +09:30
[node name="BGMSlider" type="HBoxContainer" parent="GUI/HBoxContainer"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 192.0
margin_right = 480.0
margin_bottom = 16.0
size_flags_horizontal = 3
[node name="Label" type="Label" parent="GUI/HBoxContainer/BGMSlider"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_top = 1.0
margin_right = 31.0
margin_bottom = 15.0
text = "BGM"
[node name="HSlider" type="HSlider" parent="GUI/HBoxContainer/BGMSlider"]
show_behind_parent = true
2020-04-20 05:09:48 +09:30
margin_left = 35.0
margin_right = 288.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.01
value = 0.5
script = ExtResource( 26 )