[oden] Coordinate system goes the right way

This commit is contained in:
John Doty 2023-07-03 08:00:57 -07:00
parent 646c2ac1b8
commit 358a07dc43
4 changed files with 17 additions and 90 deletions

View file

@ -21,7 +21,9 @@ export function draw() {
if (bot_sprite != undefined) {
// ...it gets resolved here?
use_texture(bot_sprite);
spr(10, 10, 32, 32, 0, 0);
let y = (since_start() * 10) % 240;
spr(10, y, 32, 32, 0, 0);
}
// print("FRAME TIME:", since_last_frame());
}