11 lines
207 B
ActionScript
11 lines
207 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);
|
|
} |