diff options
Diffstat (limited to 'doc/graphics/tileset.texi')
-rw-r--r-- | doc/graphics/tileset.texi | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/doc/graphics/tileset.texi b/doc/graphics/tileset.texi deleted file mode 100644 index 96aab67..0000000 --- a/doc/graphics/tileset.texi +++ /dev/null @@ -1,41 +0,0 @@ -@node Tilesets -@section Tilesets - -In most 2D games, the game world is composed of many small, -rectangular pieces called tiles. In Sly, tilesets are used to -encapsulate a group of uniformly sized texture regions that come from -a single parent texture. - -@anchor{2d tileset make-tileset}@defun make-tileset texture width height [#:margin] [#:spacing] -Return a new tileset that is built by splitting TEXTURE into tiles. - -@end defun - -@anchor{2d tileset load-tileset}@defun load-tileset filename width height [#:margin] [#:spacing] -Return a new tileset that is built by loading the texture at FILENAME -and splitting the texture into tiles. - -@end defun - -@anchor{2d tileset tileset?}@defspec tileset? -@end defspec - -@anchor{2d tileset tileset-tiles}@defspec tileset-tiles -@end defspec - -@anchor{2d tileset tileset-width}@defspec tileset-width -@end defspec - -@anchor{2d tileset tileset-height}@defspec tileset-height -@end defspec - -@anchor{2d tileset tileset-margin}@defspec tileset-margin -@end defspec - -@anchor{2d tileset tileset-spacing}@defspec tileset-spacing -@end defspec - -@anchor{2d tileset tileset-ref}@defun tileset-ref tileset i -Return the tile texture of TILESET at index I. - -@end defun |