Tile API - Setting a tile creates weird collision boxes

Dysiode

  • Posts: 10
In my game at least when I use
Code: [Select]
setTileAt(__y, __x, tileLayer.layerID, __TilesetID, __TileID); it adds a 1.5 * tilesize collision area below and to the right of the tile.

I attached my logs just for kicks. And my game is private on the Forge.

The two relevant scripts are Explode in Actor Behaviors > Collisions and Tile API Wrapper in Scene Behaviors > Other. Move around with the arrow keys/keypad (with Numlock on) and fire by holding CTRL + Direction.

« Last Edit: July 03, 2011, 11:42:19 pm by Dysiode »