Files
simian/scripts/update.as
Nick Koirala 8c0d567ab9
All checks were successful
CI / build-and-test (push) Successful in 2m2s
CI / build-and-test (pull_request) Successful in 2m6s
fix: gui issues and added as.predefined
2025-11-14 11:29:38 +13:00

12 lines
201 B
ActionScript

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