Mirage Source
Map Editor Wide Tileset - 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: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9)
+------ Thread: Map Editor Wide Tileset (/showthread.php?tid=3121)



Map Editor Wide Tileset - Xlithan - 06-09-2009

I've added a wider tileset so that the height isn't as much. I've added a horizontal scrollbar which shifts the picBackSelect to the left and right, which works. Selecting a tile also works and the selected tile shows up in the tile preview box.
However, when I go to place it on the map, it shows a different tile. It's as if placing down the tile part of the code isn't recognising the wider tilesheet.

Any clues?

I've had a look into the MapEditorChooseTile area but nothing rings any bells.


Re: Map Editor Wide Tileset - GIAKEN - 06-09-2009

tilesheet_width = ?

I think that's it. Change it to your tile sheet's width / pic_x.


Re: Map Editor Wide Tileset - Xlithan - 07-09-2009

WOW, MS4 is not only clean, code efficient and fast, but it's EASY :O I think this is a new era.

We need a thank you mod for this forum.