Created
January 13, 2020 19:38
-
-
Save zmarcos/ed061746845f59e1f864972e1b193de8 to your computer and use it in GitHub Desktop.
Godot Flipper
This file contains 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
extends Node | |
func _ready(): | |
# To flip the viewport on Windows (USED FOR TESTING) | |
if ("Windows" == OS.get_name()) and OS.is_debug_build(): | |
var vp: Viewport = get_tree().get_root() | |
vp.render_target_v_flip = true | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment