If you have a matrix that has zero in it (the matrix being your map), and you use the omnicalc sprite routine, it messes up, here's some code...
Code: Select all
{1:Asm(prmXLIB
{2,0:Asm(prgmXLIB
While 1
{4,0,0,12,8,0,11,0,7,0,0,1:Asm(prgmXLIB
Repeat getKey
End
Real(20,0,8,0,8,8,0,0 "Omnicalc's sprite
Repeat getKey
End
End
The reason I have the Repeat getKey is so that it will draw the tile map, then wait, then draw the sprite, wait, and update the tile map...
Two simple solutions are to use XLIB's sprites, or not use zero in the matrix, which I might do (the latter)...