fix player hud doubling
This commit is contained in:
parent
0f94338b37
commit
cb8da7c59e
Binary file not shown.
@ -20,6 +20,8 @@ var steam_id: int = 0
|
|||||||
@export var player_avatar_face: Sprite3D
|
@export var player_avatar_face: Sprite3D
|
||||||
@export var body: MeshInstance3D
|
@export var body: MeshInstance3D
|
||||||
@export var head: MeshInstance3D
|
@export var head: MeshInstance3D
|
||||||
|
@export var player_hud: CanvasLayer
|
||||||
|
|
||||||
|
|
||||||
var jumping: bool = false
|
var jumping: bool = false
|
||||||
var is_using_joystick: bool = false
|
var is_using_joystick: bool = false
|
||||||
@ -54,6 +56,8 @@ func _ready() -> void:
|
|||||||
head.hide()
|
head.hide()
|
||||||
player_avatar_face.hide()
|
player_avatar_face.hide()
|
||||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||||
|
else:
|
||||||
|
player_hud.hide()
|
||||||
|
|
||||||
|
|
||||||
func _input(event):
|
func _input(event):
|
||||||
|
BIN
godot-jolt/windows/~godot-jolt_windows-x64_editor.dll
Normal file
BIN
godot-jolt/windows/~godot-jolt_windows-x64_editor.dll
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user