Compare commits

...

2 Commits

Author SHA1 Message Date
66f09fb6eb Merge pull request 'hihihihihihihihihihihihi' (#7) from add-basic-movement into main
Reviewed-on: #7
Reviewed-by: ysandler <accounts@tzed.io>
2025-02-16 15:42:01 -06:00
2cdd7f876a hihihihihihihihihihihihi 2025-02-16 15:37:46 -06:00
13 changed files with 1332 additions and 29 deletions

202
Tiles/DecorationTiles.tres Normal file
View File

@ -0,0 +1,202 @@
[gd_resource type="TileSet" load_steps=23 format=3 uid="uid://dhvdxnaebu01n"]
[ext_resource type="Texture2D" uid="uid://c05yfrb2sdq4t" path="res://Tiles/Overworld.png" id="1_5wwyr"]
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_cq1jw"]
polygon = PackedVector2Array(-7, -2, -7, 2, -7, 3, -6, 3, -6, 5, -7, 5, -7, 7, -7, 8, 7, 8, 7, 5, 6, 5, 6, 3, 7, 3, 7, -2, 6, -2, 6, -4, 5, -4, 5, -5, 4, -5, 4, -6, 3, -6, 3, -7, 1, -7, 1, -6, 0, -6, 0, -7, -2, -7, -2, -6, -4, -6, -4, -5, -5, -5, -5, -4, -6, -4, -6, -2)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_jfaap"]
polygon = PackedVector2Array(-7, 2, -7, -2, -6, -2, -6, -3, -6, -5, -7, -5, -7, -7, -7, -8, 7, -8, 7, -5, 6, -5, 6, -3, 7, -3, 7, 2, 6, 2, 6, 4, 5, 4, 5, 5, 4, 5, 4, 6, 3, 6, 3, 7, 1, 7, 1, 6, 0, 6, 0, 7, -2, 7, -2, 6, -4, 6, -4, 5, -5, 5, -5, 4, -6, 4, -6, 2)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_m0vkj"]
polygon = PackedVector2Array(-2, -7, 0, -7, 0, -6, 1, -6, 1, -7, 3, -7, 3, -6, 5, -6, 6, -6, 6, -7, 8, -7, 8, 7, 5, 7, 5, 6, 3, 6, 3, 7, -2, 7, -2, 6, -4, 6, -4, 5, -5, 5, -5, 4, -6, 4, -6, 3, -7, 3, -7, -2, -6, -2, -6, -4, -5, -4, -5, -5, -4, -5, -4, -6, -2, -6)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_06xyp"]
polygon = PackedVector2Array(-8, -9, -6, -9, -6, -8, -5, -8, -5, -7, -2, -7, -2, -9, -1, -9, -1, -11, 0, -11, 0, -14, -1, -14, -1, -15, -4, -15, -4, -14, -5, -14, -5, -12, -8, -12)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_0f87k"]
polygon = PackedVector2Array(-8, 6, -5, 6, -5, 4, -4, 4, -4, 3, -1, 3, -1, 4, 0, 4, 0, 7, -1, 7, -1, 9, -2, 9, -2, 11, -5, 11, -5, 10, -6, 10, -6, 9, -8, 9)
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_13saf"]
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_kpycy"]
polygon = PackedVector2Array(7, 8, -7, 8, -7, 7, -6, 7, -6, 3, -7, 3, -7, -2, -6, -2, -6, -4, -5, -4, -5, -5, -4, -5, -4, -6, -2, -6, -2, -7, 0, -7, 0, -6, 1, -6, 1, -7, 3, -7, 3, -6, 6, -6, 6, -7, 8, -7, 8, 7, 7, 7)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_jm1jl"]
polygon = PackedVector2Array(-7, 8, -7, 7, -6, 7, -6, 3, -7, 3, -7, -2, -6, -2, -6, -4, -7, -4, -7, -8, 7, -8, 7, -4, 6, -4, 6, -2, 7, -2, 7, 3, 6, 3, 6, 7, 7, 7, 7, 8)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_yvtpo"]
polygon = PackedVector2Array(8, 6, 5, 6, 5, 5, 3, 5, 3, 6, -3, 6, -3, 5, -4, 5, -5, 5, -5, 4, -6, 4, -6, 2, -7, 2, -7, -3, -6, -3, -6, -4, -7, -4, -7, -8, 8, -8)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_sml0v"]
polygon = PackedVector2Array(1, -6, 0, -6, 0, -7, -2, -7, -3, -6, -5, -6, -5, -7, -6, -7, -7, -7, -7, -6, -8, -6, -8, 7, -5, 7, -5, 6, -3, 6, -3, 7, 0, 7, 2, 7, 3, 7, 3, 6, 5, 6, 5, 5, 6, 5, 6, 3, 7, 3, 7, -2, 6, -2, 6, -4, 5, -4, 5, -5, 4, -5, 4, -6, 3, -6, 3, -7, 1, -7)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_yc5g4"]
polygon = PackedVector2Array(-8, -6, -7, -6, -7, -7, -5, -7, -5, -6, -2, -6, -2, -7, 0, -7, 0, -6, 1, -6, 1, -7, 3, -7, 3, -6, 6, -6, 6, -7, 8, -7, 8, 7, 5, 7, 5, 6, 3, 6, 3, 7, -3, 7, -3, 6, -5, 6, -5, 7, -8, 7)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_vlvea"]
polygon = PackedVector2Array(-7, 3, -7, -2, -6, -2, -6, -4, -5, -4, -5, -5, -4, -5, -4, -6, -2, -6, -2, -7, 0, -7, 0, -6, 1, -6, 1, -7, 3, -7, 3, -6, 4, -6, 4, -5, 5, -5, 5, -4, 6, -4, 6, -2, 7, -2, 7, 3, 6, 3, 6, 4, 6, 5, 5, 5, 5, 6, 3, 6, 3, 7, -3, 7, -3, 6, -5, 6, -5, 5, -6, 5, -6, 3)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_oyp7w"]
polygon = PackedVector2Array(-8, 6, -5, 6, -5, 5, -3, 5, -3, 6, 3, 6, 3, 5, 5, 5, 5, 6, 8, 6, 8, -8, 6, -8, 6, -7, 3, -7, 3, -8, 1, -8, 1, -7, 0, -7, 0, -8, -2, -8, -2, -7, -5, -7, -5, -8, -7, -8, -7, -7, -8, -7)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_e2fhd"]
polygon = PackedVector2Array(-8, -6, -7, -6, -7, -7, -6, -7, -5, -7, -5, -6, -2, -6, -2, -7, 0, -7, 0, -6, 1, -6, 1, -7, 3, -7, 3, -6, 4, -6, 4, -5, 5, -5, 5, -4, 6, -4, 6, -2, 7, -2, 7, 3, 6, 3, 6, 7, 7, 7, 7, 8, -7, 8, -7, 7, -8, 7)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_87nv7"]
polygon = PackedVector2Array(7, 8, 7, 7, 6, 7, 6, 3, 7, 3, 7, -2, 6, -2, 6, -4, 7, -4, 7, -8, -7, -8, -7, -4, -6, -4, -6, -2, -7, -2, -7, 3, -6, 3, -6, 7, -7, 7, -7, 8)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_c1eod"]
polygon = PackedVector2Array(-8, 6, -5, 6, -5, 5, -3, 5, -3, 6, 3, 6, 3, 5, 5, 5, 5, 4, 5, 4, 6, 4, 6, 2, 7, 2, 7, -3, 6, -3, 6, -4, 7, -4, 7, -8, -7, -8, -7, -7, -8, -7)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_mfvbg"]
polygon = PackedVector2Array(8, -9, 6, -9, 6, -8, 5, -8, 5, -7, 2, -7, 2, -9, 1, -9, 1, -11, 0, -11, 0, -14, 1, -14, 1, -15, 4, -15, 4, -14, 5, -14, 5, -12, 8, -12)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_jrxlk"]
polygon = PackedVector2Array(8, 6, 7, 6, 5, 6, 5, 4, 4, 4, 4, 3, 1, 3, 1, 4, 0, 4, 0, 7, 1, 7, 1, 9, 2, 9, 2, 11, 5, 11, 5, 10, 6, 10, 6, 9, 8, 9)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_qurtj"]
polygon = PackedVector2Array(-8, -9, 8, -9, 8, -12, -8, -12)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_cah13"]
polygon = PackedVector2Array(-8, 6, 8, 6, 8, 9, -8, 9)
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_n4nyx"]
texture = ExtResource("1_5wwyr")
1:13/0 = 0
1:13/0/material = SubResource("CanvasItemMaterial_13saf")
1:13/0/terrain_set = 0
1:13/0/terrain = 0
1:13/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_kpycy")
1:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, -2, -6, -4, -4, -6, -2, -7, 8, -7, 8, 8, -7, 8)
1:13/0/terrains_peering_bit/right_side = 0
1:13/0/terrains_peering_bit/bottom_side = 0
3:13/0 = 0
3:13/0/terrain_set = 0
3:13/0/terrain = 0
3:13/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_e2fhd")
3:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -7, 3, -7, 4, -6, 5, -5, 6, -4, 6, -3, 7, -2, 7, 8, -8, 8)
3:13/0/terrains_peering_bit/bottom_side = 0
3:13/0/terrains_peering_bit/left_side = 0
3:14/0 = 0
3:14/0/terrain_set = 0
3:14/0/terrain = 0
3:14/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_87nv7")
3:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, -8, 7, -8, 7, 8, -7, 8)
3:14/0/terrains_peering_bit/bottom_side = 0
3:14/0/terrains_peering_bit/top_side = 0
3:15/0 = 0
3:15/0/terrain_set = 0
3:15/0/terrain = 0
3:15/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_c1eod")
3:15/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 7, -8, 7, 2.05503, 6, 5, 3.0494, 6, -8, 6)
3:15/0/terrains_peering_bit/left_side = 0
3:15/0/terrains_peering_bit/top_side = 0
2:15/0 = 0
2:15/0/terrain_set = 0
2:15/0/terrain = 0
2:15/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_oyp7w")
2:15/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 6, -8, 6)
2:15/0/terrains_peering_bit/right_side = 0
2:15/0/terrains_peering_bit/left_side = 0
1:15/0 = 0
1:15/0/terrain_set = 0
1:15/0/terrain = 0
1:15/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_yvtpo")
1:15/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, -8, 8, -8, 8, 6, -3, 6, -6, 5, -7, 2.32019)
1:15/0/terrains_peering_bit/right_side = 0
1:15/0/terrains_peering_bit/top_side = 0
1:14/0 = 0
1:14/0/terrain_set = 0
1:14/0/terrain = 0
1:14/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_jm1jl")
1:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, -8, 7, -8, 7, 8, -7, 8)
1:14/0/terrains_peering_bit/bottom_side = 0
1:14/0/terrains_peering_bit/top_side = 0
2:14/0 = 0
2:14/0/terrain_set = 0
2:14/0/terrain = 0
2:14/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_vlvea")
2:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-5, -5, -3, -7, 4, -7, 6, -4, 7, 1, 6, 5, 3, 7, -3, 7, -6, 5, -7, 1, -7, -3)
5:8/0 = 0
6:8/0 = 0
7:8/0 = 0
7:7/0 = 0
7:6/0 = 0
6:6/0 = 0
5:6/0 = 0
5:7/0 = 0
5:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(1, 4.875, 8, 5.125, 7.5, 10.375, 0.75, 11.5)
5:7/0/physics_layer_0/polygon_1/points = PackedVector2Array(2, -8, 7.125, -8, 7.625, -9.375, 7.75, -12.625, 6.375, -13.75, 2.625, -15.875, 0.5, -15.75, -0.125, -14.375, -0.375, -11.375, 0.5, -9.875)
6:7/0 = 0
1:16/0 = 0
1:16/0/terrain_set = 0
1:16/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_sml0v")
1:16/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 7, 3, 7, 6, 5, 7, 3, 7, -2, 4, -6, 3, -7, -8, -7)
1:16/0/terrains_peering_bit/left_side = 0
2:13/0 = 0
2:13/0/terrain_set = 0
2:13/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_yc5g4")
2:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -7, 8, -7, 8, 7, -8, 7)
2:13/0/terrains_peering_bit/right_side = 0
2:13/0/terrains_peering_bit/left_side = 0
0:16/0 = 0
0:16/0/terrain_set = 0
0:16/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_m0vkj")
0:16/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, 7, -3, 7, -5, 6, -7, 3, -7, -2, -5, -5, -3, -6, -4, -6, -4, -6, -2, -7, 8, -7)
0:16/0/terrains_peering_bit/right_side = 0
0:15/0 = 0
0:15/0/terrain_set = 0
0:15/0/terrain = 0
0:15/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_jfaap")
0:15/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, -8, -7, 3, -5, 6, -3, 7, 3, 7, 3, 6, 5, 6, 6, 5, 7, 3, 7, -2, 7, -8)
0:15/0/terrains_peering_bit/top_side = 0
0:14/0 = 0
0:14/0/terrain_set = 0
0:14/0/terrain = 0
0:14/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_cq1jw")
0:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, 8, -7, -2, -6, -4, -2, -7, 1, -7, 3, -7, 6, -4, 7, -2, 7, 8)
0:14/0/terrains_peering_bit/bottom_side = 0
8:6/size_in_atlas = Vector2i(1, 3)
8:6/0 = 0
8:6/0/terrain_set = 0
8:6/0/terrain = 1
8:6/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_mfvbg")
8:6/0/occlusion_layer_1/polygon = SubResource("OccluderPolygon2D_jrxlk")
8:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(1, 4.875, 8, 5.125, 7.5, 10.375, 0.75, 11.5)
8:6/0/physics_layer_0/polygon_1/points = PackedVector2Array(2, -8, 7.125, -8, 7.625, -9.375, 7.75, -12.625, 6.375, -13.75, 2.625, -15.875, 0.5, -15.75, -0.125, -14.375, -0.375, -11.375, 0.5, -9.875)
8:6/0/terrains_peering_bit/right_side = 1
9:6/size_in_atlas = Vector2i(1, 3)
9:6/0 = 0
9:6/0/terrain_set = 0
9:6/0/terrain = 1
9:6/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_qurtj")
9:6/0/occlusion_layer_1/polygon = SubResource("OccluderPolygon2D_cah13")
9:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 7.95495, -12.0208, -8.48528, -12.3744)
9:6/0/physics_layer_0/polygon_1/points = PackedVector2Array(-8, 6.36396, 8, 5.83363, 8, 8, -8, 8)
9:6/0/terrains_peering_bit/right_side = 1
9:6/0/terrains_peering_bit/left_side = 1
10:6/size_in_atlas = Vector2i(1, 3)
10:6/0 = 0
10:6/0/terrain_set = 0
10:6/0/terrain = 1
10:6/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_06xyp")
10:6/0/occlusion_layer_1/polygon = SubResource("OccluderPolygon2D_0f87k")
10:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1, 4.875, -8, 5.125, -7.5, 10.375, -0.75, 11.5)
10:6/0/physics_layer_0/polygon_1/points = PackedVector2Array(-2, -8, -7.125, -8, -7.625, -9.375, -7.75, -12.625, -6.375, -13.75, -2.625, -15.875, -0.5, -15.75, 0.125, -14.375, 0.375, -11.375, -0.5, -9.875)
10:6/0/terrains_peering_bit/left_side = 1
[resource]
uv_clipping = true
occlusion_layer_0/light_mask = 1
occlusion_layer_1/light_mask = 1
physics_layer_0/collision_layer = 1
physics_layer_0/collision_mask = 2
terrain_set_0/mode = 0
terrain_set_0/terrain_0/name = "Bushes"
terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1)
terrain_set_0/terrain_1/name = "Horizontal Brige"
terrain_set_0/terrain_1/color = Color(0.204684, 0.174299, 0.0827472, 1)
terrain_set_0/terrain_2/name = "Vertical Br idge"
terrain_set_0/terrain_2/color = Color(0.46875, 0.5, 0.25, 1)
sources/0 = SubResource("TileSetAtlasSource_n4nyx")

34
Tiles/Inner.png.import Normal file
View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bsy2opfcpqwim"
path="res://.godot/imported/Inner.png-66b91296fd6fb7363583523501deb254.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Tiles/Inner.png"
dest_files=["res://.godot/imported/Inner.png-66b91296fd6fb7363583523501deb254.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c05yfrb2sdq4t"
path="res://.godot/imported/Overworld.png-42b9449f19becba4934e9c70196a5717.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Tiles/Overworld.png"
dest_files=["res://.godot/imported/Overworld.png-42b9449f19becba4934e9c70196a5717.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

725
Tiles/TerrainTiles.tres Normal file
View File

@ -0,0 +1,725 @@
[gd_resource type="TileSet" load_steps=4 format=3 uid="uid://t5ntjnulquxe"]
[ext_resource type="Texture2D" uid="uid://c05yfrb2sdq4t" path="res://Tiles/Overworld.png" id="1_o4wx4"]
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_kbfo3"]
polygon = PackedVector2Array(-1, 2, 0, 2, 0, 1, 0, 0, -1, 0, -1, 1)
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_k2klg"]
resource_name = "Main"
texture = ExtResource("1_o4wx4")
0:1/animation_columns = 4
0:1/animation_speed = 2.0
0:1/animation_mode = 1
0:1/animation_frame_0/duration = 1.0
0:1/animation_frame_1/duration = 1.0
0:1/animation_frame_2/duration = 1.0
0:1/animation_frame_3/duration = 1.0
0:1/animation_frame_4/duration = 1.0
0:1/animation_frame_5/duration = 1.0
0:1/animation_frame_6/duration = 1.0
0:1/animation_frame_7/duration = 1.0
0:1/0 = 0
0:1/0/terrain_set = 0
0:1/0/terrain = 0
0:1/0/probability = 0.9
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
0:1/0/terrains_peering_bit/right_side = 0
0:1/0/terrains_peering_bit/bottom_right_corner = 0
0:1/0/terrains_peering_bit/bottom_side = 0
0:1/0/terrains_peering_bit/bottom_left_corner = 0
0:1/0/terrains_peering_bit/left_side = 0
0:1/0/terrains_peering_bit/top_left_corner = 0
0:1/0/terrains_peering_bit/top_side = 0
0:1/0/terrains_peering_bit/top_right_corner = 0
2:9/0 = 0
2:9/0/terrain_set = 0
2:9/0/terrain = 1
2:9/0/terrains_peering_bit/right_side = 1
2:9/0/terrains_peering_bit/bottom_right_corner = 1
2:9/0/terrains_peering_bit/bottom_side = 1
2:9/0/terrains_peering_bit/bottom_left_corner = 0
2:9/0/terrains_peering_bit/left_side = 0
2:9/0/terrains_peering_bit/top_left_corner = 0
2:9/0/terrains_peering_bit/top_side = 0
2:9/0/terrains_peering_bit/top_right_corner = 0
3:9/0 = 0
3:9/0/terrain_set = 0
3:9/0/terrain = 1
3:9/0/terrains_peering_bit/right_side = 0
3:9/0/terrains_peering_bit/bottom_right_corner = 0
3:9/0/terrains_peering_bit/bottom_side = 1
3:9/0/terrains_peering_bit/bottom_left_corner = 1
3:9/0/terrains_peering_bit/left_side = 1
3:9/0/terrains_peering_bit/top_left_corner = 0
3:9/0/terrains_peering_bit/top_side = 0
3:9/0/terrains_peering_bit/top_right_corner = 0
3:10/0 = 0
3:10/0/terrain_set = 0
3:10/0/terrain = 1
3:10/0/terrains_peering_bit/right_side = 0
3:10/0/terrains_peering_bit/bottom_right_corner = 0
3:10/0/terrains_peering_bit/bottom_side = 0
3:10/0/terrains_peering_bit/bottom_left_corner = 0
3:10/0/terrains_peering_bit/left_side = 1
3:10/0/terrains_peering_bit/top_left_corner = 1
3:10/0/terrains_peering_bit/top_side = 1
3:10/0/terrains_peering_bit/top_right_corner = 0
2:10/0 = 0
2:10/0/terrain_set = 0
2:10/0/terrain = 1
2:10/0/terrains_peering_bit/right_side = 1
2:10/0/terrains_peering_bit/bottom_right_corner = 0
2:10/0/terrains_peering_bit/bottom_side = 0
2:10/0/terrains_peering_bit/bottom_left_corner = 0
2:10/0/terrains_peering_bit/left_side = 0
2:10/0/terrains_peering_bit/top_left_corner = 0
2:10/0/terrains_peering_bit/top_side = 1
2:10/0/terrains_peering_bit/top_right_corner = 1
4:9/0 = 0
4:9/0/terrain_set = 0
4:9/0/terrain = 1
4:9/0/terrains_peering_bit/right_side = 1
4:9/0/terrains_peering_bit/bottom_right_corner = 1
4:9/0/terrains_peering_bit/bottom_side = 1
4:9/0/terrains_peering_bit/bottom_left_corner = 2
4:9/0/terrains_peering_bit/left_side = 2
4:9/0/terrains_peering_bit/top_left_corner = 1
4:9/0/terrains_peering_bit/top_side = 1
4:9/0/terrains_peering_bit/top_right_corner = 1
4:10/0 = 0
4:10/0/terrain_set = 0
4:10/0/terrain = 1
4:10/0/terrains_peering_bit/right_side = 1
4:10/0/terrains_peering_bit/bottom_right_corner = 1
4:10/0/terrains_peering_bit/bottom_side = 1
4:10/0/terrains_peering_bit/bottom_left_corner = 2
4:10/0/terrains_peering_bit/left_side = 2
4:10/0/terrains_peering_bit/top_left_corner = 2
4:10/0/terrains_peering_bit/top_side = 1
4:10/0/terrains_peering_bit/top_right_corner = 1
4:11/0 = 0
4:11/0/terrain_set = 0
4:11/0/terrain = 1
4:11/0/terrains_peering_bit/right_side = 1
4:11/0/terrains_peering_bit/bottom_right_corner = 2
4:11/0/terrains_peering_bit/bottom_side = 2
4:11/0/terrains_peering_bit/bottom_left_corner = 2
4:11/0/terrains_peering_bit/left_side = 2
4:11/0/terrains_peering_bit/top_left_corner = 2
4:11/0/terrains_peering_bit/top_side = 1
4:11/0/terrains_peering_bit/top_right_corner = 1
5:11/0 = 0
5:11/0/terrain_set = 0
5:11/0/terrain = 1
5:11/0/terrains_peering_bit/right_side = 1
5:11/0/terrains_peering_bit/bottom_right_corner = 2
5:11/0/terrains_peering_bit/bottom_side = 2
5:11/0/terrains_peering_bit/bottom_left_corner = 2
5:11/0/terrains_peering_bit/left_side = 1
5:11/0/terrains_peering_bit/top_left_corner = 1
5:11/0/terrains_peering_bit/top_side = 1
5:11/0/terrains_peering_bit/top_right_corner = 1
6:11/0 = 0
6:11/0/terrain_set = 0
6:11/0/terrain = 1
6:11/0/terrains_peering_bit/right_side = 2
6:11/0/terrains_peering_bit/bottom_right_corner = 2
6:11/0/terrains_peering_bit/bottom_side = 2
6:11/0/terrains_peering_bit/bottom_left_corner = 2
6:11/0/terrains_peering_bit/left_side = 1
6:11/0/terrains_peering_bit/top_left_corner = 1
6:11/0/terrains_peering_bit/top_side = 1
6:11/0/terrains_peering_bit/top_right_corner = 2
6:10/0 = 0
6:10/0/terrain_set = 0
6:10/0/terrain = 1
6:10/0/terrains_peering_bit/right_side = 2
6:10/0/terrains_peering_bit/bottom_right_corner = 2
6:10/0/terrains_peering_bit/bottom_side = 1
6:10/0/terrains_peering_bit/bottom_left_corner = 1
6:10/0/terrains_peering_bit/left_side = 1
6:10/0/terrains_peering_bit/top_left_corner = 1
6:10/0/terrains_peering_bit/top_side = 1
6:10/0/terrains_peering_bit/top_right_corner = 2
6:9/0 = 0
6:9/0/terrain_set = 0
6:9/0/terrain = 1
6:9/0/terrains_peering_bit/right_side = 2
6:9/0/terrains_peering_bit/bottom_right_corner = 2
6:9/0/terrains_peering_bit/bottom_side = 1
6:9/0/terrains_peering_bit/bottom_left_corner = 1
6:9/0/terrains_peering_bit/left_side = 1
6:9/0/terrains_peering_bit/top_left_corner = 1
6:9/0/terrains_peering_bit/top_side = 1
6:9/0/terrains_peering_bit/top_right_corner = 1
5:9/0 = 0
5:9/0/terrain_set = 0
5:9/0/terrain = 1
5:9/0/terrains_peering_bit/right_side = 1
5:9/0/terrains_peering_bit/bottom_right_corner = 1
5:9/0/terrains_peering_bit/bottom_side = 1
5:9/0/terrains_peering_bit/bottom_left_corner = 1
5:9/0/terrains_peering_bit/left_side = 1
5:9/0/terrains_peering_bit/top_left_corner = 1
5:9/0/terrains_peering_bit/top_side = 1
5:9/0/terrains_peering_bit/top_right_corner = 1
5:10/0 = 0
5:10/0/terrain_set = 0
5:10/0/terrain = 1
5:10/0/occlusion_layer_0/polygon = SubResource("OccluderPolygon2D_kbfo3")
5:10/0/terrains_peering_bit/right_side = 1
5:10/0/terrains_peering_bit/bottom_right_corner = 1
5:10/0/terrains_peering_bit/bottom_side = 1
5:10/0/terrains_peering_bit/bottom_left_corner = 1
5:10/0/terrains_peering_bit/left_side = 1
5:10/0/terrains_peering_bit/top_left_corner = 1
5:10/0/terrains_peering_bit/top_side = 1
5:10/0/terrains_peering_bit/top_right_corner = 1
8:9/0 = 0
8:9/0/terrain_set = 0
8:9/0/terrain = 1
8:9/0/terrains_peering_bit/right_side = 1
8:9/0/terrains_peering_bit/bottom_right_corner = 1
8:9/0/terrains_peering_bit/bottom_side = 1
8:9/0/terrains_peering_bit/bottom_left_corner = 1
8:9/0/terrains_peering_bit/left_side = 1
8:9/0/terrains_peering_bit/top_left_corner = 1
8:9/0/terrains_peering_bit/top_side = 1
8:9/0/terrains_peering_bit/top_right_corner = 1
7:9/0 = 0
7:9/0/terrain_set = 0
7:9/0/terrain = 1
7:9/0/terrains_peering_bit/right_side = 1
7:9/0/terrains_peering_bit/bottom_right_corner = 1
7:9/0/terrains_peering_bit/bottom_side = 1
7:9/0/terrains_peering_bit/bottom_left_corner = 1
7:9/0/terrains_peering_bit/left_side = 1
7:9/0/terrains_peering_bit/top_left_corner = 1
7:9/0/terrains_peering_bit/top_side = 1
7:9/0/terrains_peering_bit/top_right_corner = 1
7:10/0 = 0
7:10/0/terrain_set = 0
7:10/0/terrain = 1
7:10/0/terrains_peering_bit/right_side = 1
7:10/0/terrains_peering_bit/bottom_right_corner = 1
7:10/0/terrains_peering_bit/bottom_side = 1
7:10/0/terrains_peering_bit/bottom_left_corner = 1
7:10/0/terrains_peering_bit/left_side = 1
7:10/0/terrains_peering_bit/top_left_corner = 1
7:10/0/terrains_peering_bit/top_side = 1
7:10/0/terrains_peering_bit/top_right_corner = 1
8:10/0 = 0
8:10/0/terrain_set = 0
8:10/0/terrain = 1
8:10/0/terrains_peering_bit/right_side = 1
8:10/0/terrains_peering_bit/bottom_right_corner = 1
8:10/0/terrains_peering_bit/bottom_side = 1
8:10/0/terrains_peering_bit/bottom_left_corner = 1
8:10/0/terrains_peering_bit/left_side = 1
8:10/0/terrains_peering_bit/top_left_corner = 1
8:10/0/terrains_peering_bit/top_side = 1
8:10/0/terrains_peering_bit/top_right_corner = 1
3:8/0 = 0
3:8/0/terrain_set = 0
3:8/0/terrain = 1
3:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -3, 8, -3, 8, -8, -8, -8)
3:8/0/terrains_peering_bit/right_side = 1
3:8/0/terrains_peering_bit/bottom_right_corner = 1
3:8/0/terrains_peering_bit/bottom_side = 1
3:8/0/terrains_peering_bit/bottom_left_corner = 1
3:8/0/terrains_peering_bit/left_side = 1
3:8/0/terrains_peering_bit/top_left_corner = 0
3:8/0/terrains_peering_bit/top_side = 0
3:8/0/terrains_peering_bit/top_right_corner = 0
2:8/0 = 0
2:8/0/terrain_set = 0
2:8/0/terrain = 1
2:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(3, -8, 3, -3, 8, -3, 8, -8)
2:8/0/terrains_peering_bit/right_side = 1
2:8/0/terrains_peering_bit/bottom_right_corner = 1
2:8/0/terrains_peering_bit/bottom_side = 1
2:8/0/terrains_peering_bit/bottom_left_corner = 1
2:8/0/terrains_peering_bit/left_side = 1
2:8/0/terrains_peering_bit/top_left_corner = 1
2:8/0/terrains_peering_bit/top_side = 1
2:8/0/terrains_peering_bit/top_right_corner = 0
2:7/0 = 0
2:7/0/terrain_set = 0
2:7/0/terrain = 1
2:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(3, 8, 3, -8, 8, -8, 8, 8)
2:7/0/terrains_peering_bit/right_side = 0
2:7/0/terrains_peering_bit/bottom_right_corner = 0
2:7/0/terrains_peering_bit/bottom_side = 1
2:7/0/terrains_peering_bit/bottom_left_corner = 1
2:7/0/terrains_peering_bit/left_side = 1
2:7/0/terrains_peering_bit/top_left_corner = 1
2:7/0/terrains_peering_bit/top_side = 1
2:7/0/terrains_peering_bit/top_right_corner = 0
4:8/0 = 0
4:8/0/terrain_set = 0
4:8/0/terrain = 1
4:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -3, -4, -3, -4, -8, -8, -8)
4:8/0/terrains_peering_bit/right_side = 1
4:8/0/terrains_peering_bit/bottom_right_corner = 1
4:8/0/terrains_peering_bit/bottom_side = 1
4:8/0/terrains_peering_bit/bottom_left_corner = 1
4:8/0/terrains_peering_bit/left_side = 1
4:8/0/terrains_peering_bit/top_left_corner = 0
4:8/0/terrains_peering_bit/top_side = 1
4:8/0/terrains_peering_bit/top_right_corner = 1
4:7/0 = 0
4:7/0/terrain_set = 0
4:7/0/terrain = 1
4:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, 8, -4, -8, -8, -8, -8, 8)
4:7/0/terrains_peering_bit/right_side = 1
4:7/0/terrains_peering_bit/bottom_right_corner = 1
4:7/0/terrains_peering_bit/bottom_side = 1
4:7/0/terrains_peering_bit/bottom_left_corner = 0
4:7/0/terrains_peering_bit/left_side = 0
4:7/0/terrains_peering_bit/top_left_corner = 0
4:7/0/terrains_peering_bit/top_side = 1
4:7/0/terrains_peering_bit/top_right_corner = 1
4:6/0 = 0
4:6/0/terrain_set = 0
4:6/0/terrain = 1
4:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-4, 8, -4, 3, -3, 3, -8, 3, -8, 8)
4:6/0/terrains_peering_bit/right_side = 1
4:6/0/terrains_peering_bit/bottom_right_corner = 1
4:6/0/terrains_peering_bit/bottom_side = 1
4:6/0/terrains_peering_bit/bottom_left_corner = 0
4:6/0/terrains_peering_bit/left_side = 1
4:6/0/terrains_peering_bit/top_left_corner = 1
4:6/0/terrains_peering_bit/top_side = 1
4:6/0/terrains_peering_bit/top_right_corner = 1
3:6/0 = 0
3:6/0/terrain_set = 0
3:6/0/terrain = 1
3:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, 2, 8, 2, 8, 8, -8, 8, -8, 2)
3:6/0/terrains_peering_bit/right_side = 1
3:6/0/terrains_peering_bit/bottom_right_corner = 0
3:6/0/terrains_peering_bit/bottom_side = 0
3:6/0/terrains_peering_bit/bottom_left_corner = 0
3:6/0/terrains_peering_bit/left_side = 1
3:6/0/terrains_peering_bit/top_left_corner = 1
3:6/0/terrains_peering_bit/top_side = 1
3:6/0/terrains_peering_bit/top_right_corner = 1
2:6/0 = 0
2:6/0/terrain_set = 0
2:6/0/terrain = 1
2:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(3, 8, 3, 3, 8, 3, 8, 8, 3, 8)
2:6/0/terrains_peering_bit/right_side = 1
2:6/0/terrains_peering_bit/bottom_right_corner = 0
2:6/0/terrains_peering_bit/bottom_side = 1
2:6/0/terrains_peering_bit/bottom_left_corner = 1
2:6/0/terrains_peering_bit/left_side = 1
2:6/0/terrains_peering_bit/top_left_corner = 1
2:6/0/terrains_peering_bit/top_side = 1
2:6/0/terrains_peering_bit/top_right_corner = 1
3:7/0 = 0
3:7/0/terrain_set = 0
3:7/0/terrain = 0
3:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
3:7/0/terrains_peering_bit/right_side = 0
3:7/0/terrains_peering_bit/bottom_right_corner = 0
3:7/0/terrains_peering_bit/bottom_side = 0
3:7/0/terrains_peering_bit/bottom_left_corner = 0
3:7/0/terrains_peering_bit/left_side = 0
3:7/0/terrains_peering_bit/top_left_corner = 0
3:7/0/terrains_peering_bit/top_side = 0
3:7/0/terrains_peering_bit/top_right_corner = 0
0:0/0 = 0
0:0/0/terrain_set = 0
0:0/0/terrain = 1
0:0/0/terrains_peering_bit/right_side = 1
0:0/0/terrains_peering_bit/bottom_right_corner = 1
0:0/0/terrains_peering_bit/bottom_side = 1
0:0/0/terrains_peering_bit/bottom_left_corner = 1
0:0/0/terrains_peering_bit/left_side = 1
0:0/0/terrains_peering_bit/top_left_corner = 1
0:0/0/terrains_peering_bit/top_side = 1
0:0/0/terrains_peering_bit/top_right_corner = 1
4:12/0 = 0
4:12/0/terrain_set = 0
4:12/0/terrain = 2
4:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
4:12/0/terrains_peering_bit/right_side = 2
4:12/0/terrains_peering_bit/bottom_right_corner = 2
4:12/0/terrains_peering_bit/bottom_side = 2
4:12/0/terrains_peering_bit/top_left_corner = 1
4:12/0/terrains_peering_bit/top_side = 1
4:12/0/terrains_peering_bit/top_right_corner = 1
4:13/0 = 0
4:13/0/terrain_set = 0
4:13/0/terrain = 2
4:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
4:13/0/terrains_peering_bit/right_side = 2
4:13/0/terrains_peering_bit/bottom_right_corner = 2
4:13/0/terrains_peering_bit/bottom_side = 2
4:13/0/terrains_peering_bit/top_side = 2
4:13/0/terrains_peering_bit/top_right_corner = 2
4:14/0 = 0
4:14/0/terrain_set = 0
4:14/0/terrain = 2
4:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
4:14/0/terrains_peering_bit/right_side = 2
4:14/0/terrains_peering_bit/top_side = 2
4:14/0/terrains_peering_bit/top_right_corner = 2
5:14/0 = 0
5:14/0/terrain_set = 0
5:14/0/terrain = 2
5:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
5:14/0/terrains_peering_bit/right_side = 2
5:14/0/terrains_peering_bit/left_side = 2
5:14/0/terrains_peering_bit/top_left_corner = 2
5:14/0/terrains_peering_bit/top_side = 2
5:14/0/terrains_peering_bit/top_right_corner = 2
6:14/0 = 0
6:14/0/terrain_set = 0
6:14/0/terrain = 2
6:14/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
6:14/0/terrains_peering_bit/left_side = 2
6:14/0/terrains_peering_bit/top_left_corner = 2
6:14/0/terrains_peering_bit/top_side = 2
6:13/0 = 0
6:13/0/terrain_set = 0
6:13/0/terrain = 2
6:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
6:13/0/terrains_peering_bit/bottom_side = 2
6:13/0/terrains_peering_bit/bottom_left_corner = 2
6:13/0/terrains_peering_bit/left_side = 2
6:13/0/terrains_peering_bit/top_left_corner = 2
6:13/0/terrains_peering_bit/top_side = 2
6:12/0 = 0
6:12/0/terrain_set = 0
6:12/0/terrain = 2
6:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
6:12/0/terrains_peering_bit/bottom_side = 2
6:12/0/terrains_peering_bit/bottom_left_corner = 2
6:12/0/terrains_peering_bit/left_side = 2
6:12/0/terrains_peering_bit/top_left_corner = 1
6:12/0/terrains_peering_bit/top_side = 1
6:12/0/terrains_peering_bit/top_right_corner = 1
5:12/0 = 0
5:12/0/terrain_set = 0
5:12/0/terrain = 2
5:12/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
5:12/0/terrains_peering_bit/right_side = 2
5:12/0/terrains_peering_bit/bottom_right_corner = 2
5:12/0/terrains_peering_bit/bottom_side = 2
5:12/0/terrains_peering_bit/bottom_left_corner = 2
5:12/0/terrains_peering_bit/left_side = 2
5:12/0/terrains_peering_bit/top_left_corner = 1
5:12/0/terrains_peering_bit/top_side = 1
5:12/0/terrains_peering_bit/top_right_corner = 1
5:13/0 = 0
5:13/0/terrain_set = 0
5:13/0/terrain = 2
5:13/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
5:13/0/terrains_peering_bit/right_side = 2
5:13/0/terrains_peering_bit/bottom_right_corner = 2
5:13/0/terrains_peering_bit/bottom_side = 2
5:13/0/terrains_peering_bit/bottom_left_corner = 2
5:13/0/terrains_peering_bit/left_side = 2
5:13/0/terrains_peering_bit/top_left_corner = 2
5:13/0/terrains_peering_bit/top_side = 2
5:13/0/terrains_peering_bit/top_right_corner = 2
9:17/0 = 0
9:17/0/terrain_set = 0
9:17/0/terrain = 1
9:17/0/terrains_peering_bit/right_side = 0
9:17/0/terrains_peering_bit/bottom_right_corner = 0
9:17/0/terrains_peering_bit/bottom_side = 2
9:17/0/terrains_peering_bit/bottom_left_corner = 2
9:17/0/terrains_peering_bit/left_side = 1
9:17/0/terrains_peering_bit/top_left_corner = 1
9:17/0/terrains_peering_bit/top_side = 1
9:17/0/terrains_peering_bit/top_right_corner = 0
9:18/0 = 0
9:18/0/terrain_set = 0
9:18/0/terrain = 2
9:18/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
9:18/0/terrains_peering_bit/right_side = 0
9:18/0/terrains_peering_bit/bottom_right_corner = 0
9:18/0/terrains_peering_bit/bottom_side = 2
9:18/0/terrains_peering_bit/bottom_left_corner = 2
9:18/0/terrains_peering_bit/left_side = 2
9:18/0/terrains_peering_bit/top_left_corner = 2
9:18/0/terrains_peering_bit/top_side = 2
9:18/0/terrains_peering_bit/top_right_corner = 0
9:19/0 = 0
9:19/0/terrain_set = 0
9:19/0/terrain = 2
9:19/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
9:19/0/terrains_peering_bit/right_side = 0
9:19/0/terrains_peering_bit/bottom_right_corner = 0
9:19/0/terrains_peering_bit/bottom_side = 2
9:19/0/terrains_peering_bit/bottom_left_corner = 2
9:19/0/terrains_peering_bit/left_side = 2
9:19/0/terrains_peering_bit/top_left_corner = 2
9:19/0/terrains_peering_bit/top_side = 2
9:19/0/terrains_peering_bit/top_right_corner = 0
9:20/0 = 0
9:20/0/terrain_set = 0
9:20/0/terrain = 2
9:20/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
9:20/0/terrains_peering_bit/right_side = 0
9:20/0/terrains_peering_bit/bottom_right_corner = 0
9:20/0/terrains_peering_bit/bottom_side = 1
9:20/0/terrains_peering_bit/bottom_left_corner = 1
9:20/0/terrains_peering_bit/left_side = 2
9:20/0/terrains_peering_bit/top_left_corner = 2
9:20/0/terrains_peering_bit/top_side = 2
9:20/0/terrains_peering_bit/top_right_corner = 0
10:20/0 = 0
10:20/0/terrain_set = 0
10:20/0/terrain = 2
10:20/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:20/0/terrains_peering_bit/right_side = 2
10:20/0/terrains_peering_bit/bottom_right_corner = 1
10:20/0/terrains_peering_bit/bottom_side = 1
10:20/0/terrains_peering_bit/bottom_left_corner = 0
10:20/0/terrains_peering_bit/left_side = 0
10:20/0/terrains_peering_bit/top_left_corner = 0
10:20/0/terrains_peering_bit/top_side = 2
10:20/0/terrains_peering_bit/top_right_corner = 2
10:19/0 = 0
10:19/0/terrain_set = 0
10:19/0/terrain = 2
10:19/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:19/0/terrains_peering_bit/right_side = 2
10:19/0/terrains_peering_bit/bottom_right_corner = 2
10:19/0/terrains_peering_bit/bottom_side = 2
10:19/0/terrains_peering_bit/bottom_left_corner = 0
10:19/0/terrains_peering_bit/left_side = 0
10:19/0/terrains_peering_bit/top_left_corner = 0
10:19/0/terrains_peering_bit/top_side = 2
10:19/0/terrains_peering_bit/top_right_corner = 2
10:18/0 = 0
10:18/0/terrain_set = 0
10:18/0/terrain = 2
10:18/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
10:18/0/terrains_peering_bit/right_side = 2
10:18/0/terrains_peering_bit/bottom_right_corner = 2
10:18/0/terrains_peering_bit/bottom_side = 2
10:18/0/terrains_peering_bit/bottom_left_corner = 0
10:18/0/terrains_peering_bit/left_side = 0
10:18/0/terrains_peering_bit/top_left_corner = 0
10:18/0/terrains_peering_bit/top_side = 2
10:18/0/terrains_peering_bit/top_right_corner = 2
10:17/0 = 0
10:17/0/terrain_set = 0
10:17/0/terrain = 1
10:17/0/terrains_peering_bit/right_side = 1
10:17/0/terrains_peering_bit/bottom_right_corner = 2
10:17/0/terrains_peering_bit/bottom_side = 2
10:17/0/terrains_peering_bit/bottom_left_corner = 0
10:17/0/terrains_peering_bit/left_side = 0
10:17/0/terrains_peering_bit/top_left_corner = 0
10:17/0/terrains_peering_bit/top_side = 1
10:17/0/terrains_peering_bit/top_right_corner = 1
9:21/0 = 0
9:21/0/terrain_set = 0
9:21/0/terrain = 1
9:21/0/terrains_peering_bit/right_side = 0
9:21/0/terrains_peering_bit/bottom_right_corner = 0
9:21/0/terrains_peering_bit/bottom_side = 1
9:21/0/terrains_peering_bit/bottom_left_corner = 1
9:21/0/terrains_peering_bit/left_side = 1
9:21/0/terrains_peering_bit/top_left_corner = 2
9:21/0/terrains_peering_bit/top_side = 2
9:21/0/terrains_peering_bit/top_right_corner = 0
10:21/0 = 0
10:21/0/terrain_set = 0
10:21/0/terrain = 1
10:21/0/terrains_peering_bit/right_side = 1
10:21/0/terrains_peering_bit/bottom_right_corner = 1
10:21/0/terrains_peering_bit/bottom_side = 1
10:21/0/terrains_peering_bit/bottom_left_corner = 0
10:21/0/terrains_peering_bit/left_side = 0
10:21/0/terrains_peering_bit/top_left_corner = 0
10:21/0/terrains_peering_bit/top_side = 2
10:21/0/terrains_peering_bit/top_right_corner = 2
3:20/0 = 0
3:20/0/terrain_set = 0
3:20/0/terrain = 2
3:20/0/terrains_peering_bit/right_side = 2
3:20/0/terrains_peering_bit/bottom_right_corner = 0
3:20/0/terrains_peering_bit/bottom_side = 0
3:20/0/terrains_peering_bit/bottom_left_corner = 0
3:20/0/terrains_peering_bit/left_side = 0
3:20/0/terrains_peering_bit/top_left_corner = 0
3:20/0/terrains_peering_bit/top_side = 2
3:20/0/terrains_peering_bit/top_right_corner = 2
4:20/0 = 0
4:20/0/terrain_set = 0
4:20/0/terrain = 2
4:20/0/terrains_peering_bit/right_side = 2
4:20/0/terrains_peering_bit/bottom_right_corner = 0
4:20/0/terrains_peering_bit/bottom_side = 0
4:20/0/terrains_peering_bit/bottom_left_corner = 0
4:20/0/terrains_peering_bit/left_side = 2
4:20/0/terrains_peering_bit/top_left_corner = 2
4:20/0/terrains_peering_bit/top_side = 2
4:20/0/terrains_peering_bit/top_right_corner = 2
5:20/0 = 0
5:20/0/terrain_set = 0
5:20/0/terrain = 2
5:20/0/terrains_peering_bit/right_side = 0
5:20/0/terrains_peering_bit/bottom_right_corner = 0
5:20/0/terrains_peering_bit/bottom_side = 0
5:20/0/terrains_peering_bit/bottom_left_corner = 0
5:20/0/terrains_peering_bit/left_side = 2
5:20/0/terrains_peering_bit/top_left_corner = 2
5:20/0/terrains_peering_bit/top_side = 2
5:20/0/terrains_peering_bit/top_right_corner = 0
0:11/0 = 0
0:11/0/terrain_set = 0
0:11/0/terrain = 1
0:11/0/terrains_peering_bit/right_side = 1
0:11/0/terrains_peering_bit/bottom_right_corner = 1
0:11/0/terrains_peering_bit/bottom_side = 1
2:11/0 = 0
2:11/0/terrain_set = 0
2:11/0/terrain = 1
2:11/0/terrains_peering_bit/bottom_side = 1
2:11/0/terrains_peering_bit/bottom_left_corner = 1
2:11/0/terrains_peering_bit/left_side = 1
1:11/0 = 0
1:11/0/terrain_set = 0
1:11/0/terrain = 1
1:11/0/terrains_peering_bit/right_side = 1
1:11/0/terrains_peering_bit/bottom_right_corner = 1
1:11/0/terrains_peering_bit/bottom_side = 1
1:11/0/terrains_peering_bit/bottom_left_corner = 1
1:11/0/terrains_peering_bit/left_side = 1
0:10/0 = 0
0:10/0/terrain_set = 0
0:10/0/terrain = 1
0:10/0/terrains_peering_bit/right_side = 1
0:10/0/terrains_peering_bit/bottom_right_corner = 1
0:10/0/terrains_peering_bit/bottom_side = 1
0:10/0/terrains_peering_bit/bottom_left_corner = 1
0:10/0/terrains_peering_bit/left_side = 1
0:10/0/terrains_peering_bit/top_left_corner = 1
0:10/0/terrains_peering_bit/top_side = 1
1:10/0 = 0
1:10/0/terrain_set = 0
1:10/0/terrain = 1
1:10/0/terrains_peering_bit/right_side = 1
1:10/0/terrains_peering_bit/bottom_right_corner = 1
1:10/0/terrains_peering_bit/bottom_side = 1
1:10/0/terrains_peering_bit/bottom_left_corner = 1
1:10/0/terrains_peering_bit/left_side = 1
1:10/0/terrains_peering_bit/top_side = 1
1:10/0/terrains_peering_bit/top_right_corner = 1
1:9/0 = 0
1:9/0/terrain_set = 0
1:9/0/terrain = 1
1:9/0/terrains_peering_bit/right_side = 1
1:9/0/terrains_peering_bit/bottom_right_corner = 1
1:9/0/terrains_peering_bit/bottom_side = 1
1:9/0/terrains_peering_bit/left_side = 1
1:9/0/terrains_peering_bit/top_left_corner = 1
1:9/0/terrains_peering_bit/top_side = 1
1:9/0/terrains_peering_bit/top_right_corner = 1
0:9/0 = 0
0:9/0/terrain_set = 0
0:9/0/terrain = 1
0:9/0/terrains_peering_bit/right_side = 1
0:9/0/terrains_peering_bit/bottom_side = 1
0:9/0/terrains_peering_bit/bottom_left_corner = 1
0:9/0/terrains_peering_bit/left_side = 1
0:9/0/terrains_peering_bit/top_left_corner = 1
0:9/0/terrains_peering_bit/top_side = 1
0:9/0/terrains_peering_bit/top_right_corner = 1
18:6/animation_columns = 3
18:6/animation_speed = 5.0
18:6/animation_mode = 1
18:6/animation_frame_0/duration = 1.0
18:6/animation_frame_1/duration = 1.0
18:6/animation_frame_2/duration = 1.0
18:6/0 = 0
18:6/0/terrain_set = 0
18:6/0/terrains_peering_bit/bottom_side = 3
18:6/0/terrains_peering_bit/top_left_corner = 0
18:6/0/terrains_peering_bit/top_side = 0
18:6/0/terrains_peering_bit/top_right_corner = 0
18:8/animation_speed = 5.0
18:8/animation_mode = 1
18:8/animation_frame_0/duration = 1.0
18:8/animation_frame_1/duration = 1.0
18:8/animation_frame_2/duration = 1.0
18:8/0 = 0
18:8/0/terrain_set = 0
18:8/0/terrains_peering_bit/right_side = 2
18:8/0/terrains_peering_bit/bottom_right_corner = 0
18:8/0/terrains_peering_bit/bottom_side = 0
18:8/0/terrains_peering_bit/bottom_left_corner = 0
18:8/0/terrains_peering_bit/left_side = 2
18:8/0/terrains_peering_bit/top_side = 3
17:9/animation_columns = 1
17:9/animation_speed = 2.0
17:9/animation_frame_0/duration = 1.0
17:9/animation_frame_1/duration = 1.0
17:9/0 = 0
17:9/0/terrain_set = 0
17:9/0/terrain = 0
17:9/0/terrains_peering_bit/right_side = 0
17:9/0/terrains_peering_bit/bottom_right_corner = 0
17:9/0/terrains_peering_bit/bottom_side = 0
17:9/0/terrains_peering_bit/bottom_left_corner = 0
17:9/0/terrains_peering_bit/left_side = 0
17:9/0/terrains_peering_bit/top_left_corner = 0
17:9/0/terrains_peering_bit/top_side = 0
17:9/0/terrains_peering_bit/top_right_corner = 3
18:9/animation_columns = 1
18:9/animation_frame_0/duration = 1.0
18:9/animation_frame_1/duration = 1.0
18:9/0 = 0
18:9/0/terrain_set = 0
18:9/0/terrain = 0
18:9/0/terrains_peering_bit/right_side = 0
18:9/0/terrains_peering_bit/bottom_right_corner = 0
18:9/0/terrains_peering_bit/bottom_side = 0
18:9/0/terrains_peering_bit/bottom_left_corner = 0
18:9/0/terrains_peering_bit/left_side = 0
18:9/0/terrains_peering_bit/top_left_corner = 2
18:9/0/terrains_peering_bit/top_side = 3
18:9/0/terrains_peering_bit/top_right_corner = 2
19:9/animation_columns = 1
19:9/animation_frame_0/duration = 1.0
19:9/animation_frame_1/duration = 1.0
19:9/0 = 0
19:9/0/terrain_set = 0
19:9/0/terrain = 0
19:9/0/terrains_peering_bit/right_side = 0
19:9/0/terrains_peering_bit/bottom_right_corner = 0
19:9/0/terrains_peering_bit/bottom_side = 0
19:9/0/terrains_peering_bit/bottom_left_corner = 0
19:9/0/terrains_peering_bit/left_side = 0
19:9/0/terrains_peering_bit/top_left_corner = 3
19:9/0/terrains_peering_bit/top_side = 0
19:9/0/terrains_peering_bit/top_right_corner = 0
18:7/animation_speed = 5.0
18:7/animation_frame_0/duration = 1.0
18:7/animation_frame_1/duration = 1.0
18:7/animation_frame_2/duration = 1.0
18:7/0 = 0
18:7/0/terrain_set = 0
18:7/0/terrains_peering_bit/bottom_side = 3
18:7/0/terrains_peering_bit/top_side = 3
[resource]
occlusion_layer_0/light_mask = 1
physics_layer_0/collision_layer = 1
terrain_set_0/mode = 0
terrain_set_0/terrain_0/name = "Water"
terrain_set_0/terrain_0/color = Color(1.61238e-06, 0.449566, 0.386567, 1)
terrain_set_0/terrain_1/name = "Grass"
terrain_set_0/terrain_1/color = Color(0.488292, 0.908732, 0, 1)
terrain_set_0/terrain_2/name = "Cliff"
terrain_set_0/terrain_2/color = Color(0.332927, 0.267537, 0, 1)
terrain_set_0/terrain_3/name = "Waterfall"
terrain_set_0/terrain_3/color = Color(0.832852, 0, 0.35566, 1)
sources/0 = SubResource("TileSetAtlasSource_k2klg")

