Bug/Fix tile placement

comport9

  • Posts: 51
I made a board game with a size of 512 x 512. Initially I had a 64x64 tile repeated. Later on, I wanted a checkerboard look, so I made a tile 128x128. I have a drag-&-drop behavior for the pieces, and I have checks in place so that when the piece is dropped, it slides to the nearest location. However, despite having like 2 or 3 separate checks for this, sometimes the pieces would end up in an improper location. Once that happened, they'd no longer move to any other location, and the game had to be restarted.

I noticed in the properties of the screen there was a "tile size" option. As my initial tile was 64x64, this is what it was set at. As it doesn't let you change the size (I hope this is changed/fixed in S.3) I started a new scene with the new tile size of 128x128.

I don't know why, but since doing this the problem hasn't reoccurred. So while I still consider this a bug, there's also this seemly simple fix/work around if anyone else runs in to the same problem.

Edit: Well, the problem has occurred once. At least it's not as often...

« Last Edit: December 26, 2012, 08:30:24 pm by comport9 »