Skip to content

Instantly share code, notes, and snippets.

View AbsoluteVendingMachine's full-sized avatar

AbsoluteVendingMachine

View GitHub Profile
@AbsoluteVendingMachine
AbsoluteVendingMachine / ResolutionUtil.gd
Last active March 6, 2026 08:16
Screen resolution option retrieval utility for Godot 4+.
### ResolutionUtil.gd
# Original functionality by AbsoluteVendingMachine.
# Static rewrite by Jefftastic (@jeffinitup).
# Released under CC0 1.0 Universal license
# (https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt)
class_name ResolutionUtil extends RefCounted