Skip to main content
AcroProjects u/AcroProjects avatar

Acro Projects

u/AcroProjects

Feed options
Hot
New
Top
View
Card
Compact

fwiw

Thank you very much. I've been working really hard on the UI recently so I'm glad it's paying off =)


I just tried it and it surprisingly worked. I'll probably leave the toggle like this until 4.1 releases and fixes the issue. Thank you so much for letting me know about this little workaround!


Ok, wasn't sure if it was me or the engine lol. Thank you so much!


Thank you so much! I really appreciate it!! =)


Code used to toggle full screen mode:

func _input(_event):

if Input.is_action_just_pressed("toggle_fullscreeen"):

	if DisplayServer.window_get_mode() == DisplayServer.WINDOW_MODE_FULLSCREEN:
		    DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_MAXIMIZED)
	else:
		DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN)

Toggling fullscreen in code produces a white border (Godot 4.0.2)
Image
r/godot
Toggling fullscreen in code produces a white border (Godot 4.0.2)
media poster

That is absolutely hilarious 🤣🤣🤣


I think the zoom in is so much better. The fade looks good but kinda bland. Either one works tho