Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WIdening Tileset in editor
#1
I got it to the point where it's all visible in the editor, 8 tiles wide * 32 is a 256px wide tileset which was very simple to get to. The only thing is, is when I select the 8th tile, furthest right, it blts it to the picSelect but when I try and map with it it puts down a different tile. I am not sure why this is happening but I think I got it narrowed down to this bit of code Sub EditorMouseDown

Code:
If frmAzarak.optLayers.Value = True Then
                With Map.Tile(X1, Y1)
                    If frmAzarak.optGround.Value = True Then .Ground = EditorTileY * 7 + EditorTileX
                    If frmAzarak.optMask.Value = True Then .Mask = EditorTileY * 7 + EditorTileX
                    If frmAzarak.optAnim.Value = True Then .Anim = EditorTileY * 7 + EditorTileX
                    If frmAzarak.optFringe.Value = True Then .Fringe = EditorTileY * 7 + EditorTileX

My first guess was to simply change the 7 to 8 but that never worked. Any ideas? Thanks a lot.
Reply
#2
So you change the 7 to however many tiles wide you want it to be. If you want it only 8 tiles wide, you change the 7s to 8s.

If you have any problems with this, feel free to add me on msn and I can help you. There are other things that need to be changed.. I think.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)