--[===[
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