[Tileset - Collision Bounds - Create a Box...] bug


  • Posts: 13
Problem: it is not possible to have a rectangle 'touching' right edge of tile when creating one through 'Create a Box...' dialog in 'Collision Bounds' panel of 'Tileset' editor.
X Position: 50%
Y Position: 0%
Width: 50%
Height: 100%
Is not possible to create - X Position will be set to 49%, producing a small seam.
Bottom edge 'behaves' fine.


  • *
  • Posts: 4645
I believe that the values are pixels, not percentages. With images, the first pixel is always 0, so a 50 pixel wide image is numbered 0 to 49.

Unless I'm missing something, I'm not in SW right now...
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.


  • *
  • Posts: 1260
The GUI does show % values, so there may be an inconsistency.  Seems like this is a valid bug


  • *
  • Posts: 3130
Shapes for tiles are defined in percentage, to accommodate for different tile sizes. Internally, the dimensions range from 0.0 to 1.0.
"Find the fun"


  • *
  • Posts: 1260
This one should be fixed for the next build.


  • *
  • Posts: 17529

« Last Edit: June 07, 2011, 08:47:59 am by Jon »