[oden][oden-js] Rework modules
Damn this is a lot
This commit is contained in:
parent
aa90cea4a3
commit
db8a5f8eed
12 changed files with 280 additions and 105 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue