Fixes for rename from fixed to physics

This commit is contained in:
Scott Beca
2017-10-04 22:12:41 +11:00
parent 9849c9edb9
commit 96ae223e21
20 changed files with 27 additions and 27 deletions

View File

@@ -14,7 +14,7 @@ var axis_value
const DEADZONE = 0.2
func _fixed_process(delta):
func _physics_process(delta):
# Get the joypad device number from the spinbox
joy_num = get_node("device_info/joy_num").get_value()
@@ -48,7 +48,7 @@ func _fixed_process(delta):
get_node("diagram/buttons/" + str(btn)).hide()
func _ready():
set_fixed_process(true)
set_physics_process(true)
Input.connect("joy_connection_changed", self, "_on_joy_connection_changed")
#Called whenever a joypad has been connected or disconnected.

View File

@@ -5,7 +5,7 @@ var mousepos
onready var observer = $"../Observer"
func _fixed_process(delta):
func _physics_process(delta):
var modetext = "Mode:\n"
if (OS.is_window_fullscreen()):
@@ -126,7 +126,7 @@ func check_wm_api():
func _ready():
if (not check_wm_api()):
set_fixed_process(false)
set_physics_process(false)
set_process_input(false)

View File

@@ -15,7 +15,7 @@ func direction(vector):
return v
func _fixed_process(delta):
func _physics_process(delta):
if (state != STATE_GRAB):
return