Created
February 17, 2026 13:52
-
-
Save adamscott/33d36c38a10787b6b4accf52ac80aed5 to your computer and use it in GitHub Desktop.
Scale Godot content for HiDPI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func _ready() -> void: | |
| get_tree().root.content_scale_factor = DisplayServer.screen_get_scale() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment