nano9 0.1.0-alpha.2

A Pico-8 compatibility layer for Bevy
Documentation
--[===[
template = "pico8"
[[image]]
path = "BirdSprite.png"
sprite_size = [16, 16]
]===]
function _init()
    print("hello")
    spr(0)
end

t = 0
function _draw()
    cls()
    -- sprite number
    local n = time() * 4 % 8 + 8
    local x, y = t % 128, t / 128
    spr(n, x, y, 1, 1, true --[[flip horizontal]])
    t = t + 1
end