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/tileset.tscn | 354 +++++---------------------------------------------- 1 file changed, 35 insertions(+), 319 deletions(-) (limited to 'tileset/tileset.tscn') 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