Files
hotdesking/Gameplay/table.tscn

85 lines
3.3 KiB
Plaintext

[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="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="Node2D" parent="."]
[node name="TL" type="StaticBody2D" parent="Cushions"]
physics_material_override = SubResource("PhysicsMaterial_v5i0k")
[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="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="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="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="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="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="Pockets" type="Node2D" parent="."]
[node name="TL" parent="Pockets" instance=ExtResource("3_3wy0c")]
position = Vector2(-282, -557)
[node name="TR" parent="Pockets" instance=ExtResource("3_3wy0c")]
position = Vector2(281, -559)
[node name="R" parent="Pockets" instance=ExtResource("3_3wy0c")]
position = Vector2(373, -3)
rotation = 1.5708
[node name="BR" parent="Pockets" instance=ExtResource("3_3wy0c")]
position = Vector2(279, 557)
[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
[node name="Kitchen" type="Area2D" parent="."]
position = Vector2(-1, 312)
[node name="CollisionShape2D" type="CollisionShape2D" parent="Kitchen"]
shape = SubResource("RectangleShape2D_s3o1g")