Files
Airport/assets/scripts/render.toy

18 lines
279 B
Plaintext

import engine;
import node;
fn onInit(node: opaque) {
node.loadTextureEngineNode("assets/sprites/character.png");
}
fn onStep(node: opaque) {
//
}
fn onFree(node: opaque) {
node.freeTextureEngineNode();
}
fn onDraw(node: opaque) {
node.drawEngineNode(50, 50, 100, 100);
}