Fixed dynamic updates on scene rendering

This commit is contained in:
2026-03-29 19:08:58 -05:00
parent 8af961c6d3
commit 0885da8d44
3 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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()

View File

@@ -22,7 +22,7 @@ errorret_t sceneInit(void) {
errorret_t sceneUpdate(void) {
#ifdef DUSK_TIME_DYNAMIC
if(!TIME.dynamicUpdate) {
if(TIME.dynamicUpdate) {
errorOk();
}
#endif