Method: staticsFromMap

Produces static box2d bodies from passed map data.
staticsFromMap (IgeTileMap2d mapLayer, Function callback)
  • IgeTileMap2dmapLayer
  • Functioncallback Returns true or false depending on if the passed map data should be included as part of the box2d static object data. This allows you to control what parts of the map data are to be considered for box2d static objects and which parts are to be ignored. If not passed then any tile with any map data is considered part of the static object data.
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point