[gd_scene load_steps=9 format=3 uid="uid://yqtgkxjjexag"] [ext_resource type="Script" uid="uid://v6ovq4snxruc" path="res://Gameplay/Main.cs" id="1_0xm2m"] [ext_resource type="PackedScene" uid="uid://dsprg4uahkylm" path="res://table.tscn" id="2_vkc8e"] [ext_resource type="PackedScene" uid="uid://c8n4lue2bn25n" path="res://Gameplay/ball.tscn" id="3_u78cq"] [ext_resource type="PackedScene" uid="uid://dm4xk16ce0j" path="res://Gameplay/cue.tscn" id="4_u78cq"] [ext_resource type="Script" uid="uid://dbfpn1p62siat" path="res://Gameplay/PowerBar.cs" id="5_tivnh"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tivnh"] bg_color = Color(0.111197, 0.111197, 0.111197, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ajequ"] bg_color = Color(1, 1, 1, 0.458824) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_aytjx"] bg_color = Color(0.92549, 0.0901961, 0.0627451, 1) [node name="Main" type="Node"] script = ExtResource("1_0xm2m") BallScene = ExtResource("3_u78cq") [node name="Table" parent="." instance=ExtResource("2_vkc8e")] [node name="PottedPanel" type="Panel" parent="."] offset_top = 678.0 offset_right = 1200.0 offset_bottom = 778.0 theme_override_styles/panel = SubResource("StyleBoxFlat_tivnh") [node name="Cue" parent="." instance=ExtResource("4_u78cq")] [node name="PowerBar" type="ProgressBar" parent="."] z_index = 1 offset_right = 100.0 offset_bottom = 30.0 theme_override_styles/background = SubResource("StyleBoxFlat_ajequ") theme_override_styles/fill = SubResource("StyleBoxFlat_aytjx") show_percentage = false script = ExtResource("5_tivnh") [connection signal="Shoot" from="Cue" to="." method="OnCueShoot"]