Handbook
Glossary
load-sprite-textures ( filename cols rows -- seq )
Vocabulary
snake-game
.
sprites
Inputs
filename
an
object
cols
an
object
rows
an
object
Outputs
seq
an
object
Definition
USING:
kernel
opengl.textures
sequences
;
IN:
snake-game.sprites
:
load-sprite-textures
( filename cols rows -- seq )
[
load-snake-image
]
2dip
generate-sprite-sheet
[
{
0 0
}
<texture>
]
map
;