mirror of
https://github.com/FOSS-Supremacy/OpenLiberty.git
synced 2025-04-28 20:07:57 +03:00
Update the project to Godot 4.3 and add small improvements
This commit is contained in:
parent
1d27c09514
commit
9bb0bfcf42
7 changed files with 201 additions and 20 deletions
|
@ -25,3 +25,9 @@ func _unhandled_input(event: InputEvent) -> void:
|
|||
var car_node := car.instantiate()
|
||||
add_child(car_node)
|
||||
car_node.global_position = get_viewport().get_camera_3d().global_position
|
||||
|
||||
func _input(event):
|
||||
if Input.is_action_just_pressed("full_screen"):
|
||||
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN)
|
||||
#else:
|
||||
#DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_WINDOWED)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue