mirror of
https://github.com/libretro/libretro-chailove.git
synced 2025-03-01 12:45:46 +00:00
21 lines
383 B
ChaiScript
21 lines
383 B
ChaiScript
global x = 100;
|
|
global y = 100;
|
|
global velocity = 0.5;
|
|
global logo;
|
|
global q;
|
|
|
|
def conf(t) {
|
|
t.window.width = 1024;
|
|
t.window.height = 768;
|
|
}
|
|
|
|
def load() {
|
|
q = graphics.newQuad(110, 0, 200, 100, 0, 0);
|
|
logo = graphics.newImage("test/logo.png");
|
|
}
|
|
|
|
def draw() {
|
|
graphics.draw(logo, q, x, y);
|
|
graphics.print("Hello World!!!!!!!!", mouse.getX(), mouse.getY());
|
|
}
|