Module box2d
Box2D plugin for STI
Info:
- Copyright: 2016
- License: MIT/X11
- Author: Landon Manning
Functions
box2d_draw (map) | Draw Box2D physics world. |
box2d_init (world) | Initialize Box2D physics world. |
box2d_removeLayer (index) | Remove Box2D fixtures and shapes from world. |
Tables
Properties | Custom Properties in Tiled are used to tell this plugin what to do. |
Functions
- box2d_draw (map)
-
Draw Box2D physics world.
Parameters:
- map
Returns:
-
nil
- box2d_init (world)
-
Initialize Box2D physics world.
Parameters:
- world The Box2D world to add objects to.
Returns:
-
nil
- box2d_removeLayer (index)
-
Remove Box2D fixtures and shapes from world.
Parameters:
- index The index or name of the layer being removed
Returns:
-
nil