Files
simian/scripts/test.as

12 lines
214 B
ActionScript

float x = 50;
float y = 100;
void Update(float dt) {
x += 50 * dt; // move text horizontally
if (x > 800) x = 0;
}
void Draw() {
DrawText("Hello from AngelScript!", int(x), int(y), 20, 0xFF0000FF);
}