Mutually_Assured_Destruction/player/player.tscn

217 lines
6.4 KiB
Plaintext
Raw Normal View History

2023-06-11 11:23:38 -04:00
[gd_scene load_steps=21 format=3 uid="uid://b5gb5paiupum"]
2023-06-10 16:53:33 -04:00
[ext_resource type="Script" path="res://player/player.cs" id="1_of2l4"]
2023-06-11 11:23:38 -04:00
[ext_resource type="AudioStream" uid="uid://dye3nhm41yk6r" path="res://audio/chatter.wav" id="2_sa1qd"]
[ext_resource type="AudioStream" uid="uid://c8dcqkmytnyay" path="res://audio/btn.wav" id="3_00x5l"]
2023-06-10 16:53:33 -04:00
2023-06-10 18:41:49 -04:00
[sub_resource type="CameraAttributesPhysical" id="CameraAttributesPhysical_1ejpb"]
frustum_near = 0.032
2023-06-11 09:10:21 -04:00
2023-06-10 18:41:49 -04:00
[sub_resource type="Gradient" id="Gradient_hcpag"]
interpolation_mode = 2
colors = PackedColorArray(1, 0, 0, 1, 0.35782, 0, 0.0248139, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_y5odr"]
gradient = SubResource("Gradient_hcpag")
fill_to = Vector2(0.858974, 0.615385)
[sub_resource type="Gradient" id="Gradient_camjl"]
colors = PackedColorArray(0.908061, 0.573562, 0.518565, 1, 1, 0.723217, 0.716857, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_2xkee"]
gradient = SubResource("Gradient_camjl")
width = 24
height = 255
[sub_resource type="Gradient" id="Gradient_dxeak"]
2023-06-10 19:44:27 -04:00
colors = PackedColorArray(0.533956, 4.45209e-07, 0.129296, 1, 0.902273, 0.0004242, 0.128051, 1)
2023-06-10 18:41:49 -04:00
[sub_resource type="GradientTexture2D" id="GradientTexture2D_d5w6a"]
gradient = SubResource("Gradient_dxeak")
width = 24
height = 255
[sub_resource type="Gradient" id="Gradient_tpani"]
colors = PackedColorArray(0.893472, 0.979245, 1, 1, 0.347927, 0.885716, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_7myfq"]
gradient = SubResource("Gradient_tpani")
width = 24
height = 255
[sub_resource type="Gradient" id="Gradient_127f1"]
colors = PackedColorArray(0.00784314, 0.152941, 0.454902, 1, 0.349457, 0.500016, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_kdame"]
gradient = SubResource("Gradient_127f1")
width = 24
height = 255
[sub_resource type="Gradient" id="Gradient_psl0d"]
colors = PackedColorArray(0, 0.933055, 0.58552, 1, 0.793971, 1, 0.891535, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_18k81"]
gradient = SubResource("Gradient_psl0d")
width = 24
height = 255
[sub_resource type="Gradient" id="Gradient_od2su"]
2023-06-10 19:44:27 -04:00
colors = PackedColorArray(1.44392e-06, 0.334951, 0.24823, 1, 1.8771e-06, 0.766586, 0.320037, 1)
2023-06-10 18:41:49 -04:00
[sub_resource type="GradientTexture2D" id="GradientTexture2D_nfg3s"]
gradient = SubResource("Gradient_od2su")
width = 24
height = 255
[sub_resource type="SphereMesh" id="SphereMesh_mtv4x"]
2023-06-11 10:45:58 -04:00
[sub_resource type="LabelSettings" id="LabelSettings_pws5q"]
font_size = 28
[node name="player" type="Camera3D" node_paths=PackedStringArray("_con", "_mousePosLabel", "_cursorPosLabel", "_cursor", "_cursorPoint", "_nuke", "_pr", "_kash", "_chatter", "_sndChtr", "_sndBtn", "_tmrChtr")]
2023-06-10 18:41:49 -04:00
attributes = SubResource("CameraAttributesPhysical_1ejpb")
2023-06-10 16:53:33 -04:00
script = ExtResource("1_of2l4")
2023-06-11 09:10:21 -04:00
_con = NodePath("Debug info/Label")
_mousePosLabel = NodePath("Debug info/mousePos")
_cursorPosLabel = NodePath("Debug info/cursorPointPos")
_cursor = NodePath("cursor")
_cursorPoint = NodePath("cursorPoint")
2023-06-10 18:41:49 -04:00
_nuke = NodePath("NukeBar")
_pr = NodePath("PrBar")
_kash = NodePath("KashBar")
2023-06-11 10:45:58 -04:00
_chatter = NodePath("lbl_Chatter")
_sndChtr = NodePath("snd_Chatter")
_sndBtn = NodePath("snd_Button")
_tmrChtr = NodePath("tmr_Chatter")
2023-06-11 09:10:21 -04:00
[node name="Debug info" type="Control" parent="."]
2023-06-11 10:45:58 -04:00
visible = false
2023-06-11 09:10:21 -04:00
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
2023-06-10 16:53:33 -04:00
2023-06-11 09:10:21 -04:00
[node name="mousePos" type="Label" parent="Debug info"]
layout_mode = 0
offset_left = 314.0
offset_top = 228.0
offset_right = 403.0
offset_bottom = 254.0
text = "Eat ze caca."
[node name="cursorPointPos" type="Label" parent="Debug info"]
layout_mode = 0
offset_left = 314.0
offset_top = 195.0
offset_right = 403.0
offset_bottom = 221.0
text = "Eat ze caca."
[node name="Label" type="Label" parent="Debug info"]
layout_mode = 0
2023-06-10 16:53:33 -04:00
offset_left = 313.0
offset_top = 156.0
offset_right = 402.0
offset_bottom = 182.0
text = "Eat ze caca."
2023-06-11 09:10:21 -04:00
2023-06-10 18:41:49 -04:00
[node name="Button" type="Button" parent="."]
offset_left = 1772.0
offset_top = 926.0
offset_right = 1904.0
offset_bottom = 1058.0
text = "BOOM"
icon = SubResource("GradientTexture2D_y5odr")
flat = true
icon_alignment = 1
expand_icon = true
[node name="NukeBar" type="TextureProgressBar" parent="."]
offset_left = 1817.0
offset_top = 664.0
offset_right = 1841.0
offset_bottom = 919.0
value = 50.0
rounded = true
fill_mode = 3
texture_under = SubResource("GradientTexture2D_2xkee")
texture_progress = SubResource("GradientTexture2D_d5w6a")
[node name="PrBar" type="TextureProgressBar" parent="."]
offset_left = 1845.0
offset_top = 664.0
offset_right = 1869.0
offset_bottom = 919.0
value = 50.0
rounded = true
fill_mode = 3
texture_under = SubResource("GradientTexture2D_7myfq")
texture_progress = SubResource("GradientTexture2D_kdame")
[node name="KashBar" type="TextureProgressBar" parent="."]
offset_left = 1873.0
offset_top = 664.0
offset_right = 1897.0
offset_bottom = 919.0
value = 50.0
rounded = true
fill_mode = 3
texture_under = SubResource("GradientTexture2D_18k81")
texture_progress = SubResource("GradientTexture2D_nfg3s")
2023-06-10 19:44:27 -04:00
[node name="lbl_Nukes" type="Label" parent="."]
offset_left = 1842.0
offset_top = 757.0
offset_right = 2107.0
offset_bottom = 783.0
rotation = 1.5708
text = "WMDs"
horizontal_alignment = 1
vertical_alignment = 1
[node name="lbl_PR" type="Label" parent="."]
offset_left = 1869.0
offset_top = 894.0
offset_right = 1909.0
offset_bottom = 920.0
rotation = 1.5708
text = "PR"
[node name="lbl_Kash" type="Label" parent="."]
offset_left = 1897.0
offset_top = 891.0
offset_right = 1937.0
offset_bottom = 917.0
rotation = 1.5708
text = "M$"
2023-06-11 09:10:21 -04:00
[node name="cursor" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.17786)
target_position = Vector3(0, 0, -999)
[node name="cursorPoint" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2)
[node name="cursorPointMesh" type="MeshInstance3D" parent="cursorPoint"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
mesh = SubResource("SphereMesh_mtv4x")
2023-06-11 09:10:21 -04:00
skeleton = NodePath("../..")
2023-06-11 10:45:58 -04:00
[node name="lbl_Chatter" type="Label" parent="."]
offset_left = 314.0
offset_top = 270.0
offset_right = 756.0
offset_bottom = 513.0
text = "CHATTER"
label_settings = SubResource("LabelSettings_pws5q")
autowrap_mode = 3
[node name="snd_Chatter" type="AudioStreamPlayer" parent="."]
2023-06-11 11:23:38 -04:00
stream = ExtResource("2_sa1qd")
2023-06-11 10:45:58 -04:00
[node name="snd_Button" type="AudioStreamPlayer" parent="."]
2023-06-11 11:23:38 -04:00
stream = ExtResource("3_00x5l")
2023-06-11 10:45:58 -04:00
[node name="tmr_Chatter" type="Timer" parent="."]
wait_time = 3.0