| Mirage Source http://miragesource.net/forums/ |
|
| WIdening Tileset in editor http://miragesource.net/forums/viewtopic.php?f=210&t=794 |
Page 1 of 1 |
| Author: | Anthony [ Mon Dec 04, 2006 1:06 am ] |
| Post subject: | WIdening Tileset in editor |
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. |
|
| Author: | Matt [ Mon Dec 04, 2006 1:30 am ] |
| Post subject: | |
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. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|