Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the cl-tiled Reference Manual, version 0.2.1, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 12:53:02 2020 GMT+0.
• Introduction | What cl-tiled is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
Tiled TMX/TSX and JSON map/tileset loader
cl-tiled is a Common Lisp library for importing TMX/TSX and JSON tilemaps and tilesets generated by Tiled. It aims to fill the same role as other engine-agnostic Tiled importers. Meaning it is not a renderer nor does it provide integration with renderers on its own. Instead it aims to provide an easy, logical way to read map data so it may be imported/rendered in whatever way you wish.
alpha quality. API changes to come. Mostly additions to missing features.
Note that as a current goal, this library aims to be feature complete, not fast nor space efficient.
Current:
Planned:
Please post any requests/bugs on the issues page.
(use-package #:cl-tiled)
(defgeneric render-layer (layer))
(defmethod render-layer ((layer tile-layer))
(dolist (cell (layer-cells layer))
;; cell-x and cell-y for pixel positions
;; cell-tile for `tile' information
;; what image, which row/column within image
))
(defmethod render-layer ((layer image-layer))
;;layer-image gets you the relevant image to render
)
(defmethod render-layer ((layer object-layer))
(dolist (object (object-group-objects layer))
;; render each object according to type
))
(defmethod render-layer ((layer group-layer))
;;Render each sub-layer
(dolist (layer (group-layers layer))
(render-layer layer)))
(let ((tiled-map (load-map "assets/map.tmx")))
(dolist (layer (map-layers tiled-map))
(render-layer layer)))
Wilfredo Velázquez-Rodríguez <zulu.inuoe@gmail.co
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The cl-tiled system |
Wilfredo Velázquez-Rodríguez <zulu.inuoe@gmail.com>
zlib/libpng License <http://opensource.org/licenses/zlib-license.php>
Tiled (http://www.mapeditor.org/) Loader
0.2.1
cl-tiled.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The cl-tiled.asd file | ||
• The cl-tiled/data-types.lisp file | ||
• The cl-tiled/impl.lisp file | ||
• The cl-tiled/tiled-xml.lisp file | ||
• The cl-tiled/tiled-json.lisp file | ||
• The cl-tiled/tiled.lisp file |
Next: The cl-tiled/data-types․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
/home/quickref/quicklisp/dists/quicklisp/software/cl-tiled-20191130-git/cl-tiled.asd
cl-tiled (system)
Next: The cl-tiled/impl․lisp file, Previous: The cl-tiled․asd file, Up: Lisp files [Contents][Index]
cl-tiled (system)
data-types.lisp
Next: The cl-tiled/tiled-xml․lisp file, Previous: The cl-tiled/data-types․lisp file, Up: Lisp files [Contents][Index]
cl-tiled (system)
impl.lisp
Next: The cl-tiled/tiled-json․lisp file, Previous: The cl-tiled/impl․lisp file, Up: Lisp files [Contents][Index]
cl-tiled (system)
tiled-xml.lisp
Next: The cl-tiled/tiled․lisp file, Previous: The cl-tiled/tiled-xml․lisp file, Up: Lisp files [Contents][Index]
cl-tiled (system)
tiled-json.lisp
Previous: The cl-tiled/tiled-json․lisp file, Up: Lisp files [Contents][Index]
cl-tiled (system)
tiled.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The cl-tiled.data-types package | ||
• The cl-tiled.impl package | ||
• The cl-tiled.impl.xml package | ||
• The cl-tiled.impl.json package | ||
• The cl-tiled package |
Next: The cl-tiled․impl package, Previous: Packages, Up: Packages [Contents][Index]
data-types.lisp (file)
Next: The cl-tiled․impl․xml package, Previous: The cl-tiled․data-types package, Up: Packages [Contents][Index]
impl.lisp (file)
Next: The cl-tiled․impl․json package, Previous: The cl-tiled․impl package, Up: Packages [Contents][Index]
tiled-xml.lisp (file)
Next: The cl-tiled package, Previous: The cl-tiled․impl․xml package, Up: Packages [Contents][Index]
tiled-json.lisp (file)
Previous: The cl-tiled․impl․json package, Up: Packages [Contents][Index]
tiled.lisp (file)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported structures | ||
• Exported classes | ||
• Exported types |
Next: Exported functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
impl.lisp (file)
impl.lisp (file)
Next: Exported generic functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
impl.lisp (file)
impl.lisp (file)
data-types.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
impl.lisp (file)
impl.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
Next: Exported structures, Previous: Exported functions, Up: Exported definitions [Contents][Index]
The column to draw this cell to, relative to its containing layer
data-types.lisp (file)
The tile is flipped anti-diagonally
data-types.lisp (file)
The tile is flipped horizontally
data-types.lisp (file)
The tile is flipped vertically
data-types.lisp (file)
The tile-layer containing this cell
data-types.lisp (file)
The row to draw this cell to, relative to its containing layer
data-types.lisp (file)
The tile at this cell
data-types.lisp (file)
The horizontal radius of this ellipse, in pixels
data-types.lisp (file)
The vertical radius of this ellipse, in pixels
data-types.lisp (file)
The length of this frame, in milliseconds
data-types.lisp (file)
The tile to use for this frame
data-types.lisp (file)
The layers nested in this group
data-types.lisp (file)
Embedded data in the given format
data-types.lisp (file)
Format of the embedded image data as a string in the form "png", "gif", "jpg", "bmp", etc.
data-types.lisp (file)
Height of the image in pixels (optional)
data-types.lisp (file)
Path to the image file
data-types.lisp (file)
Color to use as ’transparent’ (optional)
data-types.lisp (file)
Width of the image in pixels (optional)
data-types.lisp (file)
The cells on this layer
data-types.lisp (file)
The image displayed by this layer.
data-types.lisp (file)
The map containing this layer
data-types.lisp (file)
The name of this layer
data-types.lisp (file)
The horizontal rendering offset for this layer, in pixels
data-types.lisp (file)
The vertical rendering offset for this layer, in piyels
data-types.lisp (file)
The opacity of this layer, from 0 to 1
data-types.lisp (file)
The parent group layer containing this layer, if any
data-types.lisp (file)
Whether or not the layer is visible
data-types.lisp (file)
The background color of this map.
data-types.lisp (file)
Height of this map, in tiles.
data-types.lisp (file)
All the layers of this map.
data-types.lisp (file)
The orientation of the map
data-types.lisp (file)
The order in which tiles on each layer are rendered.
data-types.lisp (file)
The height of each tile in this map, in pixels.
data-types.lisp (file)
The width of each tile in this map, in pixels.
data-types.lisp (file)
The Tiled version used to save the file
data-types.lisp (file)
All the tilesets of this map.
data-types.lisp (file)
The TMX format version
data-types.lisp (file)
Width of this map, in tiles.
data-types.lisp (file)
The tile is flipped anti-diagonally
data-types.lisp (file)
The tile is flipped horizontally
data-types.lisp (file)
The tile is flipped vertically
data-types.lisp (file)
The draw order for the objects on this group.
data-types.lisp (file)
The objects in this group.
data-types.lisp (file)
The height of the object, in pixels
data-types.lisp (file)
Unique ID of the object.
data-types.lisp (file)
The image displayed by this object
data-types.lisp (file)
The name of the object. An arbitrary string.
data-types.lisp (file)
The clockwise rotation of the object, in degrees.
data-types.lisp (file)
The tile used by this object.
data-types.lisp (file)
The type of the object. An arbitrary string.
data-types.lisp (file)
Whether or not the object is visible.
data-types.lisp (file)
The width of the object, in pixels.
data-types.lisp (file)
The x coordinate of the object, in pixels.
data-types.lisp (file)
The y coordinate of the object, in pixels.
data-types.lisp (file)
A list of the form (x . y) of vertices, in pixels. These coordinates are relative to the x and y of the object
data-types.lisp (file)
A list of the form (x . y) of points, in pixels.
These coordinates are relative to the x and y of the object
data-types.lisp (file)
The name of the given property.
data-types.lisp (file)
The name of this property
The ‘property-type’ of the given ‘property’.
data-types.lisp (file)
The value of the given property.
data-types.lisp (file)
automatically generated reader method
automatically generated reader method
automatically generated reader method
automatically generated reader method
automatically generated reader method
The string representation of this property’s value.
data-types.lisp (file)
The verbatim string representation of this property.
The height of the rectangle, in pixels.
data-types.lisp (file)
The width of the rectangle, in pixels.
data-types.lisp (file)
The name of the terrain type
data-types.lisp (file)
The tile this terrain type refers to
data-types.lisp (file)
Whether bold is enabled or not
data-types.lisp (file)
The color of the text
data-types.lisp (file)
The font family used
data-types.lisp (file)
Horizontal alignment of the text
data-types.lisp (file)
Whether italic is enabled or not
data-types.lisp (file)
Whether kerning is enabled or not
data-types.lisp (file)
The size of the font, in pixels (not points)
data-types.lisp (file)
Whether strikeout is enabled or not
data-types.lisp (file)
The string of text
data-types.lisp (file)
Whether underline is enabled or not
data-types.lisp (file)
Horizontal alignment of the text
data-types.lisp (file)
Whether word wrapping is enabled or not
data-types.lisp (file)
A lit of animation frames
data-types.lisp (file)
The local ID of this tile within its tileset
data-types.lisp (file)
data-types.lisp (file)
The individualized image for this tile.
The collision objects in this tile
data-types.lisp (file)
’A percentage indicating the probability that this tile is chosen when it competes with others while editing with the terrain tool.’
data-types.lisp (file)
Defines the terrain types of each corner of the tile.
0 - top left
1 - top right
2 - bottom left
3 - bottom right
If nil, indicates no terrain at that corner.
data-types.lisp (file)
The tileset this tile belongs to.
data-types.lisp (file)
’The type of the tile. Refers to an object type and is used by tile objects. (optional)’
data-types.lisp (file)
The number of columns of tiles in this tileset
data-types.lisp (file)
First global tile ID of this tileset
data-types.lisp (file)
The image to be used in this tileset
data-types.lisp (file)
The margin around the tiles in this tileset
data-types.lisp (file)
Name of this tileset
data-types.lisp (file)
The offset that is applied when drawing the tiles in this tileset
data-types.lisp (file)
The offset that is applied when drawing the tiles in this tileset
data-types.lisp (file)
The path to this tileset
data-types.lisp (file)
The spacing in pixels between the tiles in this tileset
data-types.lisp (file)
The terrain types in this tileset
data-types.lisp (file)
The number of tiles in this tileset
data-types.lisp (file)
The ’maximum’ height of the tiles in this tileset in pixels
data-types.lisp (file)
The ’maximum’ width of the tiles in this tileset in pixels
data-types.lisp (file)
The tiles in this terrain
data-types.lisp (file)
Next: Exported classes, Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
impl.lisp (file)
structure-object (structure)
integer
0
tframe-tile-id (function)
(setf tframe-tile-id) (function)
integer
0
tframe-duration (function)
(setf tframe-duration) (function)
data-types.lisp (file)
structure-object (structure)
(unsigned-byte 8)
0
tiled-color-r (function)
(setf tiled-color-r) (function)
(unsigned-byte 8)
0
tiled-color-g (function)
(setf tiled-color-g) (function)
(unsigned-byte 8)
0
tiled-color-b (function)
(setf tiled-color-b) (function)
(unsigned-byte 8)
255
tiled-color-a (function)
(setf tiled-color-a) (function)
impl.lisp (file)
structure-object (structure)
cl-tiled.impl:timage-encoding
:base64
timage-data-encoding (function)
(setf timage-data-encoding) (function)
cl-tiled.impl:tcompression
timage-data-compression (function)
(setf timage-data-compression) (function)
(simple-array (unsigned-byte 8) *)
(make-array 0 :element-type (quote (unsigned-byte 8)))
timage-data-data (function)
(setf timage-data-data) (function)
impl.lisp (file)
tlayer (structure)
(or null cl-tiled.data-types:tiled-image)
timage-layer-image (function)
(setf timage-layer-image) (function)
impl.lisp (file)
structure-object (structure)
string
""
tlayer-name (function)
(setf tlayer-name) (function)
(or null integer)
tlayer-x (function)
(setf tlayer-x) (function)
(or null integer)
tlayer-y (function)
(setf tlayer-y) (function)
(or null integer)
tlayer-width (function)
(setf tlayer-width) (function)
(or null integer)
tlayer-height (function)
(setf tlayer-height) (function)
real
1.0
tlayer-opacity (function)
(setf tlayer-opacity) (function)
boolean
t
tlayer-visible (function)
(setf tlayer-visible) (function)
integer
0
tlayer-offset-x (function)
(setf tlayer-offset-x) (function)
integer
0
tlayer-offset-y (function)
(setf tlayer-offset-y) (function)
list
tlayer-properties (function)
(setf tlayer-properties) (function)
impl.lisp (file)
tlayer (structure)
list
tlayer-group-layers (function)
(setf tlayer-group-layers) (function)
impl.lisp (file)
structure-object (structure)
(or null string)
""
tmap-version (function)
(setf tmap-version) (function)
(or null string)
""
tmap-tiled-version (function)
(setf tmap-tiled-version) (function)
(or null cl-tiled.data-types:orientation)
:orthogonal
tmap-orientation (function)
(setf tmap-orientation) (function)
(or null cl-tiled.data-types:render-order)
tmap-render-order (function)
(setf tmap-render-order) (function)
integer
0
tmap-width (function)
(setf tmap-width) (function)
integer
0
tmap-height (function)
(setf tmap-height) (function)
integer
0
tmap-tile-width (function)
(setf tmap-tile-width) (function)
integer
0
tmap-tile-height (function)
(setf tmap-tile-height) (function)
(or null integer)
tmap-hex-side-length (function)
(setf tmap-hex-side-length) (function)
(or null cl-tiled.data-types:stagger-axis)
tmap-stagger-axis (function)
(setf tmap-stagger-axis) (function)
(or null cl-tiled.data-types:stagger-index)
tmap-stagger-index (function)
(setf tmap-stagger-index) (function)
(or null cl-tiled.data-types:tiled-color)
tmap-background-color (function)
(setf tmap-background-color) (function)
integer
0
tmap-next-object-id (function)
(setf tmap-next-object-id) (function)
list
tmap-properties (function)
(setf tmap-properties) (function)
list
tmap-tilesets (function)
(setf tmap-tilesets) (function)
list
tmap-layers (function)
(setf tmap-layers) (function)
impl.lisp (file)
structure-object (structure)
integer
0
tobject-id (function)
(setf tobject-id) (function)
string
""
tobject-name (function)
(setf tobject-name) (function)
string
""
tobject-type (function)
(setf tobject-type) (function)
integer
0
tobject-x (function)
(setf tobject-x) (function)
integer
0
tobject-y (function)
(setf tobject-y) (function)
(or null integer)
tobject-width (function)
(setf tobject-width) (function)
(or null integer)
tobject-height (function)
(setf tobject-height) (function)
(or null real)
tobject-rotation (function)
(setf tobject-rotation) (function)
(or null integer)
tobject-gid (function)
(setf tobject-gid) (function)
boolean
t
tobject-visible (function)
(setf tobject-visible) (function)
list
tobject-properties (function)
(setf tobject-properties) (function)
boolean
tobject-ellipse (function)
(setf tobject-ellipse) (function)
(or null cl-tiled.impl:tpolygon)
tobject-polygon (function)
(setf tobject-polygon) (function)
(or null cl-tiled.impl:tpolyline)
tobject-polyline (function)
(setf tobject-polyline) (function)
(or null cl-tiled.impl:ttext)
tobject-text (function)
(setf tobject-text) (function)
(or null cl-tiled.data-types:tiled-image)
tobject-image (function)
(setf tobject-image) (function)
impl.lisp (file)
tlayer (structure)
(or null cl-tiled.data-types:tiled-color)
tobject-group-color (function)
(setf tobject-group-color) (function)
(or null cl-tiled.data-types:draw-order)
tobject-group-draw-order (function)
(setf tobject-group-draw-order) (function)
list
tobject-group-objects (function)
(setf tobject-group-objects) (function)
impl.lisp (file)
structure-object (structure)
list
tpolygon-points (function)
(setf tpolygon-points) (function)
impl.lisp (file)
structure-object (structure)
list
tpolyline-points (function)
(setf tpolyline-points) (function)
impl.lisp (file)
structure-object (structure)
string
""
tterrain-name (function)
(setf tterrain-name) (function)
integer
0
tterrain-tile (function)
(setf tterrain-tile) (function)
list
tterrain-properties (function)
(setf tterrain-properties) (function)
impl.lisp (file)
structure-object (structure)
string
""
ttext-text (function)
(setf ttext-text) (function)
(or null string)
ttext-font-family (function)
(setf ttext-font-family) (function)
(or null integer)
ttext-pixel-size (function)
(setf ttext-pixel-size) (function)
boolean
ttext-wrap (function)
(setf ttext-wrap) (function)
(or null cl-tiled.data-types:tiled-color)
ttext-color (function)
(setf ttext-color) (function)
boolean
ttext-bold (function)
(setf ttext-bold) (function)
boolean
ttext-italic (function)
(setf ttext-italic) (function)
boolean
ttext-underline (function)
(setf ttext-underline) (function)
boolean
ttext-strikeout (function)
(setf ttext-strikeout) (function)
boolean
t
ttext-kerning (function)
(setf ttext-kerning) (function)
(or null cl-tiled.data-types:horizontal-alignment)
ttext-halign (function)
(setf ttext-halign) (function)
(or null cl-tiled.data-types:vertical-alignment)
ttext-valign (function)
(setf ttext-valign) (function)
impl.lisp (file)
structure-object (structure)
cl-tiled.impl:ttile-encoding
:csv
ttile-data-encoding (function)
(setf ttile-data-encoding) (function)
cl-tiled.impl:tcompression
ttile-data-compression (function)
(setf ttile-data-compression) (function)
list
ttile-data-tiles (function)
(setf ttile-data-tiles) (function)
impl.lisp (file)
tlayer (structure)
cl-tiled.impl:ttile-data
ttile-layer-tile-data (function)
(setf ttile-layer-tile-data) (function)
impl.lisp (file)
structure-object (structure)
(or null integer)
ttileset-first-gid (function)
(setf ttileset-first-gid) (function)
(or null string)
ttileset-source (function)
(setf ttileset-source) (function)
(or null string)
ttileset-name (function)
(setf ttileset-name) (function)
(or null integer)
ttileset-tile-width (function)
(setf ttileset-tile-width) (function)
(or null integer)
ttileset-tile-height (function)
(setf ttileset-tile-height) (function)
(or null integer)
ttileset-spacing (function)
(setf ttileset-spacing) (function)
(or null integer)
ttileset-margin (function)
(setf ttileset-margin) (function)
(or null integer)
ttileset-tile-count (function)
(setf ttileset-tile-count) (function)
(or null integer)
ttileset-columns (function)
(setf ttileset-columns) (function)
(or null integer)
ttileset-tile-offset-x (function)
(setf ttileset-tile-offset-x) (function)
(or null integer)
ttileset-tile-offset-y (function)
(setf ttileset-tile-offset-y) (function)
list
ttileset-properties (function)
(setf ttileset-properties) (function)
(or null cl-tiled.data-types:tiled-image)
ttileset-image (function)
(setf ttileset-image) (function)
list
ttileset-terrains (function)
(setf ttileset-terrains) (function)
list
ttileset-tiles (function)
(setf ttileset-tiles) (function)
impl.lisp (file)
structure-object (structure)
integer
0
ttileset-tile-id (function)
(setf ttileset-tile-id) (function)
string
""
ttileset-tile-type (function)
(setf ttileset-tile-type) (function)
(simple-vector 4)
#(nil nil nil nil)
ttileset-tile-terrain (function)
(setf ttileset-tile-terrain) (function)
(or null real)
ttileset-tile-probability (function)
(setf ttileset-tile-probability) (function)
list
ttileset-tile-properties (function)
(setf ttileset-tile-properties) (function)
(or null cl-tiled.data-types:tiled-image)
ttileset-tile-image (function)
(setf ttileset-tile-image) (function)
(or null cl-tiled.impl:tobject-group)
ttileset-tile-object-group (function)
(setf ttileset-tile-object-group) (function)
list
ttileset-tile-frames (function)
(setf ttileset-tile-frames) (function)
Next: Exported types, Previous: Exported structures, Up: Exported definitions [Contents][Index]
An animated tile. The frames are played in successive order, looping indefinitely
data-types.lisp (file)
tiled-tileset-tile (class)
tile-frames (method)
A lit of animation frames
list
:frames
tile-frames (generic function)
data-types.lisp (file)
property (class)
property-value (method)
boolean
:value
property-value (generic function)
data-types.lisp (file)
standard-object (class)
The tile-layer containing this cell
cl-tiled.data-types:tile-layer
:layer
cell-layer (generic function)
The tile at this cell
cl-tiled.data-types:tiled-tile
:tile
cell-tile (generic function)
The tile is flipped anti-diagonally
boolean
:flipped-anti-diagonal
cell-flipped-anti-diagonal (generic function)
The tile is flipped horizontally
boolean
:flipped-horizontal
cell-flipped-horizontal (generic function)
The tile is flipped vertically
boolean
:flipped-vertical
cell-flipped-vertical (generic function)
The column to draw this cell to, relative to its containing layer
integer
:column
cell-column (generic function)
The row to draw this cell to, relative to its containing layer
integer
:row
cell-row (generic function)
data-types.lisp (file)
property (class)
cl-tiled.data-types::color
:value
property-value (generic function)
data-types.lisp (file)
object (class)
The horizontal radius of this ellipse, in pixels
integer
:rx
ellipse-rx (generic function)
The vertical radius of this ellipse, in pixels
integer
:ry
ellipse-ry (generic function)
An image that is embedded in the defining tileset/layer etc. ‘data’ refers to the embedded image data
data-types.lisp (file)
tiled-image (class)
Format of the embedded image data as a string in the form "png", "gif", "jpg", "bmp", etc.
string
:format
image-format (generic function)
Embedded data in the given format
(simple-array (unsigned-byte 8))
:data
image-data (generic function)
A ‘tileset’ that is embedded in the same file defining the map.
data-types.lisp (file)
tileset (class)
An image that is stored externally. Source is a path referring to it.
data-types.lisp (file)
tiled-image (class)
image-source (method)
Path to the image file
pathname
:source
image-source (generic function)
A ‘tileset’ that is stored in a separate file from the map.
data-types.lisp (file)
tileset (class)
tileset-source (method)
The path to this tileset
pathname
:source
tileset-source (generic function)
data-types.lisp (file)
property (class)
pathname
:value
property-value (generic function)
data-types.lisp (file)
property (class)
float
:value
property-value (generic function)
data-types.lisp (file)
layer (class)
group-layers (method)
The layers nested in this group
list
:layers
group-layers (generic function)
data-types.lisp (file)
layer (class)
layer-image (method)
The image displayed by this layer.
cl-tiled.data-types:tiled-image
:image
layer-image (generic function)
data-types.lisp (file)
object (class)
object-image (method)
The image displayed by this object
cl-tiled.data-types:tiled-image
:image
object-image (generic function)
data-types.lisp (file)
property (class)
integer
:value
property-value (generic function)
data-types.lisp (file)
properties-mixin (class)
The map containing this layer
cl-tiled.data-types:tiled-map
:map
layer-map (generic function)
The parent group layer containing this layer, if any
(or null cl-tiled.data-types:group-layer)
:parent
layer-parent (generic function)
The name of this layer
string
:name
layer-name (generic function)
The opacity of this layer, from 0 to 1
(real 0 1)
:opacity
layer-opacity (generic function)
Whether or not the layer is visible
boolean
:visible
layer-visible (generic function)
The horizontal rendering offset for this layer, in pixels
integer
:offset-x
layer-offset-x (generic function)
The vertical rendering offset for this layer, in piyels
integer
:offset-y
layer-offset-y (generic function)
data-types.lisp (file)
properties-mixin (class)
Unique ID of the object.
integer
:id
object-id (generic function)
The name of the object. An arbitrary string.
string
:name
object-name (generic function)
The type of the object. An arbitrary string.
string
:type
object-type (generic function)
The x coordinate of the object, in pixels.
integer
:x
object-x (generic function)
The y coordinate of the object, in pixels.
integer
:y
object-y (generic function)
The clockwise rotation of the object, in degrees.
float
:rotation
object-rotation (generic function)
Whether or not the object is visible.
boolean
:visible
object-visible (generic function)
data-types.lisp (file)
standard-object (class)
object-layer (class)
The objects in this group.
:objects
object-group-objects (generic function)
The draw order for the objects on this group.
cl-tiled.data-types:draw-order
:draw-order
object-group-draw-order (generic function)
data-types.lisp (file)
data-types.lisp (file)
object (class)
polygon-vertices (method)
A list of the form (x . y) of vertices, in pixels. These coordinates are relative to the x and y of the object
list
:vertices
polygon-vertices (generic function)
data-types.lisp (file)
object (class)
polyline-points (method)
A list of the form (x . y) of points, in pixels.
These coordinates are relative to the x and y of the object
list
:points
polyline-points (generic function)
data-types.lisp (file)
object (class)
The width of the rectangle, in pixels.
integer
:width
rect-width (generic function)
The height of the rectangle, in pixels.
integer
:height
rect-height (generic function)
data-types.lisp (file)
property (class)
data-types.lisp (file)
object (class)
The string of text
string
:string
text-string (generic function)
The font family used
string
:font-family
text-font-family (generic function)
The size of the font, in pixels (not points)
integer
:pixel-size
text-pixel-size (generic function)
Whether word wrapping is enabled or not
boolean
:wrap
text-wrap (generic function)
The color of the text
cl-tiled.data-types:tiled-color
:color
text-color (generic function)
Whether bold is enabled or not
boolean
:bold
text-bold (generic function)
Whether italic is enabled or not
boolean
:italic
text-italic (generic function)
Whether underline is enabled or not
boolean
:underline
text-underline (generic function)
Whether strikeout is enabled or not
boolean
:strikeout
text-strikeout (generic function)
Whether kerning is enabled or not
boolean
:kerning
text-kerning (generic function)
Horizontal alignment of the text
cl-tiled.data-types:horizontal-alignment
:halign
text-halign (generic function)
Horizontal alignment of the text
cl-tiled.data-types:vertical-alignment
:valign
text-valign (generic function)
data-types.lisp (file)
layer (class)
layer-cells (method)
The cells on this layer
list
:cells
layer-cells (generic function)
data-types.lisp (file)
object (class)
The tile used by this object.
cl-tiled.data-types:tiled-tile
:tile
object-tile (generic function)
The width of the object, in pixels.
integer
:width
object-width (generic function)
The height of the object, in pixels
integer
:height
object-height (generic function)
The tile is flipped anti-diagonally
boolean
:flipped-anti-diagonal
object-flipped-anti-diagonal (generic function)
The tile is flipped horizontally
boolean
:flipped-horizontal
object-flipped-horizontal (generic function)
The tile is flipped vertically
boolean
:flipped-vertical
object-flipped-vertical (generic function)
One frame of animation for an animated tile.
The ‘tile’ here refers to the image to be displayed on this particular frame.
data-types.lisp (file)
standard-object (class)
The tile to use for this frame
cl-tiled.data-types:tiled-tile
:tile
frame-tile (generic function)
The length of this frame, in milliseconds
integer
:duration
frame-duration (generic function)
data-types.lisp (file)
standard-object (class)
Color to use as ’transparent’ (optional)
cl-tiled.data-types:tiled-color
:transparent-color
image-transparent-color (generic function)
Width of the image in pixels (optional)
integer
:width
image-width (generic function)
Height of the image in pixels (optional)
integer
:height
image-height (generic function)
data-types.lisp (file)
properties-mixin (class)
The TMX format version
string
:version
map-version (generic function)
The Tiled version used to save the file
string
:tiled-version
map-tiled-version (generic function)
The orientation of the map
cl-tiled.data-types:orientation
:orientation
map-orientation (generic function)
The order in which tiles on each layer are rendered.
cl-tiled.data-types:render-order
:render-order
map-render-order (generic function)
Width of this map, in tiles.
integer
:width
map-width (generic function)
Height of this map, in tiles.
integer
:height
map-height (generic function)
The width of each tile in this map, in pixels.
integer
:tile-width
map-tile-width (generic function)
The height of each tile in this map, in pixels.
integer
:tile-height
map-tile-height (generic function)
The background color of this map.
cl-tiled.data-types:tiled-color
:background-color
map-background-color (generic function)
All the tilesets of this map.
list
:tilesets
map-tilesets (generic function)
All the layers of this map.
list
:layers
map-layers (generic function)
data-types.lisp (file)
properties-mixin (class)
The name of the terrain type
string
:name
terrain-name (generic function)
The tile this terrain type refers to
(or null cl-tiled.data-types:tiled-tile)
:tile
terrain-tile (generic function)
A simple tile belonging to a tileset, with no individual properties.
data-types.lisp (file)
standard-object (class)
tiled-tileset-tile (class)
The tileset this tile belongs to.
cl-tiled.data-types:tileset
:tileset
tile-tileset (generic function)
The local ID of this tile within its tileset
integer
:id
tile-id (generic function)
A specified tilesheet with a dedicated image.
data-types.lisp (file)
tiled-tileset-tile (class)
tile-image (method)
The individualized image for this tile.
cl-tiled.data-types:tiled-image
:image
tile-image (generic function)
A tile specified in a tilesheet, with additional properties.
data-types.lisp (file)
’The type of the tile. Refers to an object type and is used by tile objects. (optional)’
string
:type
tile-type (generic function)
Defines the terrain types of each corner of the tile.
0 - top left
1 - top right
2 - bottom left
3 - bottom right
If nil, indicates no terrain at that corner.
(simple-vector 4)
:terrains
tile-terrains (generic function)
’A percentage indicating the probability that this tile is chosen when it competes with others while editing with the terrain tool.’
(or null real)
:probability
tile-probability (generic function)
The collision objects in this tile
(or null cl-tiled.data-types:object-group)
tile-object-group (generic function)
data-types.lisp (file)
properties-mixin (class)
Name of this tileset
string
:name
tileset-name (generic function)
First global tile ID of this tileset
integer
:first-gid
tileset-first-gid (generic function)
The ’maximum’ width of the tiles in this tileset in pixels
integer
:tile-width
tileset-tile-width (generic function)
The ’maximum’ height of the tiles in this tileset in pixels
integer
:tile-height
tileset-tile-height (generic function)
The spacing in pixels between the tiles in this tileset
integer
:spacing
tileset-spacing (generic function)
The margin around the tiles in this tileset
integer
:margin
tileset-margin (generic function)
The number of tiles in this tileset
integer
:tile-count
tileset-tile-count (generic function)
The number of columns of tiles in this tileset
integer
:columns
tileset-columns (generic function)
The offset that is applied when drawing the tiles in this tileset
integer
:offset-x
tileset-offset-x (generic function)
The offset that is applied when drawing the tiles in this tileset
integer
:offset-y
tileset-offset-y (generic function)
The image to be used in this tileset
cl-tiled.data-types:tiled-image
:image
tileset-image (generic function)
The tiles in this terrain
list
:tiles
tileset-tiles (generic function)
The terrain types in this tileset
list
:terrains
tileset-terrains (generic function)
Previous: Exported classes, Up: Exported definitions [Contents][Index]
Draw order for objects in an ‘object-group’.
top-down - sorted by y coordinate
index - manual stacking, meaning drawn in defined order
data-types.lisp (file)
Horizontal alignment of text
data-types.lisp (file)
Orientation of the map
data-types.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
Which axis is staggered.
Only used by the staggered, and hexagonal maps
data-types.lisp (file)
Whether the odd or even rows/columns are shifted. Only used by the staggered and hexagonal maps.
data-types.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
Vertical alignment of text
data-types.lisp (file)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal functions | ||
• Internal generic functions | ||
• Internal classes |
Next: Internal generic functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
tiled-xml.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled.lisp (file)
tiled-xml.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-json.lisp (file)
impl.lisp (file)
data-types.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
tiled.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
tiled-json.lisp (file)
impl.lisp (file)
data-types.lisp (file)
impl.lisp (file)
data-types.lisp (file)
data-types.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
impl.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
tiled-xml.lisp (file)
Next: Internal classes, Previous: Internal functions, Up: Internal definitions [Contents][Index]
automatically generated reader method
data-types.lisp (file)
Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
data-types.lisp (file)
standard-object (class)
hash-table
(make-hash-table :test (quote equal))
properties (generic function)
data-types.lisp (file)
standard-object (class)
The name of this property
string
:name
(alexandria:required-argument)
property-name (generic function)
The verbatim string representation of this property.
string
:string
(alexandria:required-argument)
property-value-string (generic function)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | C F L |
---|
Jump to: | C F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | %
(
B C E F G I J L M O P R T X |
---|