2021-04-05 20:59:49 +00:00
|
|
|
[gd_scene load_steps=25 format=2]
|
2020-08-29 14:36:49 +00:00
|
|
|
|
2023-03-25 20:42:54 +00:00
|
|
|
[ext_resource path="res://pictures/characters/char.png" type="Texture2D" id=1]
|
2021-08-26 14:52:21 +00:00
|
|
|
[ext_resource path="res://pictures/gui/player_interaction.tres" type="TileSet" id=2]
|
2021-09-04 15:29:04 +00:00
|
|
|
[ext_resource path="res://pictures/surroundings/Floor.tres" type="TileSet" id=3]
|
2023-03-25 20:42:54 +00:00
|
|
|
[ext_resource path="res://pictures/tileset_images/vegetation.png" type="Texture2D" id=4]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/LeftButton.png" type="Texture2D" id=5]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/LeftButtonPressed.png" type="Texture2D" id=6]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/TopButtonPressed.png" type="Texture2D" id=7]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/map.png" type="Texture2D" id=8]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/instellingen2.png" type="Texture2D" id=9]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/TopButton.png" type="Texture2D" id=10]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/quick_item_button.png" type="Texture2D" id=11]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/crafting_alchemy.png" type="Texture2D" id=12]
|
|
|
|
[ext_resource path="res://pictures/gui/buttons/inventory.png" type="Texture2D" id=13]
|
2021-08-26 14:52:21 +00:00
|
|
|
[ext_resource path="res://MiscCodes/Tilemap_CameraView.gd" type="Script" id=14]
|
|
|
|
[ext_resource path="res://MiscCodes/KinematicBody2D.gd" type="Script" id=15]
|
|
|
|
[ext_resource path="res://MiscCodes/TouchScreenButton.gd" type="Script" id=16]
|
2021-04-05 20:59:49 +00:00
|
|
|
[ext_resource path="res://MiscCodes/background_script.gd" type="Script" id=17]
|
2023-03-25 20:42:54 +00:00
|
|
|
[ext_resource path="res://pictures/tileset_images/interaction_map.png" type="Texture2D" id=18]
|
2020-08-29 14:36:49 +00:00
|
|
|
|
2021-04-02 21:24:35 +00:00
|
|
|
[sub_resource type="TileSet" id=1]
|
|
|
|
0/name = "vegetation.png 0"
|
2021-08-26 14:52:21 +00:00
|
|
|
0/texture = ExtResource( 4 )
|
2021-04-02 21:24:35 +00:00
|
|
|
0/tex_offset = Vector2( 0, 0 )
|
|
|
|
0/modulate = Color( 1, 1, 1, 1 )
|
|
|
|
0/region = Rect2( 0, 0, 288, 32 )
|
|
|
|
0/tile_mode = 2
|
|
|
|
0/autotile/icon_coordinate = Vector2( 0, 0 )
|
|
|
|
0/autotile/tile_size = Vector2( 32, 32 )
|
|
|
|
0/autotile/spacing = 0
|
|
|
|
0/autotile/occluder_map = [ ]
|
|
|
|
0/autotile/navpoly_map = [ ]
|
|
|
|
0/autotile/priority_map = [ ]
|
|
|
|
0/autotile/z_index_map = [ ]
|
|
|
|
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
|
|
|
|
|
2021-04-08 20:58:04 +00:00
|
|
|
[sub_resource type="OccluderPolygon2D" id=2]
|
2023-03-25 20:42:54 +00:00
|
|
|
polygon = PackedVector2Array( 0, 0, 32, 0, 32, 96, 0, 96 )
|
2021-04-05 20:59:49 +00:00
|
|
|
|
2021-04-08 20:58:04 +00:00
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=3]
|
2023-03-25 20:42:54 +00:00
|
|
|
points = PackedVector2Array( 0, 0, 32, 0, 32, 96, 0, 96 )
|
2021-04-05 20:59:49 +00:00
|
|
|
|
2021-04-08 20:58:04 +00:00
|
|
|
[sub_resource type="TileSet" id=4]
|
2021-04-02 21:24:35 +00:00
|
|
|
0/name = "interaction_map.png 0"
|
|
|
|
0/texture = ExtResource( 18 )
|
|
|
|
0/tex_offset = Vector2( 0, 0 )
|
|
|
|
0/modulate = Color( 1, 1, 1, 1 )
|
2021-04-05 20:59:49 +00:00
|
|
|
0/region = Rect2( 0, 64, 32, 32 )
|
2021-04-02 21:24:35 +00:00
|
|
|
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 = "interaction_map.png 1"
|
|
|
|
1/texture = ExtResource( 18 )
|
|
|
|
1/tex_offset = Vector2( 0, 0 )
|
|
|
|
1/modulate = Color( 1, 1, 1, 1 )
|
2021-04-05 20:59:49 +00:00
|
|
|
1/region = Rect2( 32, 64, 32, 32 )
|
2021-04-02 21:24:35 +00:00
|
|
|
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 = "interaction_map.png 2"
|
|
|
|
2/texture = ExtResource( 18 )
|
|
|
|
2/tex_offset = Vector2( 0, 0 )
|
|
|
|
2/modulate = Color( 1, 1, 1, 1 )
|
2021-04-05 20:59:49 +00:00
|
|
|
2/region = Rect2( 64, 64, 32, 32 )
|
2021-04-02 21:24:35 +00:00
|
|
|
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
|
2021-04-05 20:59:49 +00:00
|
|
|
3/name = "interaction_map.png 3"
|
|
|
|
3/texture = ExtResource( 18 )
|
|
|
|
3/tex_offset = Vector2( 0, 0 )
|
|
|
|
3/modulate = Color( 1, 1, 1, 1 )
|
|
|
|
3/region = Rect2( 96, 0, 32, 96 )
|
|
|
|
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 = "interaction_map.png 4"
|
|
|
|
4/texture = ExtResource( 18 )
|
|
|
|
4/tex_offset = Vector2( 0, 0 )
|
|
|
|
4/modulate = Color( 1, 1, 1, 1 )
|
|
|
|
4/region = Rect2( 128, 0, 32, 96 )
|
|
|
|
4/tile_mode = 0
|
|
|
|
4/occluder_offset = Vector2( 0, 0 )
|
2021-04-08 20:58:04 +00:00
|
|
|
4/occluder = SubResource( 2 )
|
2021-04-05 20:59:49 +00:00
|
|
|
4/navigation_offset = Vector2( 0, 0 )
|
|
|
|
4/shape_offset = Vector2( 0, 0 )
|
|
|
|
4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
2021-04-08 20:58:04 +00:00
|
|
|
4/shape = SubResource( 3 )
|
2021-04-05 20:59:49 +00:00
|
|
|
4/shape_one_way = false
|
|
|
|
4/shape_one_way_margin = 1.0
|
|
|
|
4/shapes = [ {
|
|
|
|
"autotile_coord": Vector2( 0, 0 ),
|
|
|
|
"one_way": false,
|
|
|
|
"one_way_margin": 1.0,
|
2021-04-08 20:58:04 +00:00
|
|
|
"shape": SubResource( 3 ),
|
2021-04-05 20:59:49 +00:00
|
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
} ]
|
|
|
|
4/z_index = 0
|
|
|
|
5/name = "interaction_map.png 5"
|
|
|
|
5/texture = ExtResource( 18 )
|
|
|
|
5/tex_offset = Vector2( 0, 0 )
|
|
|
|
5/modulate = Color( 1, 1, 1, 1 )
|
|
|
|
5/region = Rect2( 160, 64, 32, 32 )
|
|
|
|
5/tile_mode = 0
|
|
|
|
5/occluder_offset = Vector2( 0, 0 )
|
|
|
|
5/navigation_offset = Vector2( 0, 0 )
|
|
|
|
5/shape_offset = Vector2( 0, 0 )
|
|
|
|
5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
5/shape_one_way = false
|
|
|
|
5/shape_one_way_margin = 0.0
|
|
|
|
5/shapes = [ ]
|
|
|
|
5/z_index = 0
|
|
|
|
6/name = "interaction_map.png 6"
|
|
|
|
6/texture = ExtResource( 18 )
|
|
|
|
6/tex_offset = Vector2( 0, 0 )
|
|
|
|
6/modulate = Color( 1, 1, 1, 1 )
|
|
|
|
6/region = Rect2( 192, 64, 32, 32 )
|
|
|
|
6/tile_mode = 0
|
|
|
|
6/occluder_offset = Vector2( 0, 0 )
|
|
|
|
6/navigation_offset = Vector2( 0, 0 )
|
|
|
|
6/shape_offset = Vector2( 0, 0 )
|
|
|
|
6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
|
|
6/shape_one_way = false
|
|
|
|
6/shape_one_way_margin = 0.0
|
|
|
|
6/shapes = [ ]
|
|
|
|
6/z_index = 0
|
2021-04-02 21:24:35 +00:00
|
|
|
|
2021-04-08 20:58:04 +00:00
|
|
|
[sub_resource type="CapsuleShape2D" id=5]
|
2020-08-31 07:35:52 +00:00
|
|
|
radius = 20.0
|
2020-08-29 14:36:49 +00:00
|
|
|
|
2021-04-08 20:58:04 +00:00
|
|
|
[sub_resource type="CircleShape2D" id=6]
|
2020-09-24 19:34:34 +00:00
|
|
|
|
2020-09-21 18:45:28 +00:00
|
|
|
[node name="Map1" type="Node2D"]
|
2020-08-29 14:36:49 +00:00
|
|
|
|
|
|
|
[node name="background" type="TileMap" parent="."]
|
2021-08-26 14:52:21 +00:00
|
|
|
tile_set = ExtResource( 3 )
|
2020-08-29 14:36:49 +00:00
|
|
|
cell_size = Vector2( 32, 32 )
|
|
|
|
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
|
|
|
format = 1
|
2021-04-08 19:18:46 +00:00
|
|
|
tile_data = PoolIntArray( 0, 0, 39, 1, 0, 39, 2, 0, 39, 3, 0, 39, 4, 0, 39, 5, 0, 39, 6, 0, 39, 7, 0, 39, 8, 0, 39, 9, 0, 39, 10, 0, 39, 11, 0, 22, 12, 0, 43, 13, 0, 44, 14, 0, 42, 15, 0, 42, 16, 0, 43, 17, 0, 44, 18, 0, 69, 19, 0, 9, 20, 0, 11, 21, 0, 11, 22, 0, 11, 23, 0, 11, 24, 0, 11, 25, 0, 9, 26, 0, 9, 27, 0, 9, 28, 0, 11, 29, 0, 11, 30, 0, 10, 31, 0, 9, 32, 0, 9, 33, 0, 9, 34, 0, 9, 35, 0, 11, 36, 0, 9, 37, 0, 10, 38, 0, 10, 39, 0, 9, 40, 0, 9, 41, 0, 9, 42, 0, 11, 43, 0, 11, 44, 0, 10, 45, 0, 10, 46, 0, 9, 47, 0, 9, 48, 0, 10, 49, 0, 9, 50, 0, 10, 51, 0, 9, 52, 0, 10, 53, 0, 9, 54, 0, 11, 55, 0, 11, 56, 0, 9, 57, 0, 10, 58, 0, 9, 59, 0, 9, 60, 0, 11, 61, 0, 10, 62, 0, 11, 63, 0, 10, 64, 0, 10, 65, 0, 9, 66, 0, 10, 67, 0, 10, 68, 0, 10, 69, 0, 10, 70, 0, 9, 71, 0, 10, 72, 0, 10, 73, 0, 11, 74, 0, 9, 75, 0, 9, 76, 0, 9, 77, 0, 11, 78, 0, 11, 79, 0, 9, 80, 0, 9, 81, 0, 11, 82, 0, 10, 83, 0, 10, 84, 0, 10, 85, 0, 9, 86, 0, 9, 87, 0, 9, 88, 0, 9, 89, 0, 10, 90, 0, 11, 91, 0, 9, 92, 0, 11, 93, 0, 9, 94, 0, 10, 95, 0, 11, 96, 0, 9, 97, 0, 10, 98, 0, 10, 99, 0, 10, 100, 0, 9, 101, 0, 9, 102, 0, 10, 103, 0, 10, 104, 0, 10, 105, 0, 11, 106, 0, 11, 107, 0, 10, 108, 0, 9, 109, 0, 9, 110, 0, 10, 111, 0, 11, 112, 0, 9, 113, 0, 10, 114, 0, 10, 115, 0, 10, 116, 0, 11, 117, 0, 9, 118, 0, 10, 119, 0, 11, 120, 0, 9, 121, 0, 10, 122, 0, 9, 123, 0, 10, 124, 0, 10, 125, 0, 10, 126, 0, 11, 127, 0, 11, 128, 0, 10, 129, 0, 9, 130, 0, 10, 131, 0, 9, 132, 0, 11, 133, 0, 9, 134, 0, 9, 135, 0, 10, 136, 0, 10, 137, 0, 9, 138, 0, 9, 139, 0, 10, 140, 0, 9, 141, 0, 9, 142, 0, 11, 143, 0, 11, 144, 0, 11, 145, 0, 9, 146, 0, 9, 147, 0, 11, 148, 0, 10, 149, 0, 11, 65536, 0, 39, 65537, 0, 39, 65538, 0, 39, 65539, 0, 39, 65540, 0, 41, 65541, 0, 39, 65542, 0, 40, 65543, 0, 39, 65544, 0, 39, 65545, 0, 39, 65546, 0, 39, 65547, 0, 39, 65548, 0, 22, 65549, 0, 42, 65550, 0, 42, 65551, 0, 44, 65552, 0, 42, 65553, 0, 42, 65554, 0, 44, 65555, 0, 70, 65556, 0, 9, 65557, 0, 11, 65558, 0, 10, 65559, 0, 11, 65560, 0, 11, 65561, 0, 11, 65562, 0, 10, 65563, 0, 9, 65564, 0, 9, 65565, 0, 10, 65566, 0, 10, 65567, 0, 11, 65568, 0, 11, 65569, 0, 10, 65570, 0, 9, 65571, 0, 9, 65572, 0, 9, 65573, 0, 11, 65574, 0, 11, 65575, 0, 10, 65576, 0, 11, 65577, 0, 10, 65578, 0, 9, 65579, 0, 9, 65580, 0, 11, 65581, 0, 10, 65582, 0, 10, 65583, 0, 9, 65584, 0, 11, 65585, 0, 9, 65586, 0, 10, 65587, 0, 9, 65588, 0, 11, 65589, 0, 11, 65590, 0, 11, 65591, 0, 10, 65592, 0, 11, 65593, 0, 9, 65594, 0, 9, 65595, 0, 9, 65596, 0, 9, 65597, 0, 10, 65598, 0, 9, 65599, 0, 10, 65600, 0, 9, 65601, 0, 9, 65602, 0, 9, 65603, 0, 10, 65604, 0, 11, 65605, 0, 9, 65606, 0, 10, 65607, 0, 9, 65608, 0, 9, 65609, 0, 10, 65610, 0, 11, 65611, 0, 10, 65612, 0, 11, 65613, 0, 10, 65614, 0, 11, 65615, 0, 9, 65616, 0, 9, 65617, 0, 9, 65618, 0, 10, 65619, 0, 9, 65620, 0, 9, 65621, 0, 9, 65622, 0, 11, 65623, 0, 11, 65624, 0, 10, 65625, 0, 9, 65626, 0, 9, 65627, 0, 10, 65628, 0, 11, 65629, 0, 9, 65630, 0, 11, 65631, 0, 9, 65632, 0, 10, 65633, 0, 9, 65634, 0, 11, 65635, 0, 9, 65636, 0, 10, 65637, 0, 9, 65638, 0, 10, 65639, 0, 11, 65640, 0, 9, 65641, 0, 9, 65642, 0, 9, 65643, 0, 9, 65644, 0, 9, 65645, 0, 10, 65646, 0, 10, 65647, 0, 10, 65648, 0, 11, 65649, 0, 10, 65650, 0, 11, 65651, 0, 10, 65652, 0, 11, 65653, 0, 10, 65654, 0, 9, 65655, 0, 11, 65656, 0, 9, 65657, 0, 9, 65658, 0, 11, 65659, 0, 10, 65660, 0, 10, 65661, 0, 10, 65662, 0, 10, 65663, 0, 9, 65664, 0, 10, 65665, 0, 9, 65666, 0, 11, 65667, 0, 11, 65668, 0, 11, 65669, 0, 9, 65670, 0, 9, 65671, 0, 11, 65672, 0, 9, 65673, 0, 10, 65674, 0, 9, 65675, 0, 11, 65676, 0, 9, 65677, 0, 10, 65678, 0, 9, 65679, 0, 11, 65680, 0, 10, 65681, 0, 9, 65682, 0, 10, 65683, 0, 9, 65684, 0, 9, 65685, 0, 10, 131072, 0, 39, 131073, 0, 39, 131074, 0, 41, 131075, 0, 39, 131076, 0, 39, 131077, 0, 39, 131078, 0, 41, 131079, 0, 40, 131080, 0, 39, 131081, 0, 39, 131082, 0, 39, 131083, 0, 39, 131084, 0, 39, 131085, 0, 26, 131086, 0, 44, 131087, 0, 44, 131088, 0, 42, 131089, 0, 44, 131090, 0, 42, 131091, 0, 43, 131092, 0, 70, 131093, 0, 11, 131094, 0, 10, 131095, 0, 10, 131096, 0, 11, 131097, 0,
|
2020-09-24 19:34:34 +00:00
|
|
|
script = ExtResource( 17 )
|
2020-08-29 14:36:49 +00:00
|
|
|
|
2021-04-02 21:24:35 +00:00
|
|
|
[node name="vegetation" type="TileMap" parent="."]
|
|
|
|
tile_set = SubResource( 1 )
|
|
|
|
cell_size = Vector2( 32, 32 )
|
|
|
|
format = 1
|
2023-03-25 20:42:54 +00:00
|
|
|
tile_data = PackedInt32Array( 1179654, 0, 8, 1179655, 0, 0, 1245190, 0, 4, 1245191, 0, 5, 2097157, 0, 2, 2097158, 0, 7, 2097159, 0, 5, 2097160, 0, 1, 2162693, 0, 7, 2162694, 0, 6, 2162695, 0, 1, 2162696, 0, 7, 2162697, 0, 3, 2162698, 0, 4, 2162699, 0, 3, 2162700, 0, 7, 2162701, 0, 8, 2162702, 0, 5, 2228227, 0, 7, 2228228, 0, 4, 2228229, 0, 4, 2228230, 0, 0, 2228231, 0, 2, 2228232, 0, 7, 2228233, 0, 7, 2228234, 0, 8, 2228235, 0, 1, 2228236, 0, 4, 2228237, 0, 2, 2228238, 0, 1, 2228239, 0, 4, 2293763, 0, 5, 2293764, 0, 0, 2293765, 0, 2, 2293767, 0, 5, 2293768, 0, 4, 2293769, 0, 1, 2293770, 0, 8, 2293771, 0, 2, 2293772, 0, 6, 2293773, 0, 4, 2293774, 0, 3, 2293775, 0, 3, 2359299, 0, 6, 2359300, 0, 4, 2359301, 0, 3, 2359302, 0, 3, 2359303, 0, 6, 2359304, 0, 3, 2359305, 0, 8, 2359306, 0, 7, 2359307, 0, 1, 2359308, 0, 4, 2359309, 0, 2, 2359310, 0, 3, 2359311, 0, 0, 2359312, 0, 0, 2424835, 0, 0, 2424836, 0, 3, 2424837, 0, 5, 2424838, 0, 3, 2424839, 0, 5, 2424840, 0, 4, 2424841, 0, 1, 2424842, 0, 0, 2424843, 0, 1, 2424844, 0, 0, 2424845, 0, 6, 2424846, 0, 7, 2424847, 0, 8, 2424848, 0, 1, 2424849, 0, 3, 2490371, 0, 7, 2490372, 0, 5, 2490373, 0, 5, 2490375, 0, 4, 2490376, 0, 1, 2490377, 0, 5, 2490378, 0, 1, 2490379, 0, 1, 2490380, 0, 3, 2490381, 0, 4, 2490382, 0, 6, 2490383, 0, 4, 2490384, 0, 0, 2490385, 0, 1, 2555907, 0, 6, 2555908, 0, 0, 2555909, 0, 4, 2555910, 0, 0, 2555911, 0, 2, 2555912, 0, 2, 2555913, 0, 8, 2555914, 0, 2, 2555915, 0, 0, 2555916, 0, 6, 2555917, 0, 4, 2555918, 0, 1, 2555919, 0, 2, 2555920, 0, 6, 2555921, 0, 2, 2555922, 0, 8, 2621443, 0, 2, 2621444, 0, 8, 2621445, 0, 7, 2621446, 0, 0, 2621447, 0, 8, 2621448, 0, 8, 2621449, 0, 7, 2621450, 0, 0, 2621451, 0, 6, 2621452, 0, 6, 2621453, 0, 2, 2621454, 0, 5, 2621455, 0, 8, 2621456, 0, 7, 2621457, 0, 0, 2621458, 0, 8, 2621459, 0, 5, 2686980, 0, 3, 2686981, 0, 6, 2686982, 0, 1, 2686983, 0, 4, 2686984, 0, 0, 2686985, 0, 6, 2686986, 0, 5, 2686987, 0, 4, 2686988, 0, 1, 2686989, 0, 2, 2686990, 0, 8, 2686991, 0, 8, 2686992, 0, 8, 2686993, 0, 8, 2686994, 0, 4, 2752517, 0, 1, 2752518, 0, 4, 2752519, 0, 6, 2752520, 0, 8, 2752521, 0, 2, 2752522, 0, 6, 2752523, 0, 2, 2752524, 0, 8, 2752525, 0, 5, 2752526, 0, 8 )
|
2021-04-02 21:24:35 +00:00
|
|
|
|
2020-10-03 12:13:19 +00:00
|
|
|
[node name="interaction_map" type="TileMap" parent="."]
|
2021-04-08 20:58:04 +00:00
|
|
|
tile_set = SubResource( 4 )
|
2020-08-29 14:36:49 +00:00
|
|
|
cell_size = Vector2( 32, 32 )
|
|
|
|
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
2021-04-05 20:59:49 +00:00
|
|
|
centered_textures = true
|
2020-08-29 14:36:49 +00:00
|
|
|
format = 1
|
2023-03-25 20:42:54 +00:00
|
|
|
tile_data = PackedInt32Array( 2293767, 4, 0, 2293773, 2, 0, 2359308, 2, 0, 2359309, 2, 0, 2359310, 2, 0, 2424844, 2, 0, 2424845, 2, 0, 2490381, 2, 0, 2752538, 6, 0 )
|
2020-08-29 14:36:49 +00:00
|
|
|
|
2020-10-03 12:49:11 +00:00
|
|
|
[node name="player_interaction" type="TileMap" parent="."]
|
2021-08-26 14:52:21 +00:00
|
|
|
tile_set = ExtResource( 2 )
|
2020-10-03 12:49:11 +00:00
|
|
|
cell_size = Vector2( 32, 32 )
|
|
|
|
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
|
|
|
format = 1
|
2023-03-25 20:42:54 +00:00
|
|
|
tile_data = PackedInt32Array( 9371749, 0, 0 )
|
2020-10-03 12:49:11 +00:00
|
|
|
|
2020-09-21 18:45:28 +00:00
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
position = Vector2( 705.297, 1197.88 )
|
2020-08-29 14:36:49 +00:00
|
|
|
current = true
|
2020-08-31 07:35:52 +00:00
|
|
|
limit_left = 0
|
|
|
|
limit_top = 0
|
|
|
|
limit_right = 4800
|
|
|
|
limit_bottom = 4800
|
2021-08-26 14:52:21 +00:00
|
|
|
script = ExtResource( 14 )
|
2020-08-29 14:36:49 +00:00
|
|
|
|
2020-09-21 18:45:28 +00:00
|
|
|
[node name="Interactive" type="Node2D" parent="Camera2D"]
|
|
|
|
position = Vector2( -705.297, -1197.88 )
|
2020-08-29 14:36:49 +00:00
|
|
|
|
2020-09-21 18:45:28 +00:00
|
|
|
[node name="MiscButtons" type="TouchScreenButton" parent="Camera2D/Interactive"]
|
2020-10-06 12:05:40 +00:00
|
|
|
visible = false
|
2020-09-26 19:52:06 +00:00
|
|
|
position = Vector2( 272.559, 948.524 )
|
|
|
|
scale = Vector2( 13.402, 62.475 )
|
2020-08-31 07:35:52 +00:00
|
|
|
z_index = 12
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 10 )
|
2020-08-31 07:35:52 +00:00
|
|
|
action = "ui_end"
|
2021-08-26 14:52:21 +00:00
|
|
|
script = ExtResource( 2 )
|
2020-10-06 12:05:40 +00:00
|
|
|
|
2020-10-03 12:13:19 +00:00
|
|
|
[node name="GameButtons" type="Node2D" parent="Camera2D/Interactive"]
|
2020-08-31 07:35:52 +00:00
|
|
|
|
2020-10-03 12:13:19 +00:00
|
|
|
[node name="Inventory" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
2021-04-02 21:24:35 +00:00
|
|
|
position = Vector2( 91.7642, 898.314 )
|
2020-10-03 12:13:19 +00:00
|
|
|
scale = Vector2( 1.23042, 1.11552 )
|
2020-08-31 07:35:52 +00:00
|
|
|
z_index = 13
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 13 )
|
2020-10-03 12:13:19 +00:00
|
|
|
action = "inventory_button"
|
2020-08-31 07:35:52 +00:00
|
|
|
|
2020-10-03 12:13:19 +00:00
|
|
|
[node name="Crafting" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
|
|
|
position = Vector2( 1184.49, 1376.73 )
|
|
|
|
scale = Vector2( 1.23051, 1.07731 )
|
2020-08-31 07:35:52 +00:00
|
|
|
z_index = 13
|
|
|
|
normal = ExtResource( 12 )
|
|
|
|
|
2020-10-03 12:13:19 +00:00
|
|
|
[node name="Settings" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
2021-04-02 21:24:35 +00:00
|
|
|
position = Vector2( 1319.96, 1020.83 )
|
2020-10-03 12:13:19 +00:00
|
|
|
rotation = -3.14158
|
|
|
|
scale = Vector2( 1.22003, 1.11562 )
|
2020-08-31 07:35:52 +00:00
|
|
|
z_index = 13
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 9 )
|
2020-08-31 07:35:52 +00:00
|
|
|
|
2020-10-03 12:13:19 +00:00
|
|
|
[node name="Map" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
|
|
|
position = Vector2( 88.136, 1376.12 )
|
|
|
|
scale = Vector2( 1.21844, 1.10424 )
|
2020-08-31 07:35:52 +00:00
|
|
|
z_index = 13
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 8 )
|
2020-08-31 07:35:52 +00:00
|
|
|
|
2020-10-03 12:13:19 +00:00
|
|
|
[node name="QuickItems" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
|
|
|
visible = false
|
|
|
|
position = Vector2( 1130.11, 1096.88 )
|
|
|
|
scale = Vector2( 1.73434, 1.80493 )
|
2020-08-31 07:35:52 +00:00
|
|
|
z_index = 13
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 11 )
|
2020-08-31 07:35:52 +00:00
|
|
|
|
2021-04-03 14:06:23 +00:00
|
|
|
[node name="MoveDown" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
|
|
|
position = Vector2( 224.332, 1376.07 )
|
2020-10-03 12:13:19 +00:00
|
|
|
scale = Vector2( 14.9928, 14.9987 )
|
2020-09-21 18:45:28 +00:00
|
|
|
z_index = 11
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 10 )
|
|
|
|
pressed = ExtResource( 7 )
|
2020-09-21 21:13:11 +00:00
|
|
|
shape_centered = false
|
2020-09-21 18:45:28 +00:00
|
|
|
action = "move_down"
|
2020-09-21 21:13:11 +00:00
|
|
|
visibility_mode = 1
|
2021-08-26 14:52:21 +00:00
|
|
|
script = ExtResource( 16 )
|
2020-09-21 18:45:28 +00:00
|
|
|
|
2021-04-03 14:06:23 +00:00
|
|
|
[node name="MoveRight" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
|
|
|
position = Vector2( 1183.87, 1024.23 )
|
2020-10-03 12:13:19 +00:00
|
|
|
scale = Vector2( 16.7497, 5.49206 )
|
2020-09-21 18:45:28 +00:00
|
|
|
z_index = 11
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 5 )
|
|
|
|
pressed = ExtResource( 6 )
|
2020-09-21 18:45:28 +00:00
|
|
|
action = "move_right"
|
2020-09-21 21:13:11 +00:00
|
|
|
visibility_mode = 1
|
2021-08-26 14:52:21 +00:00
|
|
|
script = ExtResource( 16 )
|
2020-09-21 21:13:11 +00:00
|
|
|
|
2021-04-03 14:06:23 +00:00
|
|
|
[node name="MoveUp" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
|
|
|
position = Vector2( 224.361, 899.343 )
|
2020-10-03 12:13:19 +00:00
|
|
|
scale = Vector2( 14.9907, 15.5676 )
|
2020-09-21 21:13:11 +00:00
|
|
|
z_index = 11
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 10 )
|
|
|
|
pressed = ExtResource( 7 )
|
2020-09-21 21:13:11 +00:00
|
|
|
action = "move_up"
|
|
|
|
visibility_mode = 1
|
2021-08-26 14:52:21 +00:00
|
|
|
script = ExtResource( 16 )
|
2020-09-21 18:45:28 +00:00
|
|
|
|
2021-04-03 14:06:23 +00:00
|
|
|
[node name="MoveLeft" type="TouchScreenButton" parent="Camera2D/Interactive/GameButtons"]
|
|
|
|
position = Vector2( 89.342, 1022.54 )
|
2020-10-03 12:13:19 +00:00
|
|
|
scale = Vector2( 16.8861, 5.52137 )
|
2020-09-21 18:45:28 +00:00
|
|
|
z_index = 11
|
2020-09-21 21:13:11 +00:00
|
|
|
z_as_relative = false
|
2021-08-26 14:52:21 +00:00
|
|
|
normal = ExtResource( 5 )
|
|
|
|
pressed = ExtResource( 6 )
|
2020-09-21 21:13:11 +00:00
|
|
|
shape_centered = false
|
2020-09-21 18:45:28 +00:00
|
|
|
action = "move_left"
|
2020-09-21 21:13:11 +00:00
|
|
|
visibility_mode = 1
|
2021-08-26 14:52:21 +00:00
|
|
|
script = ExtResource( 16 )
|
2020-09-21 18:45:28 +00:00
|
|
|
|
2021-04-03 14:06:23 +00:00
|
|
|
[node name="dev_statistics" type="MarginContainer" parent="Camera2D"]
|
2021-05-28 21:41:35 +00:00
|
|
|
visible = false
|
2023-03-25 20:42:54 +00:00
|
|
|
offset_left = -615.0
|
|
|
|
offset_top = -300.0
|
|
|
|
offset_right = 614.0
|
|
|
|
offset_bottom = 297.0
|
2021-04-03 14:06:23 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="fps_stats" type="Label" parent="Camera2D/dev_statistics"]
|
2023-03-25 20:42:54 +00:00
|
|
|
offset_top = 291.0
|
|
|
|
offset_right = 1229.0
|
|
|
|
offset_bottom = 305.0
|
2021-04-03 14:06:23 +00:00
|
|
|
|
2023-03-25 20:42:54 +00:00
|
|
|
[node name="Player" type="CharacterBody2D" parent="."]
|
2020-09-21 21:13:11 +00:00
|
|
|
position = Vector2( 700, 1200 )
|
2021-08-26 14:52:21 +00:00
|
|
|
script = ExtResource( 15 )
|
2020-09-21 21:13:11 +00:00
|
|
|
|
2023-03-25 20:42:54 +00:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Player"]
|
2021-08-26 14:52:21 +00:00
|
|
|
texture = ExtResource( 1 )
|
2020-09-21 21:13:11 +00:00
|
|
|
flip_h = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
|
2021-04-08 20:58:04 +00:00
|
|
|
shape = SubResource( 5 )
|
2020-09-21 21:13:11 +00:00
|
|
|
one_way_collision_margin = 96.0
|
2020-09-21 13:18:10 +00:00
|
|
|
|
2020-10-02 20:55:51 +00:00
|
|
|
[node name="MapInteraction" type="TouchScreenButton" parent="Player/CollisionShape2D"]
|
2020-09-24 19:34:34 +00:00
|
|
|
show_behind_parent = true
|
|
|
|
position = Vector2( -150, -150 )
|
|
|
|
scale = Vector2( 15, 15 )
|
|
|
|
z_index = 11
|
2021-04-08 20:58:04 +00:00
|
|
|
shape = SubResource( 6 )
|
2020-09-24 19:34:34 +00:00
|
|
|
action = "map_interaction"
|
|
|
|
|
2020-09-21 18:45:28 +00:00
|
|
|
[node name="Tween" type="Tween" parent="."]
|
2020-10-06 13:19:38 +00:00
|
|
|
[connection signal="pressed" from="Camera2D/Interactive/GameButtons/Inventory" to="background" method="_on_Inventory_pressed"]
|
2021-05-28 21:41:35 +00:00
|
|
|
[connection signal="pressed" from="Camera2D/Interactive/GameButtons/Inventory" to="Player" method="_on_Inventory_pressed"]
|
2021-04-03 14:06:23 +00:00
|
|
|
[connection signal="pressed" from="Camera2D/Interactive/GameButtons/MoveDown" to="Player" method="_on_TouchScreenButton_pressed"]
|
|
|
|
[connection signal="pressed" from="Camera2D/Interactive/GameButtons/MoveRight" to="Player" method="_on_TouchScreenButton_pressed"]
|
|
|
|
[connection signal="pressed" from="Camera2D/Interactive/GameButtons/MoveUp" to="Player" method="_on_TouchScreenButton_pressed"]
|
2020-10-02 20:55:51 +00:00
|
|
|
[connection signal="released" from="Player/CollisionShape2D/MapInteraction" to="Player" method="_interaction_process"]
|
2023-03-25 20:42:54 +00:00
|
|
|
[connection signal="finished" from="Tween" to="Camera2D" method="_on_Tween_tween_completed"]
|