Explorar o código

removed up, down, left, right keys from the demo.

were used before for fast multiscreen setup testing.
hurikhan %!s(int64=10) %!d(string=hai) anos
pai
achega
8dd66bec47
Modificáronse 2 ficheiros con 0 adicións e 12 borrados
  1. 0 12
      misc/window_management/control.gd
  2. BIN=BIN
      misc/window_management/window_management.scn

+ 0 - 12
misc/window_management/control.gd

@@ -54,18 +54,6 @@ func _fixed_process(delta):
 		get_node("Label_Screen1_Resolution").hide()
 		get_node("Label_Screen1_Position").hide()
 		
-	if( Input.is_action_pressed("ui_right")):
-		OS.set_screen(1)
-		
-	if( Input.is_action_pressed("ui_left")):
-		OS.set_screen(0)
-		
-	if( Input.is_action_pressed("ui_up")):
-		OS.set_fullscreen(true)
-		
-	if( Input.is_action_pressed("ui_down")):
-		OS.set_fullscreen(false)
-		
 	get_node("Button_Fullscreen").set_pressed( OS.is_fullscreen() )
 	get_node("Button_FixedSize").set_pressed( !OS.is_resizable() )
 	get_node("Button_Minimized").set_pressed( OS.is_minimized() )

BIN=BIN
misc/window_management/window_management.scn