Files
simian/scripts/test.as

12 lines
208 B
ActionScript

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