Files
simian/scripts/update.as

14 lines
314 B
ActionScript

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