13 lines
236 B
ActionScript
13 lines
236 B
ActionScript
float x = 50;
|
|
float y = 100;
|
|
|
|
void Update(float dt) {
|
|
x += 50 * dt;
|
|
if (x > 800) x = 0;
|
|
}
|
|
|
|
void Draw() {
|
|
Print("Drawing stuff");
|
|
DrawText("Hello from AngelScript - Working perfectly!", int(x), int(y), 20, 0xFF0000FF);
|
|
}
|