From aef396151234aa21af4a658ea11f03ea9434961c Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Thu, 14 Apr 2022 16:36:24 +0530 Subject: Graphics and SFX Changes * Adds Background parallax images (not exactly parallax since we have a fixed camera) * Adds SFX * Fixes Pickable collisions and SFX playback --- tileset/main_tileset.tres | 152 +++++++++++++++----- tileset/tileset.tscn | 354 +++++----------------------------------------- 2 files changed, 150 insertions(+), 356 deletions(-) (limited to 'tileset') diff --git a/tileset/main_tileset.tres b/tileset/main_tileset.tres index c0733c8..44cd41b 100644 --- a/tileset/main_tileset.tres +++ b/tileset/main_tileset.tres @@ -1,10 +1,70 @@ -[gd_resource type="TileSet" load_steps=3 format=2] +[gd_resource type="TileSet" load_steps=23 format=2] [ext_resource path="res://tileset/Terrain (16x16).png" type="Texture" id=1] +[sub_resource type="ConvexPolygonShape2D" id=2] +points = PoolVector2Array( -10, 10, -10, -10, 10, -10, 0, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=3] +points = PoolVector2Array( 10, -10, 10, 0, 0, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=4] +points = PoolVector2Array( 0, 0, 0, 10, -10, 10 ) + +[sub_resource type="ConvexPolygonShape2D" id=6] +points = PoolVector2Array( -8, -8, 8, -8, 8, 0, -8, 0 ) + [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 8, 8 ) +[sub_resource type="ConvexPolygonShape2D" id=7] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=8] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=9] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=5] +points = PoolVector2Array( -8, -8, 0, -8, 0, 8, -8, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=10] +points = PoolVector2Array( 0, -8, 8, -8, 8, 8, 0, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=11] +points = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=12] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=13] +points = PoolVector2Array( -8, 0, 4, 0, 4, 8, -8, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=14] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=15] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=16] +points = PoolVector2Array( -8, 0, 8, 0, 8, 8, -8, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=17] +points = PoolVector2Array( -8, 8, -8, 0, 0, 0, 8, 8 ) + +[sub_resource type="ConvexPolygonShape2D" id=18] +points = PoolVector2Array( 8, -8, 8, 8, 0, 0, 0, -8 ) + +[sub_resource type="ConvexPolygonShape2D" id=19] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=20] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + +[sub_resource type="ConvexPolygonShape2D" id=21] +points = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) + [resource] 0/name = "Sprite" 0/texture = ExtResource( 1 ) @@ -15,16 +75,28 @@ extents = Vector2( 8, 8 ) 0/occluder_offset = Vector2( 8, 8 ) 0/navigation_offset = Vector2( 8, 8 ) 0/shape_offset = Vector2( 8, 8 ) -0/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -0/shape = SubResource( 1 ) +0/shape_transform = Transform2D( 0.8, 0, 0, 0.8, 8, 8 ) +0/shape = SubResource( 2 ) 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, 8, 8 ) +"shape": SubResource( 2 ), +"shape_transform": Transform2D( 0.8, 0, 0, 0.8, 8, 8 ) +}, { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 3 ), +"shape_transform": Transform2D( 0.8, 0, 0, 0.8, 8, 8 ) +}, { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 4 ), +"shape_transform": Transform2D( 0.8, 0, 0, 0.8, 8, 8 ) } ] 0/z_index = 0 1/name = "Sprite2" @@ -37,14 +109,14 @@ extents = Vector2( 8, 8 ) 1/navigation_offset = Vector2( 8, 8 ) 1/shape_offset = Vector2( 8, 8 ) 1/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -1/shape = SubResource( 1 ) +1/shape = SubResource( 6 ) 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( 1 ), +"shape": SubResource( 6 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 1/z_index = 0 @@ -79,14 +151,14 @@ extents = Vector2( 8, 8 ) 3/navigation_offset = Vector2( 8, 8 ) 3/shape_offset = Vector2( 8, 8 ) 3/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -3/shape = SubResource( 1 ) +3/shape = SubResource( 11 ) 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( 1 ), +"shape": SubResource( 11 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 3/z_index = 0 @@ -100,14 +172,14 @@ extents = Vector2( 8, 8 ) 4/navigation_offset = Vector2( 8, 8 ) 4/shape_offset = Vector2( 8, 8 ) 4/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -4/shape = SubResource( 1 ) +4/shape = SubResource( 13 ) 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( 1 ), +"shape": SubResource( 13 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 4/z_index = 0 @@ -373,14 +445,14 @@ extents = Vector2( 8, 8 ) 17/navigation_offset = Vector2( 8, 8 ) 17/shape_offset = Vector2( 8, 8 ) 17/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -17/shape = SubResource( 1 ) +17/shape = SubResource( 7 ) 17/shape_one_way = false 17/shape_one_way_margin = 1.0 17/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 7 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 17/z_index = 0 @@ -394,14 +466,14 @@ extents = Vector2( 8, 8 ) 18/navigation_offset = Vector2( 8, 8 ) 18/shape_offset = Vector2( 8, 8 ) 18/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -18/shape = SubResource( 1 ) +18/shape = SubResource( 8 ) 18/shape_one_way = false 18/shape_one_way_margin = 1.0 18/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 8 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 18/z_index = 0 @@ -415,14 +487,14 @@ extents = Vector2( 8, 8 ) 19/navigation_offset = Vector2( 8, 8 ) 19/shape_offset = Vector2( 8, 8 ) 19/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -19/shape = SubResource( 1 ) +19/shape = SubResource( 9 ) 19/shape_one_way = false 19/shape_one_way_margin = 1.0 19/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 9 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 19/z_index = 0 @@ -478,14 +550,14 @@ extents = Vector2( 8, 8 ) 22/navigation_offset = Vector2( 8, 8 ) 22/shape_offset = Vector2( 8, 8 ) 22/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -22/shape = SubResource( 1 ) +22/shape = SubResource( 5 ) 22/shape_one_way = false 22/shape_one_way_margin = 1.0 22/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 5 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 22/z_index = 0 @@ -520,14 +592,14 @@ extents = Vector2( 8, 8 ) 24/navigation_offset = Vector2( 8, 8 ) 24/shape_offset = Vector2( 8, 8 ) 24/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -24/shape = SubResource( 1 ) +24/shape = SubResource( 10 ) 24/shape_one_way = false 24/shape_one_way_margin = 1.0 24/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 10 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 24/z_index = 0 @@ -835,14 +907,14 @@ extents = Vector2( 8, 8 ) 39/navigation_offset = Vector2( 8, 8 ) 39/shape_offset = Vector2( 8, 8 ) 39/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -39/shape = SubResource( 1 ) +39/shape = SubResource( 12 ) 39/shape_one_way = false 39/shape_one_way_margin = 1.0 39/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 12 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 39/z_index = 0 @@ -856,14 +928,14 @@ extents = Vector2( 8, 8 ) 40/navigation_offset = Vector2( 8, 8 ) 40/shape_offset = Vector2( 8, 8 ) 40/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -40/shape = SubResource( 1 ) +40/shape = SubResource( 14 ) 40/shape_one_way = false 40/shape_one_way_margin = 1.0 40/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 14 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 40/z_index = 0 @@ -877,14 +949,14 @@ extents = Vector2( 8, 8 ) 41/navigation_offset = Vector2( 8, 8 ) 41/shape_offset = Vector2( 8, 8 ) 41/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -41/shape = SubResource( 1 ) +41/shape = SubResource( 15 ) 41/shape_one_way = false 41/shape_one_way_margin = 1.0 41/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 15 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 41/z_index = 0 @@ -961,14 +1033,14 @@ extents = Vector2( 8, 8 ) 45/navigation_offset = Vector2( 8, 8 ) 45/shape_offset = Vector2( 8, 8 ) 45/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -45/shape = SubResource( 1 ) +45/shape = SubResource( 16 ) 45/shape_one_way = false 45/shape_one_way_margin = 1.0 45/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 16 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 45/z_index = 0 @@ -982,14 +1054,20 @@ extents = Vector2( 8, 8 ) 46/navigation_offset = Vector2( 8, 8 ) 46/shape_offset = Vector2( 8, 8 ) 46/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -46/shape = SubResource( 1 ) +46/shape = SubResource( 17 ) 46/shape_one_way = false 46/shape_one_way_margin = 1.0 46/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 17 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) +}, { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 18 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 46/z_index = 0 @@ -1297,14 +1375,14 @@ extents = Vector2( 8, 8 ) 61/navigation_offset = Vector2( 8, 8 ) 61/shape_offset = Vector2( 8, 8 ) 61/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -61/shape = SubResource( 1 ) +61/shape = SubResource( 19 ) 61/shape_one_way = false 61/shape_one_way_margin = 1.0 61/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 19 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 61/z_index = 0 @@ -1318,14 +1396,14 @@ extents = Vector2( 8, 8 ) 62/navigation_offset = Vector2( 8, 8 ) 62/shape_offset = Vector2( 8, 8 ) 62/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -62/shape = SubResource( 1 ) +62/shape = SubResource( 20 ) 62/shape_one_way = false 62/shape_one_way_margin = 1.0 62/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 20 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 62/z_index = 0 @@ -1339,14 +1417,14 @@ extents = Vector2( 8, 8 ) 63/navigation_offset = Vector2( 8, 8 ) 63/shape_offset = Vector2( 8, 8 ) 63/shape_transform = Transform2D( 1, 0, 0, 1, 8, 8 ) -63/shape = SubResource( 1 ) +63/shape = SubResource( 21 ) 63/shape_one_way = false 63/shape_one_way_margin = 1.0 63/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, -"shape": SubResource( 1 ), +"shape": SubResource( 21 ), "shape_transform": Transform2D( 1, 0, 0, 1, 8, 8 ) } ] 63/z_index = 0 diff --git a/tileset/tileset.tscn b/tileset/tileset.tscn index 97a4cd6..797c5c4 100644 --- a/tileset/tileset.tscn +++ b/tileset/tileset.tscn @@ -18,8 +18,9 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite/StaticBody2D"] +scale = Vector2( 0.8, 0.8 ) +polygon = PoolVector2Array( -10, -10, 10, -10, 10, 0, 0, 0, 0, 10, -10, 10 ) [node name="Sprite2" type="Sprite" parent="."] position = Vector2( 24, 16 ) @@ -33,8 +34,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite2"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite2/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, 0, -8, 0 ) [node name="Sprite3" type="Sprite" parent="."] position = Vector2( 40, 16 ) @@ -63,8 +64,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite4"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite4/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite4/StaticBody2D"] +polygon = PoolVector2Array( 0, 0, 8, 0, 8, 8, 0, 8 ) [node name="Sprite5" type="Sprite" parent="."] position = Vector2( 72, 16 ) @@ -78,23 +79,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite5"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite5/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite6" type="Sprite" parent="."] -position = Vector2( 88, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 5 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite6"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite6/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite5/StaticBody2D"] +polygon = PoolVector2Array( -8, 0, 4, 0, 4, 8, -8, 8 ) [node name="Sprite7" type="Sprite" parent="."] position = Vector2( 104, 16 ) @@ -171,21 +157,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite11/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite12" type="Sprite" parent="."] -position = Vector2( 184, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 11 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite12"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite12/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite13" type="Sprite" parent="."] position = Vector2( 200, 16 ) texture = ExtResource( 1 ) @@ -246,21 +217,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite16/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite17" type="Sprite" parent="."] -position = Vector2( 264, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 16 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite17"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite17/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite18" type="Sprite" parent="."] position = Vector2( 280, 16 ) texture = ExtResource( 1 ) @@ -273,8 +229,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite18"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite18/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite18/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite19" type="Sprite" parent="."] position = Vector2( 296, 16 ) @@ -288,8 +244,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite19"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite19/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite19/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite20" type="Sprite" parent="."] position = Vector2( 312, 16 ) @@ -303,38 +259,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite20"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite20/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite21" type="Sprite" parent="."] -position = Vector2( 328, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 20 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite21"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite21/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite22" type="Sprite" parent="."] -position = Vector2( 344, 16 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 20 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite22"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite22/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite20/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite23" type="Sprite" parent="."] position = Vector2( 8, 32 ) @@ -348,8 +274,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite23"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite23/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite23/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 0, -8, 0, 8, -8, 8 ) [node name="Sprite24" type="Sprite" parent="."] position = Vector2( 24, 32 ) @@ -378,8 +304,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite25"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite25/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite25/StaticBody2D"] +polygon = PoolVector2Array( 0, -8, 8, -8, 8, 8, 0, 8 ) [node name="Sprite26" type="Sprite" parent="."] position = Vector2( 56, 32 ) @@ -411,21 +337,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite27/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite28" type="Sprite" parent="."] -position = Vector2( 88, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 27 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite28"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite28/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite29" type="Sprite" parent="."] position = Vector2( 104, 32 ) texture = ExtResource( 1 ) @@ -501,21 +412,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite33/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite34" type="Sprite" parent="."] -position = Vector2( 184, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 33 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite34"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite34/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite35" type="Sprite" parent="."] position = Vector2( 200, 32 ) texture = ExtResource( 1 ) @@ -576,21 +472,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite38/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite39" type="Sprite" parent="."] -position = Vector2( 264, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 38 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite39"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite39/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite40" type="Sprite" parent="."] position = Vector2( 280, 32 ) texture = ExtResource( 1 ) @@ -603,8 +484,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite40"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite40/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite40/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite41" type="Sprite" parent="."] position = Vector2( 296, 32 ) @@ -618,8 +499,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite41"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite41/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite41/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite42" type="Sprite" parent="."] position = Vector2( 312, 32 ) @@ -633,38 +514,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite42"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite42/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite43" type="Sprite" parent="."] -position = Vector2( 328, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 42 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite43"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite43/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite44" type="Sprite" parent="."] -position = Vector2( 344, 32 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 43 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite44"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite44/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite42/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite45" type="Sprite" parent="."] position = Vector2( 8, 48 ) @@ -693,8 +544,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite46"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite46/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite46/StaticBody2D"] +polygon = PoolVector2Array( -8, 0, 8, 0, 8, 8, -8, 8 ) [node name="Sprite47" type="Sprite" parent="."] position = Vector2( 40, 48 ) @@ -708,53 +559,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite47"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite47/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite48" type="Sprite" parent="."] -position = Vector2( 56, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 47 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite48"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite48/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite49" type="Sprite" parent="."] -position = Vector2( 72, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 48 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite49"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite49/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite50" type="Sprite" parent="."] -position = Vector2( 88, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 49 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite50"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite50/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite47/StaticBody2D"] +polygon = PoolVector2Array( -8, 0, 0, 0, 0, -8, 8, -8, 8, 8, -8, 8 ) [node name="Sprite51" type="Sprite" parent="."] position = Vector2( 104, 48 ) @@ -801,66 +607,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite53/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite54" type="Sprite" parent="."] -position = Vector2( 152, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 53 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite54"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite54/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite55" type="Sprite" parent="."] -position = Vector2( 168, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 54 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite55"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite55/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite56" type="Sprite" parent="."] -position = Vector2( 184, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 55 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite56"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite56/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite57" type="Sprite" parent="."] -position = Vector2( 200, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 56 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite57"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite57/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite58" type="Sprite" parent="."] position = Vector2( 216, 48 ) texture = ExtResource( 1 ) @@ -906,21 +652,6 @@ __meta__ = { [node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite60/StaticBody2D"] shape = SubResource( 1 ) -[node name="Sprite61" type="Sprite" parent="."] -position = Vector2( 264, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 60 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite61"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite61/StaticBody2D"] -shape = SubResource( 1 ) - [node name="Sprite62" type="Sprite" parent="."] position = Vector2( 280, 48 ) texture = ExtResource( 1 ) @@ -933,8 +664,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite62"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite62/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite62/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite63" type="Sprite" parent="."] position = Vector2( 296, 48 ) @@ -948,8 +679,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite63"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite63/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite63/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite64" type="Sprite" parent="."] position = Vector2( 312, 48 ) @@ -963,23 +694,8 @@ __meta__ = { [node name="StaticBody2D" type="StaticBody2D" parent="Sprite64"] -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite64/StaticBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite65" type="Sprite" parent="."] -position = Vector2( 328, 48 ) -texture = ExtResource( 1 ) -hframes = 22 -vframes = 11 -frame = 64 -__meta__ = { -"_edit_group_": true -} - -[node name="StaticBody2D" type="StaticBody2D" parent="Sprite65"] - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite65/StaticBody2D"] -shape = SubResource( 1 ) +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Sprite64/StaticBody2D"] +polygon = PoolVector2Array( -8, -8, 8, -8, 8, -3, -8, -3 ) [node name="Sprite66" type="Sprite" parent="."] position = Vector2( 344, 48 ) -- cgit v1.2.3