[gd_scene load_steps=10 format=3 uid="uid://dsprg4uahkylm"] [ext_resource type="Texture2D" uid="uid://brbok0al4e1ab" path="res://art/tableTemplate.png" id="1_s3o1g"] [ext_resource type="Script" uid="uid://82h0dmyohfj1" path="res://Gameplay/Table.cs" id="1_v5i0k"] [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_v5i0k"] bounce = 1.0 absorbent = true [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_v5i0k"] radius = 74.0 height = 264.0 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_kl0hw"] radius = 74.0 height = 264.0 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_67vji"] radius = 74.0 height = 264.0 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jry6c"] radius = 74.0 height = 264.0 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_bhh2s"] radius = 24.0 height = 154.0 [sub_resource type="RectangleShape2D" id="RectangleShape2D_s3o1g"] size = Vector2(394, 182) [node name="Table" type="Sprite2D"] texture_filter = 1 texture = ExtResource("1_s3o1g") script = ExtResource("1_v5i0k") [node name="Cushions" type="StaticBody2D" parent="."] physics_material_override = SubResource("PhysicsMaterial_v5i0k") [node name="TL" type="CollisionPolygon2D" parent="Cushions"] position = Vector2(-600, -339) polygon = PackedVector2Array(160, -87, 360, -86, 380, -64, 379, 303, 360, 314, 158, 314) [node name="TR" type="CollisionPolygon2D" parent="Cushions"] polygon = PackedVector2Array(220, -404, 240, -427, 449, -427, 448, -26, 241, -26, 220, -36) [node name="BL" type="CollisionPolygon2D" parent="Cushions"] polygon = PackedVector2Array(-221, 35, -240, 24, -436, 25, -434, 425, -241, 426, -221, 405) [node name="BR" type="CollisionPolygon2D" parent="Cushions"] polygon = PackedVector2Array(219, 36, 239, 24, 447, 24, 448, 426, 240, 426, 219, 403) [node name="B" type="CollisionPolygon2D" parent="Cushions"] polygon = PackedVector2Array(-186, 440, -206, 459, -207, 644, 206, 655, 205, 460, 186, 440) [node name="T" type="CollisionPolygon2D" parent="Cushions"] polygon = PackedVector2Array(-186, -441, -206, -459, -206, -630, 205, -631, 205, -459, 186, -440) [node name="PocketTL" type="Area2D" parent="."] position = Vector2(-279, -559) [node name="CollisionShape2D" type="CollisionShape2D" parent="PocketTL"] shape = SubResource("CapsuleShape2D_v5i0k") [node name="PocketTR" type="Area2D" parent="."] position = Vector2(281, -562) [node name="CollisionShape2D" type="CollisionShape2D" parent="PocketTR"] shape = SubResource("CapsuleShape2D_kl0hw") [node name="PocketBR" type="Area2D" parent="."] position = Vector2(281, 558) [node name="CollisionShape2D" type="CollisionShape2D" parent="PocketBR"] shape = SubResource("CapsuleShape2D_67vji") [node name="PocketBL" type="Area2D" parent="."] position = Vector2(-281, 558) [node name="CollisionShape2D" type="CollisionShape2D" parent="PocketBL"] shape = SubResource("CapsuleShape2D_jry6c") [node name="PocketR" type="Area2D" parent="."] position = Vector2(314, -2) [node name="CollisionShape2D" type="CollisionShape2D" parent="PocketR"] rotation = 1.5708 shape = SubResource("CapsuleShape2D_bhh2s") [node name="PocketL" type="Area2D" parent="."] position = Vector2(-315, -1) [node name="CollisionShape2D" type="CollisionShape2D" parent="PocketL"] rotation = 1.5708 shape = SubResource("CapsuleShape2D_bhh2s") [node name="PlayerStartArea" type="Area2D" parent="."] position = Vector2(-1, 312) [node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerStartArea"] shape = SubResource("RectangleShape2D_s3o1g") [node name="EnemyStartArea" type="Area2D" parent="."] position = Vector2(-1, -312) [node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyStartArea"] shape = SubResource("RectangleShape2D_s3o1g")