[oden] lol sprite API
This commit is contained in:
parent
c7903382a0
commit
aa90cea4a3
3 changed files with 168 additions and 75 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue