Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Prototype/Assets/Level/Building/BlueBuilding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Prototype/Assets/Level/Building/Building.png
Binary file not shown.
Binary file modified Prototype/Assets/Level/Building/RedBuilding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 0 additions & 47 deletions Prototype/Assets/Level/Ground/MarchingSquaresTileset.tres

This file was deleted.

Binary file added Prototype/Assets/Level/Ground/brick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Building.png-06473f3cc0803167254166bd9a7d2df5.stex"
path="res://.import/brick.png-4845405a23ce8644633cac2041d78f4c.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/Level/Building/Building.png"
dest_files=[ "res://.import/Building.png-06473f3cc0803167254166bd9a7d2df5.stex" ]
source_file="res://Assets/Level/Ground/brick.png"
dest_files=[ "res://.import/brick.png-4845405a23ce8644633cac2041d78f4c.stex" ]

[params]

Expand Down
Binary file added Prototype/Assets/Level/Ground/grass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions Prototype/Assets/Level/Ground/grass.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/grass.png-0ecbf753022bcd6cf34399df4e0ead8f.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/Level/Ground/grass.png"
dest_files=[ "res://.import/grass.png-0ecbf753022bcd6cf34399df4e0ead8f.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file modified Prototype/Assets/Level/Ground/tileset_Ground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Prototype/Assets/Level/Ground/water.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions Prototype/Assets/Level/Ground/water.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/water.png-b42eace4814783a965fc1a64036c0782.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Assets/Level/Ground/water.png"
dest_files=[ "res://.import/water.png-b42eace4814783a965fc1a64036c0782.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
200 changes: 96 additions & 104 deletions Prototype/Assets/Res/Level_Tileset.tres
Original file line number Diff line number Diff line change
@@ -1,112 +1,12 @@
[gd_resource type="TileSet" load_steps=4 format=2]
[gd_resource type="TileSet" load_steps=6 format=2]

[ext_resource path="res://Assets/Level/Ground/tileset_Ground.png" type="Texture" id=1]
[ext_resource path="res://Assets/Level/Tress/Trees.png" type="Texture" id=2]
[ext_resource path="res://Assets/Level/NavTile/NavTile.png" type="Texture" id=3]
[ext_resource path="res://Assets/Level/Ground/water.png" type="Texture" id=4]
[ext_resource path="res://Assets/Level/Ground/grass.png" type="Texture" id=5]
[ext_resource path="res://Assets/Level/Ground/brick.png" type="Texture" id=6]

[resource]
0/name = "FlowerUnder"
0/texture = ExtResource( 1 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 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 = "GrassUnder"
1/texture = ExtResource( 1 )
1/tex_offset = Vector2( 0, 0 )
1/modulate = Color( 1, 1, 1, 1 )
1/region = Rect2( 8, 0, 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 = "Brick"
2/texture = ExtResource( 1 )
2/tex_offset = Vector2( 0, 0 )
2/modulate = Color( 1, 1, 1, 1 )
2/region = Rect2( 0, 0, 208, 40 )
2/tile_mode = 1
2/autotile/bitmask_mode = 1
2/autotile/bitmask_flags = [ Vector2( 3, 0 ), 432, Vector2( 3, 1 ), 438, Vector2( 3, 2 ), 54, Vector2( 3, 3 ), 48, Vector2( 4, 0 ), 504, Vector2( 4, 1 ), 511, Vector2( 4, 2 ), 63, Vector2( 4, 3 ), 56, Vector2( 5, 0 ), 216, Vector2( 5, 1 ), 219, Vector2( 5, 2 ), 27, Vector2( 5, 3 ), 24, Vector2( 6, 0 ), 144, Vector2( 6, 1 ), 146, Vector2( 6, 2 ), 18, Vector2( 6, 3 ), 16, Vector2( 7, 0 ), 176, Vector2( 7, 1 ), 182, Vector2( 7, 2 ), 434, Vector2( 7, 3 ), 50, Vector2( 7, 4 ), 178, Vector2( 8, 0 ), 248, Vector2( 8, 1 ), 255, Vector2( 8, 2 ), 507, Vector2( 8, 3 ), 59, Vector2( 8, 4 ), 251, Vector2( 9, 0 ), 440, Vector2( 9, 1 ), 447, Vector2( 9, 2 ), 510, Vector2( 9, 3 ), 62, Vector2( 9, 4 ), 446, Vector2( 10, 0 ), 152, Vector2( 10, 1 ), 155, Vector2( 10, 2 ), 218, Vector2( 10, 3 ), 26, Vector2( 10, 4 ), 154, Vector2( 11, 0 ), 184, Vector2( 11, 1 ), 191, Vector2( 11, 2 ), 506, Vector2( 11, 3 ), 58, Vector2( 11, 4 ), 186, Vector2( 12, 0 ), 443, Vector2( 12, 1 ), 254, Vector2( 12, 2 ), 442, Vector2( 12, 3 ), 190, Vector2( 13, 2 ), 250, Vector2( 13, 3 ), 187 ]
2/autotile/icon_coordinate = Vector2( 4, 1 )
2/autotile/tile_size = Vector2( 8, 8 )
2/autotile/spacing = 0
2/autotile/occluder_map = [ ]
2/autotile/navpoly_map = [ ]
2/autotile/priority_map = [ ]
2/autotile/z_index_map = [ ]
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 = "Grass"
3/texture = ExtResource( 1 )
3/tex_offset = Vector2( 0, 0 )
3/modulate = Color( 1, 1, 1, 1 )
3/region = Rect2( 0, 0, 208, 40 )
3/tile_mode = 1
3/autotile/bitmask_mode = 1
3/autotile/bitmask_flags = [ Vector2( 15, 0 ), 432, Vector2( 15, 1 ), 438, Vector2( 15, 2 ), 54, Vector2( 15, 3 ), 48, Vector2( 16, 0 ), 504, Vector2( 16, 1 ), 511, Vector2( 16, 2 ), 63, Vector2( 16, 3 ), 56, Vector2( 17, 0 ), 216, Vector2( 17, 1 ), 219, Vector2( 17, 2 ), 27, Vector2( 17, 3 ), 24, Vector2( 18, 0 ), 144, Vector2( 18, 1 ), 146, Vector2( 18, 2 ), 18, Vector2( 18, 3 ), 16, Vector2( 19, 0 ), 176, Vector2( 19, 1 ), 182, Vector2( 19, 2 ), 434, Vector2( 19, 3 ), 50, Vector2( 19, 4 ), 178, Vector2( 20, 0 ), 248, Vector2( 20, 1 ), 255, Vector2( 20, 2 ), 507, Vector2( 20, 3 ), 59, Vector2( 20, 4 ), 251, Vector2( 21, 0 ), 440, Vector2( 21, 1 ), 447, Vector2( 21, 2 ), 510, Vector2( 21, 3 ), 62, Vector2( 21, 4 ), 446, Vector2( 22, 0 ), 152, Vector2( 22, 1 ), 155, Vector2( 22, 2 ), 218, Vector2( 22, 3 ), 26, Vector2( 22, 4 ), 154, Vector2( 23, 0 ), 184, Vector2( 23, 1 ), 191, Vector2( 23, 2 ), 506, Vector2( 23, 3 ), 58, Vector2( 23, 4 ), 186, Vector2( 24, 0 ), 443, Vector2( 24, 1 ), 254, Vector2( 24, 2 ), 442, Vector2( 24, 3 ), 190, Vector2( 25, 2 ), 250, Vector2( 25, 3 ), 187 ]
3/autotile/icon_coordinate = Vector2( 16, 1 )
3/autotile/tile_size = Vector2( 8, 8 )
3/autotile/spacing = 0
3/autotile/occluder_map = [ ]
3/autotile/navpoly_map = [ ]
3/autotile/priority_map = [ ]
3/autotile/z_index_map = [ ]
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 = "OneBrick"
4/texture = ExtResource( 1 )
4/tex_offset = Vector2( 0, 0 )
4/modulate = Color( 1, 1, 1, 1 )
4/region = Rect2( 32, 8, 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
5/name = "OneGrass"
5/texture = ExtResource( 1 )
5/tex_offset = Vector2( 0, 0 )
5/modulate = Color( 1, 1, 1, 1 )
5/region = Rect2( 128, 8, 8, 8 )
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 = "Tree1"
6/texture = ExtResource( 2 )
6/tex_offset = Vector2( -12, -35 )
Expand Down Expand Up @@ -163,3 +63,95 @@
9/shape_one_way_margin = 0.0
9/shapes = [ ]
9/z_index = 0
12/name = "water"
12/texture = ExtResource( 4 )
12/tex_offset = Vector2( 0, 0 )
12/modulate = Color( 1, 1, 1, 0.717647 )
12/region = Rect2( 0, 0, 88, 40 )
12/tile_mode = 1
12/autotile/bitmask_mode = 1
12/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 443, Vector2( 9, 1 ), 254, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ]
12/autotile/icon_coordinate = Vector2( 1, 1 )
12/autotile/tile_size = Vector2( 8, 8 )
12/autotile/spacing = 0
12/autotile/occluder_map = [ ]
12/autotile/navpoly_map = [ ]
12/autotile/priority_map = [ ]
12/autotile/z_index_map = [ ]
12/occluder_offset = Vector2( 0, 0 )
12/navigation_offset = Vector2( 0, 0 )
12/shape_offset = Vector2( 0, 0 )
12/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
12/shape_one_way = false
12/shape_one_way_margin = 0.0
12/shapes = [ ]
12/z_index = 0
13/name = "brick"
13/texture = ExtResource( 6 )
13/tex_offset = Vector2( 0, 0 )
13/modulate = Color( 1, 1, 1, 1 )
13/region = Rect2( 0, 0, 88, 40 )
13/tile_mode = 1
13/autotile/bitmask_mode = 1
13/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 443, Vector2( 9, 1 ), 254, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ]
13/autotile/icon_coordinate = Vector2( 1, 1 )
13/autotile/tile_size = Vector2( 8, 8 )
13/autotile/spacing = 0
13/autotile/occluder_map = [ ]
13/autotile/navpoly_map = [ ]
13/autotile/priority_map = [ ]
13/autotile/z_index_map = [ ]
13/occluder_offset = Vector2( 0, 0 )
13/navigation_offset = Vector2( 0, 0 )
13/shape_offset = Vector2( 0, 0 )
13/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
13/shape_one_way = false
13/shape_one_way_margin = 0.0
13/shapes = [ ]
13/z_index = 0
14/name = "grass"
14/texture = ExtResource( 5 )
14/tex_offset = Vector2( 0, 0 )
14/modulate = Color( 1, 1, 1, 1 )
14/region = Rect2( 0, 0, 88, 40 )
14/tile_mode = 1
14/autotile/bitmask_mode = 1
14/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 254, Vector2( 9, 1 ), 254, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ]
14/autotile/icon_coordinate = Vector2( 3, 3 )
14/autotile/tile_size = Vector2( 8, 8 )
14/autotile/spacing = 0
14/autotile/occluder_map = [ ]
14/autotile/navpoly_map = [ ]
14/autotile/priority_map = [ ]
14/autotile/z_index_map = [ ]
14/occluder_offset = Vector2( 0, 0 )
14/navigation_offset = Vector2( 0, 0 )
14/shape_offset = Vector2( 0, 0 )
14/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
14/shape_one_way = false
14/shape_one_way_margin = 0.0
14/shapes = [ ]
14/z_index = 0
15/name = "ground"
15/texture = ExtResource( 5 )
15/tex_offset = Vector2( 0, 0 )
15/modulate = Color( 1, 1, 1, 1 )
15/region = Rect2( 0, 32, 16, 8 )
15/tile_mode = 1
15/autotile/bitmask_mode = 0
15/autotile/bitmask_flags = [ Vector2( 0, 0 ), 325, Vector2( 1, 0 ), 325 ]
15/autotile/icon_coordinate = Vector2( 0, 0 )
15/autotile/tile_size = Vector2( 8, 8 )
15/autotile/spacing = 0
15/autotile/occluder_map = [ ]
15/autotile/navpoly_map = [ ]
15/autotile/priority_map = [ ]
15/autotile/z_index_map = [ ]
15/occluder_offset = Vector2( 0, 0 )
15/navigation_offset = Vector2( 0, 0 )
15/shape_offset = Vector2( 0, 0 )
15/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
15/shape_one_way = false
15/shape_one_way_margin = 0.0
15/shapes = [ ]
15/z_index = 0
4 changes: 2 additions & 2 deletions Prototype/Autoloads/Units.gd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func spawn_one(team: int, packed_scene: PackedScene, parent_node: Node2D, spawn_
func try_spawn_creep_wave(parent_node: Node2D) -> void:
for t in arena_teams.keys():
var new_creep_group: YSort = null
if creep_group_pool_count < creep_group_max_pool_count and not creep_group_pool_count > creep_group_max_pool_count:
if creep_group_pool_count < creep_group_max_pool_count:
new_creep_group = spawn_one(t, CreepGroupClass, parent_node, arena_teams[t].mid_creep_spawner_position)
creep_group_pool_count += 2
else:
Expand Down Expand Up @@ -244,7 +244,7 @@ func get_navmap() -> Navigation2D:


func _setup_navigation() -> void:
navmap = get_tree().get_nodes_in_group("navigation")[0]
navmap = get_tree().get_nodes_in_group("navigation")[0]


func _sort_by_health(a: Dictionary, b: Dictionary) -> bool:
Expand Down
64 changes: 0 additions & 64 deletions Prototype/Battlefield/AreaDecoration.tscn

This file was deleted.

Loading