summaryrefslogtreecommitdiffstats
path: root/assets/view_model/ViewModel.tscn
diff options
context:
space:
mode:
authormikatomik <mikec_2007@hotmail.com>2022-07-19 07:24:13 -0400
committermikatomik <mikec_2007@hotmail.com>2022-08-27 08:09:41 -0400
commitff5e9214e671af7a7c7c238207e5d6086eba2936 (patch)
treeedd30e28055535583ebb07825b1c8b34e203f161 /assets/view_model/ViewModel.tscn
parent44e739bb05542d1249ccf8388bd15b3f0b052e0c (diff)
downloadproject-s-ff5e9214e671af7a7c7c238207e5d6086eba2936.tar.gz
project-s-ff5e9214e671af7a7c7c238207e5d6086eba2936.zip
Add generic testing map
Initial version of shipyard map implemented for testing. Base_char mesh and goo-gun meshes property "use in baked light" set to true during experiment with GI probes for global illumination. Label added to view model to display in-game FPS. Main camera "far" property turned up to 500 so the whole map can be drawn. General purpose liquid shader added for use as water in shipyard_map. World default environment updated for visual quality. Shader_Compiler.gd implemented to combat stuttering when compiling shaders on the fly. This may be obsolete with the release of Godot 3.5 that introduced async compilation. Signed-off-by: mikatomik <mikec_2007@hotmail.com>
Diffstat (limited to 'assets/view_model/ViewModel.tscn')
-rw-r--r--assets/view_model/ViewModel.tscn8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/view_model/ViewModel.tscn b/assets/view_model/ViewModel.tscn
index 39fffb5..0267e64 100644
--- a/assets/view_model/ViewModel.tscn
+++ b/assets/view_model/ViewModel.tscn
@@ -5,6 +5,7 @@
[node name="ViewModel" type="Spatial"]
script = ExtResource( 2 )
+aim_sensitivity = 0.04
[node name="BaseCharacter" parent="." instance=ExtResource( 1 )]
@@ -16,3 +17,10 @@ spring_length = 4.0
margin = 0.05
[node name="Camera" type="Camera" parent="Anchor/SpringArm"]
+far = 500.0
+
+[node name="fps_label" type="Label" parent="."]
+anchor_top = 1.0
+anchor_bottom = 1.0
+margin_top = -14.0
+margin_right = 40.0