diff --git a/autoloads/level_data.tscn b/autoloads/level_data.tscn index ff38081..01ff204 100644 --- a/autoloads/level_data.tscn +++ b/autoloads/level_data.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=17 format=2] +[gd_scene load_steps=19 format=2] [ext_resource path="res://autoloads/level_data.gd" type="Script" id=1] [ext_resource path="res://maps/hills.tscn" type="PackedScene" id=2] @@ -9,6 +9,7 @@ [ext_resource path="res://maps/abyss.tscn" type="PackedScene" id=7] [ext_resource path="res://maps/boss/boss1_arena.tscn" type="PackedScene" id=8] [ext_resource path="res://maps/rust.tscn" type="PackedScene" id=9] +[ext_resource path="res://maps/station.tscn" type="PackedScene" id=10] [sub_resource type="Resource" id=1] resource_name = "Verdant Hills" @@ -66,6 +67,14 @@ shard_titles = [ "Precarious Block", "Beside the button", "Saws and bullets", "B save_id = "rust" scene = ExtResource( 9 ) +[sub_resource type="Resource" id=8] +resource_name = "Police Station" +script = ExtResource( 5 ) +title = "Police Station" +shard_titles = [ "All", "Cops", "Are", "Bastards", "5 Rainbow Stars", "Collection Bonus", "Time Bonus", "Life Bonus" ] +save_id = "station" +scene = ExtResource( 10 ) + [node name="LevelData" type="Node"] script = ExtResource( 1 ) -levels = [ SubResource( 1 ), SubResource( 2 ), SubResource( 4 ), SubResource( 6 ), SubResource( 3 ), SubResource( 5 ), SubResource( 7 ) ] +levels = [ SubResource( 1 ), SubResource( 2 ), SubResource( 4 ), SubResource( 6 ), SubResource( 3 ), SubResource( 5 ), SubResource( 7 ), SubResource( 8 ) ] diff --git a/graphics/backgrounds/night.png b/graphics/backgrounds/night.png index 32a9a61..3e693d4 100644 Binary files a/graphics/backgrounds/night.png and b/graphics/backgrounds/night.png differ diff --git a/graphics/enemy/cop/cop_idle.png.import b/graphics/enemy/cop/cop_idle.png.import new file mode 100644 index 0000000..147dccd --- /dev/null +++ b/graphics/enemy/cop/cop_idle.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/cop_idle.png-61e8342149402c57abbb7d9f292f6738.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/enemy/cop/cop_idle.png" +dest_files=[ "res://.import/cop_idle.png-61e8342149402c57abbb7d9f292f6738.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=true +svg/scale=1.0 diff --git a/graphics/enemy/cop/cop_shoot.png.import b/graphics/enemy/cop/cop_shoot.png.import new file mode 100644 index 0000000..d107d39 --- /dev/null +++ b/graphics/enemy/cop/cop_shoot.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/cop_shoot.png-7a1b6ca4069ac0f99c04c2a88c7e4ebd.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/enemy/cop/cop_shoot.png" +dest_files=[ "res://.import/cop_shoot.png-7a1b6ca4069ac0f99c04c2a88c7e4ebd.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=true +svg/scale=1.0 diff --git a/graphics/enemy/cop/cop_walk.png.import b/graphics/enemy/cop/cop_walk.png.import new file mode 100644 index 0000000..70f42ea --- /dev/null +++ b/graphics/enemy/cop/cop_walk.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/cop_walk.png-e754cdca0ddd2cc2ab634dc56d6f10e3.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/enemy/cop/cop_walk.png" +dest_files=[ "res://.import/cop_walk.png-e754cdca0ddd2cc2ab634dc56d6f10e3.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=true +svg/scale=1.0 diff --git a/graphics/tiles/station.png b/graphics/tiles/station.png new file mode 100644 index 0000000..d4ad704 Binary files /dev/null and b/graphics/tiles/station.png differ diff --git a/graphics/tiles/station.png.import b/graphics/tiles/station.png.import new file mode 100644 index 0000000..3e61cc9 --- /dev/null +++ b/graphics/tiles/station.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/station.png-4eb11027802e381a956d4abc935ed543.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/tiles/station.png" +dest_files=[ "res://.import/station.png-4eb11027802e381a956d4abc935ed543.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=true +svg/scale=1.0 diff --git a/tilesets/t_station.tres b/tilesets/t_station.tres new file mode 100644 index 0000000..9040be9 --- /dev/null +++ b/tilesets/t_station.tres @@ -0,0 +1,63 @@ +[gd_resource type="TileSet" load_steps=6 format=2] + +[ext_resource path="res://graphics/tiles/station.png" type="Texture" id=1] + +[sub_resource type="ConvexPolygonShape2D" id=1] +points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=2] +points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=3] +points = PoolVector2Array( 8, 8, 2, 8, 5, 6, 8, 4 ) + +[sub_resource type="ConvexPolygonShape2D" id=4] +points = PoolVector2Array( 8, 8, 0, 8, 0, 4, 8, 0 ) + +[resource] +0/name = "station.png 0" +0/texture = ExtResource( 1 ) +0/tex_offset = Vector2( 0, 0 ) +0/modulate = Color( 1, 1, 1, 1 ) +0/region = Rect2( 0, 0, 32, 40 ) +0/tile_mode = 2 +0/autotile/icon_coordinate = Vector2( 0, 0 ) +0/autotile/tile_size = Vector2( 8, 8 ) +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 = SubResource( 1 ) +0/shape_one_way = false +0/shape_one_way_margin = 1.0 +0/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 1 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +}, { +"autotile_coord": Vector2( 1, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 2 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +}, { +"autotile_coord": Vector2( 2, 1 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 3 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +}, { +"autotile_coord": Vector2( 3, 1 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 4 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +0/z_index = 0