[oden] lol sprite API

This commit is contained in:
John Doty 2023-06-23 06:25:45 -07:00
parent c7903382a0
commit aa90cea4a3
3 changed files with 168 additions and 75 deletions

View file

@ -1,4 +1,4 @@
import { cls, print } from "graphics";
import { cls, print, spr } from "graphics";
export function init() {
print("Hello world!");
@ -8,4 +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);
}