Files
simian/scripts/update.as
Nick Koirala 2ae078a82b
All checks were successful
CI / build-and-test (push) Successful in 2m17s
fix: log window is now working correctly
2025-11-17 19:43:14 +13:00

13 lines
252 B
ActionScript

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