7-13-25 3:38am
This commit is contained in:
149
Gameplay/table.tscn
Normal file
149
Gameplay/table.tscn
Normal file
@@ -0,0 +1,149 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://dsprg4uahkylm"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://df2xulwx34fi" path="res://art/table.png" id="1_kl0hw"]
|
||||
[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_vjl2i"]
|
||||
radius = 28.75
|
||||
height = 154.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 = 28.75
|
||||
height = 154.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_v5i0k"]
|
||||
radius = 28.0713
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_s3o1g"]
|
||||
size = Vector2(192.5, 520)
|
||||
|
||||
[node name="Table" type="Sprite2D"]
|
||||
texture_filter = 1
|
||||
texture = ExtResource("1_kl0hw")
|
||||
centered = false
|
||||
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(404, 650)
|
||||
rotation = 3.14159
|
||||
polygon = PackedVector2Array(-153, 47, -160, 26, -160, -128, 314, -127, 314, 27.9999, 292, 47)
|
||||
|
||||
[node name="T" type="CollisionPolygon2D" parent="Cushions"]
|
||||
position = Vector2(29, 410)
|
||||
rotation = -1.5708
|
||||
polygon = PackedVector2Array(-153, 48, -171, 29, -173, -129, 314, -127, 314, 27.9999, 292, 47.9999)
|
||||
|
||||
[node name="TR" type="CollisionPolygon2D" parent="Cushions"]
|
||||
position = Vector2(260, 31)
|
||||
polygon = PackedVector2Array(-149, 47, -169, 27, -172, -130, 303, -127, 306, 25, 292, 47)
|
||||
|
||||
[node name="BR" type="CollisionPolygon2D" parent="Cushions"]
|
||||
position = Vector2(783, 29)
|
||||
polygon = PackedVector2Array(-153, 47, -160, 26, -160, -128, 318, -126, 320, 28, 298, 47)
|
||||
|
||||
[node name="B" type="CollisionPolygon2D" parent="Cushions"]
|
||||
position = Vector2(1172, 270)
|
||||
rotation = 1.5708
|
||||
polygon = PackedVector2Array(-153, 47, -175, 26, -175, -138, 314, -127, 314, 25, 292, 47)
|
||||
|
||||
[node name="BL" type="CollisionPolygon2D" parent="Cushions"]
|
||||
position = Vector2(943, 648)
|
||||
rotation = 3.14159
|
||||
polygon = PackedVector2Array(-139, 47.0001, -160, 26, -160, -128, 320, -127, 319, 28, 310, 47)
|
||||
|
||||
[node name="PocketTL" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PocketTL"]
|
||||
position = Vector2(13, 717)
|
||||
shape = SubResource("CapsuleShape2D_v5i0k")
|
||||
|
||||
[node name="PocketTR" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PocketTR"]
|
||||
position = Vector2(13, -36)
|
||||
shape = SubResource("CapsuleShape2D_kl0hw")
|
||||
|
||||
[node name="PocketR" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PocketR"]
|
||||
position = Vector2(593.25, -19)
|
||||
shape = SubResource("CapsuleShape2D_vjl2i")
|
||||
|
||||
[node name="PocketBR" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PocketBR"]
|
||||
position = Vector2(1177, -37)
|
||||
shape = SubResource("CapsuleShape2D_67vji")
|
||||
|
||||
[node name="PocketBL" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PocketBL"]
|
||||
position = Vector2(1178, 715)
|
||||
shape = SubResource("CapsuleShape2D_jry6c")
|
||||
|
||||
[node name="PocketL" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PocketL"]
|
||||
position = Vector2(593.25, 697)
|
||||
shape = SubResource("CapsuleShape2D_bhh2s")
|
||||
|
||||
[node name="Pots" type="Area2D" parent="."]
|
||||
|
||||
[node name="TL" type="CollisionShape2D" parent="Pots"]
|
||||
position = Vector2(56, 616)
|
||||
shape = SubResource("CircleShape2D_v5i0k")
|
||||
|
||||
[node name="TR" type="CollisionShape2D" parent="Pots"]
|
||||
position = Vector2(56, 63)
|
||||
shape = SubResource("CircleShape2D_v5i0k")
|
||||
|
||||
[node name="R" type="CollisionShape2D" parent="Pots"]
|
||||
position = Vector2(593, 49)
|
||||
shape = SubResource("CircleShape2D_v5i0k")
|
||||
|
||||
[node name="BR" type="CollisionShape2D" parent="Pots"]
|
||||
position = Vector2(1135, 63)
|
||||
shape = SubResource("CircleShape2D_v5i0k")
|
||||
|
||||
[node name="BL" type="CollisionShape2D" parent="Pots"]
|
||||
position = Vector2(1135, 616)
|
||||
shape = SubResource("CircleShape2D_v5i0k")
|
||||
|
||||
[node name="L" type="CollisionShape2D" parent="Pots"]
|
||||
position = Vector2(593, 629)
|
||||
shape = SubResource("CircleShape2D_v5i0k")
|
||||
|
||||
[node name="PlayerStartArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerStartArea"]
|
||||
position = Vector2(983.75, 340)
|
||||
shape = SubResource("RectangleShape2D_s3o1g")
|
||||
|
||||
[node name="EnemyStartArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyStartArea"]
|
||||
position = Vector2(216, 340)
|
||||
shape = SubResource("RectangleShape2D_s3o1g")
|
||||
Reference in New Issue
Block a user