mirror of
https://github.com/irmen/prog8.git
synced 2024-11-25 04:31:20 +00:00
20 lines
385 B
Lua
20 lines
385 B
Lua
%import sprites
|
|
%import textio
|
|
%option no_sysinit
|
|
%zeropage basicsafe
|
|
|
|
main $0810 {
|
|
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)
|
|
|
|
}
|
|
}
|