Files
simian/scripts/update.as
Nick Koirala 26bcfac7d1
All checks were successful
CI / build-and-test (push) Successful in 2m23s
feat: attempts to fix logging issue
2025-11-17 19:14:27 +13:00

13 lines
253 B
ActionScript

float x = 50;
float y = 100;
void Update(float dt) {
x += 640 * dt;
if (x > 800) {
x = 0;
Print("X position reset!");
Log(LOG_INFO, "Log INFO: reset happened");
Toast::Info("X position has been reset.");
}
}