diff --git a/levels/test_level.tscn b/levels/test_level.tscn index 6fc9ccf..bea8f45 100644 --- a/levels/test_level.tscn +++ b/levels/test_level.tscn @@ -17,3 +17,6 @@ metadata/_editor_floor_ = Vector3(0, 0, 0) [node name="player" parent="." instance=ExtResource("2_ojnju")] transform = Transform3D(1, 0, 0, 0, 0.388867, 0.921294, 0, -0.921294, 0.388867, -2.76897, 18.3017, 8.82022) +attributes = null +fov = 37.8493 +near = 0.032 diff --git a/player/player.cs b/player/player.cs index c8556b1..f30c870 100644 --- a/player/player.cs +++ b/player/player.cs @@ -13,6 +13,8 @@ public partial class player : Camera3D private float PR { get => (float)_pr.Value; set => _pr.Value = value; } private float Kash { get => (float)_kash.Value; set => _kash.Value = value; } + + // Called when the node enters the scene tree for the first time. public override void _Ready() { diff --git a/player/player.tscn b/player/player.tscn index acc9c31..6896430 100644 --- a/player/player.tscn +++ b/player/player.tscn @@ -22,8 +22,7 @@ width = 24 height = 255 [sub_resource type="Gradient" id="Gradient_dxeak"] -offsets = PackedFloat32Array(0, 0.505102) -colors = PackedColorArray(0.40573, 0, 0.0891716, 1, 0.723982, 3.15978e-05, 0.0896176, 1) +colors = PackedColorArray(0.533956, 4.45209e-07, 0.129296, 1, 0.902273, 0.0004242, 0.128051, 1) [sub_resource type="GradientTexture2D" id="GradientTexture2D_d5w6a"] gradient = SubResource("Gradient_dxeak") @@ -55,7 +54,7 @@ width = 24 height = 255 [sub_resource type="Gradient" id="Gradient_od2su"] -colors = PackedColorArray(0, 0.947172, 0.724301, 1, 1.8771e-06, 0.766586, 0.320037, 1) +colors = PackedColorArray(1.44392e-06, 0.334951, 0.24823, 1, 1.8771e-06, 0.766586, 0.320037, 1) [sub_resource type="GradientTexture2D" id="GradientTexture2D_nfg3s"] gradient = SubResource("Gradient_od2su") @@ -90,7 +89,6 @@ rounded = true fill_mode = 3 texture_under = SubResource("GradientTexture2D_2xkee") texture_progress = SubResource("GradientTexture2D_d5w6a") -tint_progress = Color(0.239216, 0.239216, 0.239216, 1) [node name="PrBar" type="TextureProgressBar" parent="."] offset_left = 1845.0 @@ -102,7 +100,6 @@ rounded = true fill_mode = 3 texture_under = SubResource("GradientTexture2D_7myfq") texture_progress = SubResource("GradientTexture2D_kdame") -tint_progress = Color(0.239216, 0.239216, 0.239216, 1) [node name="KashBar" type="TextureProgressBar" parent="."] offset_left = 1873.0 @@ -114,4 +111,29 @@ rounded = true fill_mode = 3 texture_under = SubResource("GradientTexture2D_18k81") texture_progress = SubResource("GradientTexture2D_nfg3s") -tint_progress = Color(0.239216, 0.239216, 0.239216, 1) + +[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$"