LD46/Main.tscn

297 lines
80 KiB
Plaintext
Raw Normal View History

2020-04-18 23:04:50 +09:30
[gd_scene load_steps=22 format=2]
[ext_resource path="res://spritesheet.png" type="Texture" id=1]
[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://assets/machine.shader" type="Shader" id=8]
[ext_resource path="res://assets/sprites/arrow_in.tres" type="Texture" id=9]
[ext_resource path="res://assets/sprites/arrow_out.tres" type="Texture" id=10]
[ext_resource path="res://assets/sprites/iron_stock.tres" type="Texture" id=11]
[ext_resource path="res://assets/sprites/iron_ore.tres" type="Texture" id=12]
[ext_resource path="res://assets/sprites/iron_rod.tres" type="Texture" id=13]
[ext_resource path="res://assets/sprites/iron_ladder.tres" type="Texture" id=14]
[ext_resource path="res://item.gd" type="Script" id=15]
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 7 )
shader_param/rps = 1.0
[sub_resource type="TileSet" id=1]
0/name = "belt"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 8, 240, 8, 8 )
0/tile_mode = 0
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape_one_way = false
0/shape_one_way_margin = 0.0
0/shapes = [ ]
0/z_index = 0
1/name = "widebelt1"
1/texture = ExtResource( 1 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 8, 224, 8, 8 )
1/tile_mode = 0
1/occluder_offset = Vector2( 0, 0 )
1/navigation_offset = Vector2( 0, 0 )
1/shape_offset = Vector2( 0, 0 )
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
1/shape_one_way = false
1/shape_one_way_margin = 0.0
1/shapes = [ ]
1/z_index = 0
2/name = "widebelt2"
2/texture = ExtResource( 1 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 1, 1, 1, 1 )
2/region = Rect2( 8, 232, 8, 8 )
2/tile_mode = 0
2/occluder_offset = Vector2( 0, 0 )
2/navigation_offset = Vector2( 0, 0 )
2/shape_offset = Vector2( 0, 0 )
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
2/shape_one_way = false
2/shape_one_way_margin = 0.0
2/shapes = [ ]
2/z_index = 0
3/name = "widebelt3"
3/texture = ExtResource( 1 )
3/tex_offset = Vector2( 0, 0 )
3/modulate = Color( 1, 1, 1, 1 )
3/region = Rect2( 8, 248, 8, 8 )
3/tile_mode = 0
3/occluder_offset = Vector2( 0, 0 )
3/navigation_offset = Vector2( 0, 0 )
3/shape_offset = Vector2( 0, 0 )
3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
3/shape_one_way = false
3/shape_one_way_margin = 0.0
3/shapes = [ ]
3/z_index = 0
4/name = "channel"
4/texture = ExtResource( 1 )
4/tex_offset = Vector2( 0, 0 )
4/modulate = Color( 1, 1, 1, 1 )
4/region = Rect2( 8, 152, 8, 8 )
4/tile_mode = 0
4/occluder_offset = Vector2( 0, 0 )
4/navigation_offset = Vector2( 0, 0 )
4/shape_offset = Vector2( 0, 0 )
4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
4/shape_one_way = false
4/shape_one_way_margin = 0.0
4/shapes = [ ]
4/z_index = 0
[sub_resource type="ShaderMaterial" id=6]
shader = ExtResource( 8 )
shader_param/rps = 1.0
shader_param/bg_color = Vector3( 0.251, 0.251, 0.251 )
[sub_resource type="ShaderMaterial" id=7]
shader = ExtResource( 8 )
shader_param/rps = 1.0
shader_param/bg_color = Vector3( 0.251, 0.251, 0.251 )
[sub_resource type="ShaderMaterial" id=4]
shader = ExtResource( 8 )
shader_param/rps = 1.0
shader_param/bg_color = Vector3( 0.251, 0.251, 0.251 )
[sub_resource type="ShaderMaterial" id=5]
shader = ExtResource( 8 )
shader_param/rps = 1.0
shader_param/bg_color = Vector3( 0.251, 0.251, 0.251 )
[node name="Main" type="Node2D"]
[node name="TileMap" type="TileMap" parent="."]
tile_set = ExtResource( 2 )
cell_size = Vector2( 8, 8 )
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, 196612, -65475, 3, 196612, -65474, 3, 196612, -65473, 3, 196612, -65472, 3, 196612, -65471, 3, 196612, -65470, 3, 196612, -65469, 3, 196612, -65468, 3, 196612, -65467, 3, 196612, -65466, 3, 196612, -65465, 3, 196612, -65464, 3, 196612, -65463, 3, 196612, -65462, 3, 196612, -65461, 3, 196612, -65460, 3, 196612, -65459, 3, 196612, -65458, 3, 196612, -65457, 3, 196612, -65456, 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, 131078, 61, 3, 131078, 62, 3, 131078, 63, 3, 131080, 64, 3, 131080, 65, 3, 131080, 66, 3, 131078, 67, 3, 131078, 68, 3, 131078, 69, 3, 131078, 70, 3, 131078, 71, 3, 131080, 72, 3, 131078, 73, 3, 131080, 74, 3, 131080, 75, 3, 131078, 76, 3, 131078, 77, 3, 131080, 78, 3, 131080, 79, 3, 131078, 80, 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, 131080, 65597, 3, 131078, 65598, 3, 131080, 65599, 3, 131078, 65600, 3, 131078, 65601, 3, 131078, 65602, 3, 131078, 65603, 3, 131078, 65604, 3, 131078, 65605, 3, 131080, 65606, 3, 131080, 65607
__meta__ = {
"_edit_lock_": true
}
[node name="BeltTiles" type="TileMap" parent="TileMap"]
material = SubResource( 3 )
tile_set = SubResource( 1 )
cell_size = Vector2( 8, 8 )
format = 1
tile_data = PoolIntArray( 262161, -1610612734, 0, 262162, -1610612733, 0, 262163, -1610612733, 0, 262164, -1610612733, 0, 262165, -1610612735, 0, 327697, -1610612734, 0, 327698, -1610612733, 0, 327699, -1610612733, 0, 327700, -1610612733, 0, 327701, -1610612735, 0, 393233, -1610612734, 0, 393234, -1610612733, 0, 393235, -1610612733, 0, 393236, -1610612733, 0, 393237, -1610612735, 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, 458769, -1610612734, 0, 458770, -1610612733, 0, 458771, -1610612733, 0, 458772, -1610612733, 0, 458773, -1610612735, 0, 524300, -1610612736, 0, 524305, -1610612734, 0, 524306, -1610612733, 0, 524307, -1610612733, 0, 524308, -1610612733, 0, 524309, -1610612735, 0, 589836, -1610612736, 0, 589841, -1610612734, 0, 589842, -1610612733, 0, 589843, -1610612733, 0, 589844, -1610612733, 0, 589845, -1610612735, 0, 655372, -1610612736, 0, 655377, -1610612734, 0, 655378, -1610612733, 0, 655379, -1610612733, 0, 655380, -1610612733, 0, 655381, -1610612735, 0, 720908, -1610612736, 0, 720913, -1610612734, 0, 720914, -1610612733, 0, 720915, -1610612733, 0, 720916, -1610612735, 0, 720917, -1610612736, 0, 786444, -1610612736, 0, 786449, -1610612734, 0, 786450, -1610612733, 0, 786451, -1610612733, 0, 786452, -1610612735, 0, 786453, -1610612736, 0, 851980, -1610612736, 0, 851985, -1610612734, 0, 851986, -1610612733, 0, 851987, -1610612733, 0, 851988, -1610612735, 0, 851989, -1610612736, 0, 917516, -1610612736, 0, 917521, -1610612734, 0, 917522, -1610612733, 0, 917523, -1610612735, 0, 917524, -1610612736, 0, 917525, -1610612736, 0, 983052, -1610612736, 0, 983057, -1610612734, 0, 983058, -1610612733, 0, 983059, -1610612735, 0, 983060, -1610612736, 0, 983061, -1610612736, 0, 1048588, -1610612736, 0, 1048593, -1610612734, 0, 1048594, -1610612733, 0, 1048595, -1610612735, 0, 1048596, -1610612736, 0, 1048597, -1610612736, 0, 1048601, 0, 0, 1048602, -1610612736, 0, 1114124, -1610612736, 0, 1114129, -1610612734, 0, 1114130, -1610612733, 0, 1114131, -1610612735, 0, 1114132, -1610612736, 0, 1114133, -1610612736, 0, 1114137, -1073741824, 0, 1114138, 0, 0, 1114139, 0, 0, 1114140, 0, 0, 1114141, 0, 0, 1114142, -1610612736, 0, 1179660, -1610612736, 0, 1179665, -1610612734, 0, 1179666, -1610612733, 0, 1179667, -1610612735, 0, 1179668, -1610612736, 0, 1179669, -1610612736, 0, 1179673, -1073741824, 0, 1179674, -1610612734, 0, 1179675, -1610612735, 0, 1179676, 1610612736, 0, 1179677, 1610612736, 0, 1179678, -1610612736, 0, 1245201, -1610612734, 0, 1245202, -1610612735, 0, 1245203, -1610612736, 0, 1245204, -1610612736, 0, 1245205, -1610612736, 0, 1245209, -1073741824, 0, 1245210, -1610612734, 0, 1245211, -1610612735, 0, 1245213, -1073741824, 0, 1245214, 0, 0, 1245215, 0, 0, 1245216, -1610612736, 0, 1310737, -1610612734, 0, 1310738, -1610612735, 0, 1310739, -1610612736, 0, 1310740, -1610612736, 0, 1310741, -1610612736, 0, 1310745, -1073741824, 0, 1310746, -1610612734, 0, 1310747, -1610612735, 0, 1310749, -1073741824, 0, 1310750, -1610612736, 0, 1310751, 1610612736, 0, 1310752, -1610612736, 0, 1376273, -1610612734, 0, 1376274, -1610612735, 0, 1376275, -1610612736, 0, 1376276, -1610612736, 0, 1376277, -1610612736, 0, 1376281, -1073741824, 0, 1376282, -1610612734, 0, 1376283, -1610612735, 0, 1376285, -1073741824, 0, 1376286, 1610612736, 0, 1376287, -1073741824, 0, 1376288, 1610612736, 0, 1441809, -1610612734, 0, 1441810, -1610612735, 0, 1441811, -1610612736, 0, 1441812, -1610612736, 0, 1441813, -1610612736, 0, 1441817, -1073741824, 0, 1441818, 1610612736, 0, 1441819, 1610612736, 0, 1703957, -1610612736, 0, 1769493, -1610612736, 0, 1835027, 0, 0, 1835028, 0, 0, 1835030, 1610612736, 0, 1835031, 1610612736, 0, 1900565, -1073741824, 0, 1966101, -1073741824, 0, 2162690, 0, 0, 2162691, 0, 0, 2162692, 0, 0, 2162693, 0, 0, 2162694, 0, 0, 2162695, -1610612736, 0, 2228231, -1610612736, 0, 2293767, -1610612736, 0, 2359303, -1610612736, 0, 2424839, -1610612736, 0, 2490381, 0, 0, 2490382, 0, 0, 2490383, 0, 0, 2490395, 1, 0, 2490396, 1,
__meta__ = {
"_edit_lock_": true
}
[node name="SprSmelter" type="Sprite" parent="TileMap"]
material = SubResource( 6 )
position = Vector2( 48, 304 )
texture = ExtResource( 1 )
centered = false
region_enabled = true
region_rect = Rect2( 32, 240, 24, 16 )
[node name="SprForge" type="Sprite" parent="TileMap"]
material = SubResource( 7 )
position = Vector2( 80, 304 )
texture = ExtResource( 1 )
centered = false
region_enabled = true
region_rect = Rect2( 56, 240, 24, 16 )
[node name="SprWelder" type="Sprite" parent="TileMap"]
material = SubResource( 4 )
position = Vector2( 184, 304 )
texture = ExtResource( 6 )
centered = false
[node name="SprLathe" type="Sprite" parent="TileMap"]
material = SubResource( 5 )
position = Vector2( 128, 304 )
texture = ExtResource( 5 )
centered = false
region_rect = Rect2( 80, 240, 32, 16 )
[node name="SprOre" type="Sprite" parent="TileMap"]
position = Vector2( 56, 288 )
texture = ExtResource( 12 )
centered = false
region_rect = Rect2( 80, 240, 32, 16 )
[node name="SprStock" type="Sprite" parent="TileMap"]
position = Vector2( 108, 304 )
texture = ExtResource( 11 )
centered = false
region_rect = Rect2( 80, 240, 32, 16 )
[node name="SprRod" type="Sprite" parent="TileMap"]
position = Vector2( 164, 312 )
texture = ExtResource( 13 )
centered = false
region_rect = Rect2( 80, 240, 32, 16 )
[node name="SprLadder" type="Sprite" parent="TileMap"]
position = Vector2( 232, 312 )
texture = ExtResource( 14 )
region_rect = Rect2( 80, 240, 32, 16 )
script = ExtResource( 15 )
[node name="Sprite4" type="Sprite" parent="TileMap"]
position = Vector2( 56, 304 )
texture = ExtResource( 1 )
centered = false
offset = Vector2( 0, -4 )
region_enabled = true
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Sprite5" type="Sprite" parent="TileMap"]
position = Vector2( 80, 320 )
rotation = 4.71239
texture = ExtResource( 9 )
centered = false
offset = Vector2( 0, -4 )
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Sprite10" type="Sprite" parent="TileMap"]
position = Vector2( 128, 312 )
rotation = 4.71239
texture = ExtResource( 9 )
centered = false
offset = Vector2( 0, -4 )
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Sprite11" type="Sprite" parent="TileMap"]
position = Vector2( 184, 320 )
rotation = 4.71239
texture = ExtResource( 9 )
centered = false
offset = Vector2( 0, -4 )
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Sprite7" type="Sprite" parent="TileMap"]
position = Vector2( 216, 320 )
rotation = 4.71239
texture = ExtResource( 10 )
centered = false
offset = Vector2( 0, -4 )
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Sprite8" type="Sprite" parent="TileMap"]
position = Vector2( 216, 312 )
rotation = 4.71239
texture = ExtResource( 10 )
centered = false
offset = Vector2( 0, -4 )
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Sprite12" type="Sprite" parent="TileMap"]
position = Vector2( 160, 320 )
rotation = 4.71239
texture = ExtResource( 10 )
centered = false
offset = Vector2( 0, -4 )
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Sprite13" type="Sprite" parent="TileMap"]
position = Vector2( 104, 312 )
rotation = 4.71239
texture = ExtResource( 10 )
centered = false
offset = Vector2( 0, -4 )
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Sprite14" type="Sprite" parent="TileMap"]
position = Vector2( 72, 320 )
rotation = 4.71239
texture = ExtResource( 10 )
centered = false
offset = Vector2( 0, -4 )
region_rect = Rect2( 16, 232, 8, 8 )
[node name="Control" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="Control"]
margin_right = 124.0
margin_bottom = 16.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Smelter" type="TextureRect" parent="Control/HBoxContainer"]
margin_right = 24.0
margin_bottom = 16.0
texture = ExtResource( 3 )
[node name="Forge" type="TextureRect" parent="Control/HBoxContainer"]
margin_left = 28.0
margin_right = 52.0
margin_bottom = 16.0
texture = ExtResource( 4 )
[node name="Lathe" type="TextureRect" parent="Control/HBoxContainer"]
margin_left = 56.0
margin_right = 88.0
margin_bottom = 16.0
texture = ExtResource( 5 )
[node name="Welder" type="TextureRect" parent="Control/HBoxContainer"]
margin_left = 92.0
margin_right = 124.0
margin_bottom = 16.0
texture = ExtResource( 6 )