34
Tiles/cave.png.import Normal file
View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bil4hxw0m0rgx"
path="res://.godot/imported/cave.png-88af860d6b61389e70ae8147dfc78431.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Tiles/cave.png"
dest_files=["res://.godot/imported/cave.png-88af860d6b61389e70ae8147dfc78431.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

34
Tiles/objects.png.import Normal file
View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dsdigeay4v544"
path="res://.godot/imported/objects.png-8bef9fd0613d0c933ed151abf08be38b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Tiles/objects.png"
dest_files=["res://.godot/imported/objects.png-8bef9fd0613d0c933ed151abf08be38b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

17
camera.gd Normal file
View File

@ -0,0 +1,17 @@
extends Camera2D
@onready var global = $"/root/Player"
var targetPosition = Vector2(0,0)
var moving = true
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass
global.connect("playerPosition",setTargetPosition)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
if moving == true:
self.set_position(targetPosition)
func setTargetPosition(pos):
targetPosition = pos

95
dem1301.tmp Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11
globals/player.gd Normal file
View File

@ -0,0 +1,11 @@
extends Node
signal playerPosition(pos)
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

View File

@ -1,34 +1,24 @@
extends CharacterBody2D
@onready var global = $"/root/Player"
const SPEED = 100.0
const SPEED = 350.0
func _physics_process(delta: float) -> void:
var direction := Input.get_axis("left", "right")
var updownDirection:=Input.get_axis("up","down")
if direction:
velocity.x = direction * SPEED
else:
velocity.x = move_toward(velocity.x, 0, SPEED)
if updownDirection:
velocity.y = updownDirection *SPEED
else:
velocity.y = move_toward(velocity.y,0,SPEED)
animation(direction,updownDirection)
move_and_slide()
global.emit_signal("playerPosition",self.global_position)
movement()
func animation(directionX,directionY):
if directionX == 0 and directionY == 0:
$"AnimatedSprite2D".set_frame(0)
$"AnimatedSprite2D".pause()
if directionX < 0:
$"AnimatedSprite2D".play("WalkLeft")
elif directionX > 0:
$"AnimatedSprite2D".play("WalkRight")
if directionY > 0 and directionX == 0:
$"AnimatedSprite2D".play("WalkDown")
elif directionY < 0 and directionX ==0:
$"AnimatedSprite2D".play("WalkUp")
func animation():
pass
func movement():
var vertical = Input.get_axis("up","down")
var horizontal = Input.get_axis("left","right")
if is_equal_approx(abs(vertical),1.0) and is_equal_approx(abs(horizontal),1.0):
velocity.y = SPEED*vertical/2
velocity.x = SPEED*horizontal/2
else:
velocity.y = SPEED * vertical
velocity.x = SPEED * horizontal
move_and_slide()
$"../Camera2D/Label".text = (str(self.global_position))

View File

@ -11,9 +11,19 @@ config_version=5
[application]
config/name="birb"
run/main_scene="res://demo.tscn"
config/features=PackedStringArray("4.3", "GL Compatibility")
config/icon="res://icon.svg"
[autoload]
Player="*res://globals/player.gd"
[display]
window/stretch/mode="canvas_items"
window/stretch/scale_mode="integer"
[dotnet]
project/assembly_name="birb"
@ -23,6 +33,33 @@ project/assembly_name="birb"
version_control/plugin_name="GitPlugin"
version_control/autoload_on_startup=true
[input]
up={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null)
]
}
down={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null)
]
}
left={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null)
]
}
right={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null)
]
}
[rendering]
renderer/rendering_method="gl_compatibility"