Fixed dynamic updates on scene rendering
This commit is contained in:
@@ -70,6 +70,7 @@ elseif LINUX then
|
||||
inputBind("mouse_x", INPUT_ACTION_POINTERX)
|
||||
inputBind("mouse_y", INPUT_ACTION_POINTERY)
|
||||
end
|
||||
|
||||
else
|
||||
print("Unknown platform, no default input bindings set.")
|
||||
end
|
||||
|
||||
@@ -180,7 +180,7 @@ end
|
||||
|
||||
function sceneUpdate()
|
||||
x = x + inputAxis(INPUT_ACTION_LEFT, INPUT_ACTION_RIGHT)
|
||||
y = y - inputAxis(INPUT_ACTION_UP, INPUT_ACTION_DOWN)
|
||||
y = y + inputAxis(INPUT_ACTION_UP, INPUT_ACTION_DOWN)
|
||||
end
|
||||
|
||||
function sceneRender()
|
||||
|
||||
Reference in New Issue
Block a user