| Mirage Source http://web.miragesource.net/forums/ |
|
| Mapeditor where does this is http://web.miragesource.net/forums/viewtopic.php?f=201&t=309 |
Page 1 of 2 |
| Author: | Krloz [ Sat Jul 22, 2006 6:26 pm ] |
| Post subject: | Mapeditor where does this is |
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 >.< |
|
| Author: | funkynut [ Sat Jul 22, 2006 6:41 pm ] |
| Post subject: | |
Simply changing the pic isnt going to allow you to change tiles, you then have to tell it which tileset to use when bltting |
|
| Author: | Matt [ Sat Jul 22, 2006 7:27 pm ] |
| Post subject: | |
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. |
|
| Author: | Krloz [ Sat Jul 22, 2006 7:40 pm ] |
| Post subject: | |
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 |
|
| Author: | Rian [ Sat Jul 22, 2006 8:42 pm ] |
| Post subject: | |
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) |
|
| Author: | Gilgamesch [ Sat Jul 22, 2006 9:06 pm ] |
| Post subject: | |
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 |
|
| Author: | Krloz [ Sun Jul 23, 2006 12:53 am ] |
| Post subject: | |
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. |
|
| Author: | Matt [ Sun Jul 23, 2006 1:36 pm ] |
| Post subject: | |
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. |
|
| Author: | Rian [ Mon Jul 24, 2006 4:07 am ] |
| Post subject: | |
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. |
|
| Author: | Krloz [ Mon Jul 24, 2006 3:25 pm ] |
| Post subject: | |
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 |
|
| Author: | Lea [ Mon Jul 24, 2006 5:45 pm ] |
| Post subject: | |
Unfortunantly that limit is there.... anyone know a workaround? Would be helpful, and I'm 100% positive there is a way... There has to be a way |
|
| Author: | Rian [ Mon Jul 24, 2006 6:04 pm ] |
| Post subject: | |
There probably is a workaround, but big tilesets make every so S L O W |
|
| Author: | Kousaten [ Wed Aug 02, 2006 1:11 am ] |
| Post subject: | |
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. |
|
| Author: | Matt [ Wed Aug 02, 2006 1:13 am ] |
| Post subject: | |
Nope, sorry. But this is in ES. |
|
| Author: | Kousaten [ Wed Aug 02, 2006 1:15 am ] |
| Post subject: | |
Might explain why, when I tried, the screen changed too. When I fixed that, it just didn't place the correct tile. ><; It's one extreme or the other it seems. |
|
| Author: | Krloz [ Wed Aug 02, 2006 1:35 am ] |
| Post subject: | |
Thats the same thing that happens to me |
|
| Author: | Kousaten [ Wed Aug 02, 2006 4:08 am ] |
| Post subject: | |
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.. <_<; EDIT: What I meant by the first one is so that picScreen basically doesn't change all tiles to the tileset you're on too, but just the ones you place after change. |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|