2024-11-01 16:33:13 -06:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://cy7t2tc4y3b4"]
|
2024-10-20 20:27:08 -06:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://src/player/shot_setup/shot_setup.gd" id="1_r6ei4"]
|
2024-11-01 16:33:13 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c2k88ns0h5ie1" path="res://src/ui/arrow.tscn" id="2_s70wl"]
|
2024-10-20 20:27:08 -06:00
|
|
|
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_bvjn0"]
|
|
|
|
radius = 0.05
|
|
|
|
height = 0.1
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_5uovl"]
|
|
|
|
|
|
|
|
[node name="ShotSetup" type="Node3D"]
|
|
|
|
script = ExtResource("1_r6ei4")
|
|
|
|
|
|
|
|
[node name="BallMesh" type="MeshInstance3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
|
|
|
mesh = SubResource("SphereMesh_bvjn0")
|
|
|
|
|
|
|
|
[node name="PlayerReference" type="MeshInstance3D" parent="."]
|
2024-11-01 16:33:13 -06:00
|
|
|
unique_name_in_owner = true
|
2024-10-20 20:27:08 -06:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.212, 1, 0)
|
|
|
|
mesh = SubResource("CapsuleMesh_5uovl")
|
|
|
|
|
|
|
|
[node name="Direction" type="Node3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
|
|
[node name="Pitch" type="Node3D" parent="Direction"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.907777, 0.419452, 0, -0.419452, 0.907777, 0, 0, 0)
|
|
|
|
|
|
|
|
[node name="Camera" type="Camera3D" parent="Direction/Pitch"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6)
|
|
|
|
|
2024-11-01 16:33:13 -06:00
|
|
|
[node name="Arrow" type="Node3D" parent="Direction"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.337095, 0.941471, 0, -0.941471, 0.337095, 0, 0.1, 0)
|
|
|
|
|
|
|
|
[node name="Arrow" parent="Direction/Arrow" instance=ExtResource("2_s70wl")]
|
|
|
|
transform = Transform3D(0.2, 0, 0, 0, 1, 0, 0, 0, 0.2, 0, 1, 0)
|
|
|
|
loop_animation = 1
|
|
|
|
|
2024-10-20 20:27:08 -06:00
|
|
|
[node name="ShotUI" type="Control" parent="."]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2024-11-01 16:33:13 -06:00
|
|
|
mouse_filter = 1
|
2024-10-20 20:27:08 -06:00
|
|
|
|
|
|
|
[node name="ShotGauges" type="Control" parent="ShotUI"]
|
|
|
|
layout_mode = 1
|
|
|
|
anchor_left = 0.4
|
|
|
|
anchor_top = 0.3
|
|
|
|
anchor_right = 0.6
|
|
|
|
anchor_bottom = 0.7
|
|
|
|
offset_left = -20.0
|
|
|
|
offset_top = -20.0
|
|
|
|
offset_right = 20.0
|
|
|
|
offset_bottom = 20.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2024-11-01 16:33:13 -06:00
|
|
|
mouse_filter = 1
|
2024-10-20 20:27:08 -06:00
|
|
|
|
|
|
|
[node name="LateralGauge" type="Control" parent="ShotUI/ShotGauges"]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 12
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 0
|
2024-11-01 16:33:13 -06:00
|
|
|
mouse_filter = 1
|
2024-10-20 20:27:08 -06:00
|
|
|
|
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="ShotUI/ShotGauges/LateralGauge"]
|
|
|
|
custom_minimum_size = Vector2(128, 32)
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
step = 1.0
|
|
|
|
show_percentage = false
|