wade.tilemap.checkCollisionsAtTile (x, y, excludeObject)
Check to see if there are any objects with collision in a specific tile
wade.tilemap.drawGrid (toggle)
Draw a grid on the tilemap terrain. Very useful during development and for debugging.
wade.tilemap.exportMap (stringify)
Export the current map and its state to a JSON object that can be passed into the map parameter of wade.tilemap.init()
wade.tilemap.getDetailData (tileX, tileY)
Get the data associated with a specific terrain detail
wade.tilemap.getDetailSprite (tileX, tileY)
Get the sprite being used as a terrain detail at the specified tile coordinates
wade.tilemap.getNumTiles ()
Get the number of terrain tiles being used
wade.tilemap.getTerrain ()
Get the tilemap terrain object
wade.tilemap.getTerrainLayerId ()
Get the layer Id that is being used by terrain sprites
wade.tilemap.getTileCoordinates (worldX, worldY)
Get the tile coordinates (indices) corresponding to the spefified world-space positions
wade.tilemap.getTileData (tileX, tileY)
Get the data associated with a specific tile
wade.tilemap.getTileScaleFactor ()
Get the scale factor that is being applied to each terrain tile (often to compensate for floating-point errors).
wade.tilemap.getTileSize ()
Set collision information for a tile, specifying which object occupies the tile
wade.tilemap.getTileSprite (tileX, tileY)
Get the sprite being used as a terrain tile at the specified tile coordinates
wade.tilemap.getTransitionData (tileX, tileY)
Get the data associated with a specific terrain transition
wade.tilemap.getTransitionSprite (tileX, tileY)
Get the sprite being used as a terrain transition at the specified tile coordinates
wade.tilemap.getWorldCoordinates (tileX, tileY)
Get the coordinates, in world space, corresponding to an isometric tile
wade.tilemap.importScene (data, callback)
Import tilemap terrain from a data object
wade.tilemap.setNumTiles (x, y)
Set the current number of tiles