![]() |
Mapeditor where does this is - 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: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Mapeditor where does this is (/showthread.php?tid=198) |
Mapeditor where does this is - Krloz - 22-07-2006 I want to know where is the code that tells the picBack what file to load , because I want a button that can change the tilesets since mine is too big and when I get to certain point it stops drawing the correct tile it just draw the transparent tile Im using and this is annoying >. - funkynut - 22-07-2006 Simply changing the pic isnt going to allow you to change tiles, you then have to tell it which tileset to use when bltting - Matt - 22-07-2006 There is some code, that sets how wide and how tall it blits in the picback or w/e, in the map editor. Just set that to the width/height of your tileset, but don't forget to edit all the stuff, so it reads the right amount of tiles in the tileset when blitting and mapping and such. Good luck. - Krloz - 22-07-2006 YEs I have tried what U said advocate but It wont work I can see the tiles but when I try to map them it wont - Rian - 22-07-2006 In modGameLogic you're gonna need to change a lot of 7s to whatever number wide your tileset is. Not ALL 7s, just the ones that deal with blting tiles (which is almost all of them, aside from 1 or 2) - Gilgamesch - 22-07-2006 Sonire Wrote:In modGameLogic you're gonna need to change a lot of 7s to whatever number wide your tileset is. Not ALL 7s, just the ones that deal with blting tiles (which is almost all of them, aside from 1 or 2) blttile and fringe, and mapeditor mosuedown...and..attribs...in gameloop ![]() - Krloz - 23-07-2006 They are all 14 and I already have they changed but at certain point when I click the tile it will show up ok but when I try to click on the picScreen to map with that tile it wont show up instead the transparent tile I use is mapped making the other things deleted while I map. - Matt - 23-07-2006 Well, apparently you are missing something. Since you want to get ignorant, this is the last post I am going to post helping you. I've done this exact thing in my own source, as has Sonire, you have to do what I said, and what Sonire said, also, I'm going to assume you took it upon yourself to add a h-scroll bar, so you can scroll left and right. - Krloz - 23-07-2006 ![]() ![]() See what I say? at certain point the tiles wont work and im not talking about right and left those scroll bars works and the tiles that are beside. But when I get to that pixel 8k I believe it will stop mapping. I hope someone get what I say - Rian - 24-07-2006 Ah, okay, this is a case of the tiles stopping vertically, not horizontally. There is only so big that a picture box can reach in VB, and you've reach it length-wise. The only solution is to cut the length of the tileset right there, and make it even wider. Though, if you wanna keep load speeds optimized, you may want to consider adding configuration for multiple tile sets. - Krloz - 24-07-2006 Yep I did that now when I click the horizontal bars the tilesets change but... the tiles wont change only at the pickBack I can see them but not map different tiles. ok then problem solved a bit now I know I have to add multiple tileset - Rian - 24-07-2006 There probably is a workaround, but big tilesets make every so S L O W - Kousaten - 02-08-2006 New here, but I saw this post and noticed there's a way to code multiple tilesets. I've been trying to code this, but none of my efforts seem to work. Was there a tutorial on such a code for 3.0.3? I tried registering on the backup forums, but the registration doesn't seem to go through. - Matt - 02-08-2006 Nope, sorry. But this is in ES. - Kousaten - 02-08-2006 Might explain why, when I tried, the screen changed too. When I fixed that, it just didn't place the correct tile. > - Krloz - 02-08-2006 Thats the same thing that happens to me ![]() - Kousaten - 02-08-2006 It'd be a simple matter if picScreen read the individual tiles you placed, but... oh well. The idea I have is plausible if you don't mind a freaking huge client file size, which I happen to mind so.. |