Tuesday, 05 August 2025 01:43:58
This commit is contained in:
@@ -1,32 +1,13 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dsprg4uahkylm"]
|
||||
[gd_scene load_steps=6 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"]
|
||||
[ext_resource type="PackedScene" uid="uid://dl1qsemhbxaoh" path="res://Gameplay/pocket.tscn" id="3_3wy0c"]
|
||||
|
||||
[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)
|
||||
|
||||
@@ -35,74 +16,69 @@ texture_filter = 1
|
||||
texture = ExtResource("1_s3o1g")
|
||||
script = ExtResource("1_v5i0k")
|
||||
|
||||
[node name="Cushions" type="StaticBody2D" parent="."]
|
||||
[node name="Cushions" type="Node2D" parent="."]
|
||||
|
||||
[node name="TL" type="StaticBody2D" parent="Cushions"]
|
||||
physics_material_override = SubResource("PhysicsMaterial_v5i0k")
|
||||
|
||||
[node name="TL" type="CollisionPolygon2D" parent="Cushions"]
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Cushions/TL"]
|
||||
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"]
|
||||
[node name="TR" type="StaticBody2D" parent="Cushions"]
|
||||
physics_material_override = SubResource("PhysicsMaterial_v5i0k")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Cushions/TR"]
|
||||
polygon = PackedVector2Array(220, -404, 240, -427, 449, -427, 448, -26, 241, -26, 220, -36)
|
||||
|
||||
[node name="BL" type="CollisionPolygon2D" parent="Cushions"]
|
||||
[node name="BL" type="StaticBody2D" parent="Cushions"]
|
||||
physics_material_override = SubResource("PhysicsMaterial_v5i0k")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Cushions/BL"]
|
||||
polygon = PackedVector2Array(-221, 35, -240, 24, -436, 25, -434, 425, -241, 426, -221, 405)
|
||||
|
||||
[node name="BR" type="CollisionPolygon2D" parent="Cushions"]
|
||||
[node name="BR" type="StaticBody2D" parent="Cushions"]
|
||||
physics_material_override = SubResource("PhysicsMaterial_v5i0k")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Cushions/BR"]
|
||||
polygon = PackedVector2Array(219, 36, 239, 24, 447, 24, 448, 426, 240, 426, 219, 403)
|
||||
|
||||
[node name="B" type="CollisionPolygon2D" parent="Cushions"]
|
||||
[node name="B" type="StaticBody2D" parent="Cushions"]
|
||||
physics_material_override = SubResource("PhysicsMaterial_v5i0k")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Cushions/B"]
|
||||
polygon = PackedVector2Array(-186, 440, -206, 459, -207, 644, 206, 655, 205, 460, 186, 440)
|
||||
|
||||
[node name="T" type="CollisionPolygon2D" parent="Cushions"]
|
||||
[node name="T" type="StaticBody2D" parent="Cushions"]
|
||||
physics_material_override = SubResource("PhysicsMaterial_v5i0k")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Cushions/T"]
|
||||
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="Pockets" type="Node2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PocketTL"]
|
||||
shape = SubResource("CapsuleShape2D_v5i0k")
|
||||
[node name="TL" parent="Pockets" instance=ExtResource("3_3wy0c")]
|
||||
position = Vector2(-282, -557)
|
||||
|
||||
[node name="PocketTR" type="Area2D" parent="."]
|
||||
position = Vector2(281, -562)
|
||||
[node name="TR" parent="Pockets" instance=ExtResource("3_3wy0c")]
|
||||
position = Vector2(281, -559)
|
||||
|
||||
[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"]
|
||||
[node name="R" parent="Pockets" instance=ExtResource("3_3wy0c")]
|
||||
position = Vector2(373, -3)
|
||||
rotation = 1.5708
|
||||
shape = SubResource("CapsuleShape2D_bhh2s")
|
||||
|
||||
[node name="PocketL" type="Area2D" parent="."]
|
||||
position = Vector2(-315, -1)
|
||||
[node name="BR" parent="Pockets" instance=ExtResource("3_3wy0c")]
|
||||
position = Vector2(279, 557)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PocketL"]
|
||||
[node name="BL" parent="Pockets" instance=ExtResource("3_3wy0c")]
|
||||
position = Vector2(-280, 557)
|
||||
|
||||
[node name="L" parent="Pockets" instance=ExtResource("3_3wy0c")]
|
||||
position = Vector2(-373, 4)
|
||||
rotation = 1.5708
|
||||
shape = SubResource("CapsuleShape2D_bhh2s")
|
||||
|
||||
[node name="PlayerStartArea" type="Area2D" parent="."]
|
||||
[node name="Kitchen" 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"]
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Kitchen"]
|
||||
shape = SubResource("RectangleShape2D_s3o1g")
|
||||
|
||||
Reference in New Issue
Block a user