[oden] Coordinate system goes the right way
This commit is contained in:
parent
646c2ac1b8
commit
358a07dc43
4 changed files with 17 additions and 90 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue