Improved player label
This commit is contained in:
parent
651b353340
commit
4e5b908f05
@ -94,17 +94,6 @@ bone_idx = 12
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
|
||||||
shape = SubResource("CapsuleShape3D_2f50n")
|
shape = SubResource("CapsuleShape3D_2f50n")
|
||||||
|
|
||||||
[node name="Label" type="Label3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
|
|
||||||
pixel_size = 0.001
|
|
||||||
billboard = 1
|
|
||||||
render_priority = 1
|
|
||||||
outline_modulate = Color(0, 0, 0, 0.498039)
|
|
||||||
text = "Player"
|
|
||||||
font = ExtResource("4_76ehj")
|
|
||||||
font_size = 128
|
|
||||||
outline_size = 10
|
|
||||||
|
|
||||||
[node name="Animation" type="Node" parent="." node_paths=PackedStringArray("character", "animation_player")]
|
[node name="Animation" type="Node" parent="." node_paths=PackedStringArray("character", "animation_player")]
|
||||||
script = ExtResource("4_i2ybk")
|
script = ExtResource("4_i2ybk")
|
||||||
character = NodePath("..")
|
character = NodePath("..")
|
||||||
@ -119,4 +108,15 @@ libraries = {
|
|||||||
}
|
}
|
||||||
playback_default_blend_time = 0.2
|
playback_default_blend_time = 0.2
|
||||||
|
|
||||||
|
[node name="Label" type="Label3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
|
||||||
|
pixel_size = 0.001
|
||||||
|
billboard = 1
|
||||||
|
double_sided = false
|
||||||
|
alpha_cut = 1
|
||||||
|
text = "Player"
|
||||||
|
font = ExtResource("4_76ehj")
|
||||||
|
font_size = 128
|
||||||
|
outline_size = 32
|
||||||
|
|
||||||
[editable path="Model/Female"]
|
[editable path="Model/Female"]
|
||||||
|
@ -25,6 +25,8 @@ gdscript/warnings/integer_division=0
|
|||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
|
window/size/viewport_width=1920
|
||||||
|
window/size/viewport_height=1080
|
||||||
window/size/mode=3
|
window/size/mode=3
|
||||||
window/stretch/mode="canvas_items"
|
window/stretch/mode="canvas_items"
|
||||||
window/stretch/aspect="expand"
|
window/stretch/aspect="expand"
|
||||||
|
@ -35,7 +35,7 @@ layout_mode = 2
|
|||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Render Scale" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
[node name="Render Scale" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||||
custom_minimum_size = Vector2(0, 28)
|
custom_minimum_size = Vector2(0, 32)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Render Scale"]
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Render Scale"]
|
||||||
@ -61,7 +61,7 @@ popup/item_4/id = 4
|
|||||||
script = ExtResource("3_o5ei3")
|
script = ExtResource("3_o5ei3")
|
||||||
|
|
||||||
[node name="Scale Mode" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
[node name="Scale Mode" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||||
custom_minimum_size = Vector2(0, 28)
|
custom_minimum_size = Vector2(0, 32)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Scale Mode"]
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Scale Mode"]
|
||||||
@ -83,7 +83,7 @@ popup/item_2/id = 2
|
|||||||
script = ExtResource("2_7a2hi")
|
script = ExtResource("2_7a2hi")
|
||||||
|
|
||||||
[node name="Glow" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
[node name="Glow" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||||
custom_minimum_size = Vector2(0, 28)
|
custom_minimum_size = Vector2(0, 32)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Glow"]
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Glow"]
|
||||||
@ -98,7 +98,7 @@ size_flags_horizontal = 3
|
|||||||
script = ExtResource("1_vkhbt")
|
script = ExtResource("1_vkhbt")
|
||||||
|
|
||||||
[node name="Depth of Field" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
[node name="Depth of Field" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||||
custom_minimum_size = Vector2(0, 28)
|
custom_minimum_size = Vector2(0, 32)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Depth of Field"]
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Depth of Field"]
|
||||||
@ -113,7 +113,7 @@ size_flags_horizontal = 3
|
|||||||
script = ExtResource("5_kjasn")
|
script = ExtResource("5_kjasn")
|
||||||
|
|
||||||
[node name="Brightness" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
[node name="Brightness" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||||
custom_minimum_size = Vector2(0, 28)
|
custom_minimum_size = Vector2(0, 32)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Brightness"]
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Brightness"]
|
||||||
@ -131,7 +131,7 @@ value = 0.5
|
|||||||
script = ExtResource("7_redsl")
|
script = ExtResource("7_redsl")
|
||||||
|
|
||||||
[node name="Contrast" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
[node name="Contrast" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||||
custom_minimum_size = Vector2(0, 28)
|
custom_minimum_size = Vector2(0, 32)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Contrast"]
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Contrast"]
|
||||||
@ -149,7 +149,7 @@ value = 0.5
|
|||||||
script = ExtResource("8_q4hif")
|
script = ExtResource("8_q4hif")
|
||||||
|
|
||||||
[node name="Saturation" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
[node name="Saturation" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
|
||||||
custom_minimum_size = Vector2(0, 28)
|
custom_minimum_size = Vector2(0, 32)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Saturation"]
|
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Saturation"]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
default_font = ExtResource("1_1unma")
|
default_font = ExtResource("1_1unma")
|
||||||
|
default_font_size = 20
|
||||||
MarginContainer/constants/margin_bottom = 12
|
MarginContainer/constants/margin_bottom = 12
|
||||||
MarginContainer/constants/margin_left = 12
|
MarginContainer/constants/margin_left = 12
|
||||||
MarginContainer/constants/margin_right = 12
|
MarginContainer/constants/margin_right = 12
|
||||||
|
4
client/world/utils/LookAtCamera.gd
Normal file
4
client/world/utils/LookAtCamera.gd
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
extends Node3D
|
||||||
|
|
||||||
|
func _process(_delta):
|
||||||
|
look_at(Global.camera.global_position, Vector3.UP, true)
|
Loading…
Reference in New Issue
Block a user