Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

For the square above the 'press an arrow key' text, what do the individual numbers mean when contributing to its shape and position?

cls(15) -- means clear screen with thw 15th color (white)
spr(1+(t%20)/10,x,y,1,4) -- draws sprite with index = 1+(t%20)/10, with xy position, 1 means transparent color index, 4 is scale

spr id x y [colorkey [scale [flip]]]