[oden][oden-js] Rework modules

Damn this is a lot
This commit is contained in:
John Doty 2023-06-24 08:45:39 -07:00
parent aa90cea4a3
commit db8a5f8eed
12 changed files with 280 additions and 105 deletions

View file

@ -1,4 +1,4 @@
import { cls, print, spr } from "graphics";
import { cls, print, spr } from "./src/graphics";
export function init() {
print("Hello world!");
@ -8,5 +8,5 @@ export function update() {}
export function draw() {
cls(0.1, 0.2, 0.3);
spr(0, 0, 0.5, 0.5, 0, 0, 0.5, 0.5);
spr(0, 0, 0.5, 0.5, 0, 0);
}