diff --git a/godot/project.godot b/godot/project.godot index 1381720..aae87a9 100644 --- a/godot/project.godot +++ b/godot/project.godot @@ -18,6 +18,7 @@ config/icon="res://icon.svg" [autoload] NetworkManagerGlob="*uid://cxuy526twid8s" +CommandLinePanelGlobal="*uid://bsb6asp5o35w3" [display] @@ -28,6 +29,10 @@ window/stretch/aspect="expand" project/assembly_name="QuakeBall" +[editor] + +naming/node_name_casing=2 + [physics] 3d/physics_engine="Jolt Physics" diff --git a/godot/scenes/command_line_panel.tscn b/godot/scenes/command_line_panel.tscn new file mode 100644 index 0000000..0760b3c --- /dev/null +++ b/godot/scenes/command_line_panel.tscn @@ -0,0 +1,37 @@ +[gd_scene format=3 uid="uid://bsb6asp5o35w3"] + +[node name="command_line_panel" type="CommandLinePanel" unique_id=2077938969 node_paths=PackedStringArray("input_field", "text_field", "scroll_container")] +input_field = NodePath("input_field") +text_field = NodePath("scroll_container/text_field") +scroll_container = NodePath("scroll_container") +anchors_preset = 10 +anchor_right = 1.0 +offset_bottom = 307.0 +grow_horizontal = 2 + +[node name="input_field" type="TextEdit" parent="." unique_id=2095748573] +layout_mode = 1 +anchors_preset = 10 +anchor_right = 1.0 +offset_top = 307.0 +offset_bottom = 342.0 +grow_horizontal = 2 + +[node name="scroll_container" type="ScrollContainer" parent="." unique_id=1922272461] +custom_minimum_size = Vector2(-1, 0) +layout_mode = 1 +anchors_preset = 10 +anchor_right = 1.0 +offset_left = 1.0 +offset_right = -1.0 +offset_bottom = 292.0 +grow_horizontal = 2 + +[node name="text_field" type="RichTextLabel" parent="scroll_container" unique_id=591332585] +custom_minimum_size = Vector2(-1, -1) +layout_mode = 2 +bbcode_enabled = true +fit_content = true +scroll_active = false +autowrap_mode = 0 +shortcut_keys_enabled = false diff --git a/godot/scenes/main.tscn b/godot/scenes/main.tscn index 14bf1cf..f2e01ec 100644 --- a/godot/scenes/main.tscn +++ b/godot/scenes/main.tscn @@ -2,49 +2,13 @@ [sub_resource type="BoxMesh" id="BoxMesh_m77kh"] -[node name="Node3D" type="Node3D" unique_id=591926555] +[node name="node_3d" type="Node3D" unique_id=591926555] -[node name="Camera3D" type="Camera3D" parent="." unique_id=1513321931] +[node name="camera_3d" type="Camera3D" parent="." unique_id=1513321931] transform = Transform3D(0.85754585, -0.09722054, 0.50513697, 0, 0.98197806, 0.18899518, -0.5144076, -0.16207202, 0.8420912, 1.0974057, 0.86883736, 1.7596759) -[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1466304853] +[node name="mesh_instance_3d" type="MeshInstance3D" parent="." unique_id=1466304853] mesh = SubResource("BoxMesh_m77kh") -[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=75522463] +[node name="directional_light_3d" type="DirectionalLight3D" parent="." unique_id=75522463] transform = Transform3D(0.61237246, -0.5, 0.61237246, 0.3535534, 0.8660254, 0.3535534, -0.7071068, 0, 0.7071068, 0, 1, 2) - -[node name="CommandLinePanel" type="CommandLinePanel" parent="." unique_id=398519161 node_paths=PackedStringArray("input_field", "text_field", "scroll_container")] -input_field = NodePath("InputField") -text_field = NodePath("ScrollContainer/TextField") -scroll_container = NodePath("ScrollContainer") -anchors_preset = 10 -anchor_right = 1.0 -offset_bottom = 307.0 -grow_horizontal = 2 - -[node name="InputField" type="TextEdit" parent="CommandLinePanel" unique_id=485869737] -layout_mode = 1 -anchors_preset = 10 -anchor_right = 1.0 -offset_top = 307.0 -offset_bottom = 342.0 -grow_horizontal = 2 - -[node name="ScrollContainer" type="ScrollContainer" parent="CommandLinePanel" unique_id=910897176] -custom_minimum_size = Vector2(-1, 0) -layout_mode = 1 -anchors_preset = 10 -anchor_right = 1.0 -offset_left = 1.0 -offset_right = -1.0 -offset_bottom = 292.0 -grow_horizontal = 2 - -[node name="TextField" type="RichTextLabel" parent="CommandLinePanel/ScrollContainer" unique_id=676603670] -custom_minimum_size = Vector2(-1, -1) -layout_mode = 2 -bbcode_enabled = true -fit_content = true -scroll_active = false -autowrap_mode = 0 -shortcut_keys_enabled = false diff --git a/godot/scenes/network_manager.tscn b/godot/scenes/network_manager.tscn index 60cf8f9..e9dc72a 100644 --- a/godot/scenes/network_manager.tscn +++ b/godot/scenes/network_manager.tscn @@ -1,3 +1,3 @@ [gd_scene format=3 uid="uid://cxuy526twid8s"] -[node name="NetworkManager" type="NetworkManager" unique_id=1177599919] +[node name="network_manager" type="NetworkManager" unique_id=1177599919]