mirror of
https://github.com/irmen/prog8.git
synced 2024-11-28 10:51:14 +00:00
20 lines
379 B
Lua
20 lines
379 B
Lua
%import sprites
|
|
%import textio
|
|
%option no_sysinit
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
ubyte sprite
|
|
|
|
for sprite in 1 to 99 {
|
|
sys.wait(1)
|
|
sprites.init(sprite, 0, 0, sprites.SIZE_8, sprites.SIZE_8, sprites.COLORS_256, 0)
|
|
sprites.pos(sprite, 10 + sprite*10, 10+sprite*4)
|
|
}
|
|
|
|
sprites.reset(1, 100)
|
|
|
|
}
|
|
}
|