From 3f4c07d2cf57bd364af6b09a3d5381d148aa713e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 22 Jan 2021 16:40:46 +0100 Subject: New Characters! New Levels! --- Levels/Level_0002.tscn | 297 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 297 insertions(+) create mode 100644 Levels/Level_0002.tscn (limited to 'Levels/Level_0002.tscn') diff --git a/Levels/Level_0002.tscn b/Levels/Level_0002.tscn new file mode 100644 index 0000000..b74847c --- /dev/null +++ b/Levels/Level_0002.tscn @@ -0,0 +1,297 @@ +[gd_scene load_steps=26 format=2] + +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/1.png" type="Texture" id=1] +[ext_resource path="res://Characters/Character.tscn" type="PackedScene" id=2] +[ext_resource path="res://Objects/Flag.tscn" type="PackedScene" id=3] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/3.png" type="Texture" id=4] +[ext_resource path="res://Objects/CheckFall.tscn" type="PackedScene" id=5] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/2.png" type="Texture" id=6] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/15.png" type="Texture" id=7] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/16.png" type="Texture" id=8] +[ext_resource path="res://Levels/Level_0002.gd" type="Script" id=9] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/14.png" type="Texture" id=10] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/6.png" type="Texture" id=11] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/4.png" type="Texture" id=12] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Tree_2.png" type="Texture" id=13] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Igloo.png" type="Texture" id=14] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Tree_1.png" type="Texture" id=15] + +[sub_resource type="ConvexPolygonShape2D" id=1] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=2] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=3] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=5] +points = PoolVector2Array( 128, 96, 0, 32, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=6] +points = PoolVector2Array( 128, 96, 0, 96, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=7] +points = PoolVector2Array( 128, 32, 0, 96, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=8] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=9] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=10] +points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) + +[sub_resource type="TileSet" id=4] +0/name = "1.png 0" +0/texture = ExtResource( 1 ) +0/tex_offset = Vector2( 0, 0 ) +0/modulate = Color( 1, 1, 1, 1 ) +0/region = Rect2( 0, 0, 128, 128 ) +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 = 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 ) +} ] +0/z_index = 0 +1/name = "2.png 1" +1/texture = ExtResource( 6 ) +1/tex_offset = Vector2( 0, 0 ) +1/modulate = Color( 1, 1, 1, 1 ) +1/region = Rect2( 0, 0, 128, 128 ) +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 = SubResource( 2 ) +1/shape_one_way = false +1/shape_one_way_margin = 1.0 +1/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 2 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +1/z_index = 0 +2/name = "3.png 2" +2/texture = ExtResource( 4 ) +2/tex_offset = Vector2( 0, 0 ) +2/modulate = Color( 1, 1, 1, 1 ) +2/region = Rect2( 0, 0, 128, 128 ) +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 = SubResource( 3 ) +2/shape_one_way = false +2/shape_one_way_margin = 1.0 +2/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 3 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +2/z_index = 0 +3/name = "14.png 3" +3/texture = ExtResource( 10 ) +3/tex_offset = Vector2( 0, 0 ) +3/modulate = Color( 1, 1, 1, 1 ) +3/region = Rect2( 0, 0, 128, 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 = SubResource( 5 ) +3/shape_one_way = false +3/shape_one_way_margin = 1.0 +3/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 5 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +3/z_index = 0 +4/name = "15.png 4" +4/texture = ExtResource( 7 ) +4/tex_offset = Vector2( 0, 0 ) +4/modulate = Color( 1, 1, 1, 1 ) +4/region = Rect2( 0, 0, 128, 96 ) +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 = SubResource( 6 ) +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, +"shape": SubResource( 6 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +4/z_index = 0 +5/name = "16.png 5" +5/texture = ExtResource( 8 ) +5/tex_offset = Vector2( 0, 0 ) +5/modulate = Color( 1, 1, 1, 1 ) +5/region = Rect2( 0, 0, 128, 96 ) +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 = SubResource( 7 ) +5/shape_one_way = false +5/shape_one_way_margin = 1.0 +5/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 7 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +5/z_index = 0 +6/name = "4.png 6" +6/texture = ExtResource( 12 ) +6/tex_offset = Vector2( 0, 0 ) +6/modulate = Color( 1, 1, 1, 1 ) +6/region = Rect2( 0, 0, 128, 128 ) +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 = SubResource( 8 ) +6/shape_one_way = false +6/shape_one_way_margin = 1.0 +6/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 8 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +6/z_index = 0 +7/name = "6.png 7" +7/texture = ExtResource( 11 ) +7/tex_offset = Vector2( 0, 0 ) +7/modulate = Color( 1, 1, 1, 1 ) +7/region = Rect2( 0, 0, 128, 128 ) +7/tile_mode = 0 +7/occluder_offset = Vector2( 0, 0 ) +7/navigation_offset = Vector2( 0, 0 ) +7/shape_offset = Vector2( 0, 0 ) +7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +7/shape = SubResource( 9 ) +7/shape_one_way = false +7/shape_one_way_margin = 1.0 +7/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 9 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +7/z_index = 0 +8/name = "Igloo.png 8" +8/texture = ExtResource( 14 ) +8/tex_offset = Vector2( 0, 0 ) +8/modulate = Color( 1, 1, 1, 1 ) +8/region = Rect2( 0, 0, 512, 224 ) +8/tile_mode = 0 +8/occluder_offset = Vector2( 0, 0 ) +8/navigation_offset = Vector2( 0, 0 ) +8/shape_offset = Vector2( 0, 0 ) +8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +8/shape = SubResource( 10 ) +8/shape_one_way = false +8/shape_one_way_margin = 1.0 +8/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 10 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +8/z_index = 0 +9/name = "Tree_2.png 9" +9/texture = ExtResource( 13 ) +9/tex_offset = Vector2( 0, 0 ) +9/modulate = Color( 1, 1, 1, 1 ) +9/region = Rect2( 0, 0, 224, 256 ) +9/tile_mode = 0 +9/occluder_offset = Vector2( 0, 0 ) +9/navigation_offset = Vector2( 0, 0 ) +9/shape_offset = Vector2( 0, 0 ) +9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +9/shape_one_way = false +9/shape_one_way_margin = 0.0 +9/shapes = [ ] +9/z_index = 0 +10/name = "Tree_1.png 10" +10/texture = ExtResource( 15 ) +10/tex_offset = Vector2( 0, 0 ) +10/modulate = Color( 1, 1, 1, 1 ) +10/region = Rect2( 0, 0, 352, 256 ) +10/tile_mode = 0 +10/occluder_offset = Vector2( 0, 0 ) +10/navigation_offset = Vector2( 0, 0 ) +10/shape_offset = Vector2( 0, 0 ) +10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +10/shape_one_way = false +10/shape_one_way_margin = 0.0 +10/shapes = [ ] +10/z_index = 0 + +[node name="Level_0002" type="Node2D"] +script = ExtResource( 9 ) + +[node name="TileMap" type="TileMap" parent="."] +scale = Vector2( 0.2, 0.2 ) +tile_set = SubResource( 4 ) +cell_quadrant_size = 64 +collision_layer = 2 +collision_mask = 15 +format = 1 +tile_data = PoolIntArray( -1441784, 7, 0, -1310712, 7, 0, -1179640, 7, 0, -1048568, 7, 0, -917496, 7, 0, -786424, 7, 0, -786377, 10, 0, -655352, 7, 0, -655294, 3, 0, -655292, 5, 0, -589777, 10, 0, -524280, 7, 0, -524232, 3, 0, -524230, 5, 0, -393208, 7, 0, -327632, 3, 0, -327630, 5, 0, -262136, 7, 0, -262130, 9, 0, -196570, 8, 0, -131064, 7, 0, 8, 7, 0, 14, 0, 0, 16, 1, 0, 18, 1, 0, 20, 1, 0, 22, 1, 0, 24, 1, 0, 26, 1, 0, 28, 1, 0, 30, 1, 0, 32, 1, 0, 34, 1, 0, 36, 1, 0, 38, 1, 0, 40, 1, 0, 42, 1, 0, 44, 1, 0, 131080, 7, 0, 131086, 6, 0, 262152, 7, 0, 262158, 6, 0, 393224, 7, 0, 393230, 6, 0, 524296, 7, 0, 524302, 6, 0, 655368, 7, 0, 655374, 6, 0, 786440, 7, 0, 786446, 6, 0, 917512, 7, 0, 917518, 6, 0, 1048584, 7, 0, 1048603, 9, 0, 1179656, 7, 0, 1310728, 0, 0, 1310730, 1, 0, 1310732, 1, 0, 1310734, 1, 0, 1310736, 1, 0, 1310738, 1, 0, 1310740, 1, 0, 1310742, 1, 0, 1310744, 1, 0, 1310746, 1, 0, 1310748, 1, 0 ) + +[node name="Flag" parent="." instance=ExtResource( 3 )] +position = Vector2( 888, -160 ) +scale = Vector2( 2, 2 ) + +[node name="Character" parent="." instance=ExtResource( 2 )] +position = Vector2( 328, 240 ) + +[node name="Camera2D" type="Camera2D" parent="Character"] +current = true +zoom = Vector2( 0.5, 0.5 ) +limit_left = 75 +limit_top = -300 +limit_right = 950 +limit_bottom = 300 +drag_margin_h_enabled = true +drag_margin_v_enabled = true +editor_draw_limits = true + +[node name="CheckFall" parent="." instance=ExtResource( 5 )] +position = Vector2( 472, 320 ) +scale = Vector2( 3, 1 ) -- cgit v1.2.3