Mirage Source
WIdening Tileset in editor - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49)
+---- Thread: WIdening Tileset in editor (/showthread.php?tid=442)



WIdening Tileset in editor - Anthony - 04-12-2006

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.


- Matt - 04-12-2006

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.