| Mirage Source http://miragesource.net/forums/ |
|
| Seemless Scrolling http://miragesource.net/forums/viewtopic.php?f=201&t=3154 |
Page 1 of 1 |
| Author: | Anthony [ Wed Dec 12, 2007 6:14 am ] |
| Post subject: | Seemless Scrolling |
I followed Misunderstoods tutorial for seemless scrolling maps and I have run into a problem. http://web.miragesource.com/old-tutoria ... 0Maps.html When I try and test it I get a subscript out of range on this line in BltTile. Code: With SMaps(Mapnum).Tile(RealX, RealY) I have added extra layers but I don't think thats the problem, I think it may have something to do with the way my maps are saved and loaded server side? Currently they are saved as a single binary file. I am not sure if this is a problem or not. However I could be way off. I am hoping somebody here can help me, if you need me to post any more code or anything just let me know. Thanks again. |
|
| Author: | Matt [ Wed Dec 12, 2007 12:46 pm ] |
| Post subject: | Re: Seemless Scrolling |
Add this in Sub Main: Code: ReDim SMaps(7) For a = 0 To 7 ReDim SMaps(a).Tile(0 To MAX_MAPX, 0 To MAX_MAPY) Next a In iLoadMap, make sure you have this line after the filename = line.. Code: ReDim SMaps(Size).Tile(0 To MAX_MAPX, 0 To MAX_MAPY) In the LoadSurroundingMaps sub, make sure you have this code after the dims: Code: ReDim SMaps(7) ReDim BlankMap.Tile(0 To MAX_MAPX, 0 To MAX_MAPY) That should be it. I think. |
|
| Author: | Anthony [ Wed Dec 12, 2007 4:37 pm ] |
| Post subject: | Re: Seemless Scrolling |
Well, Perfekt helped me out a lot more on GTalk and we got it figured out. Good thing he was around to help me when nobody else was xD haha. Thanks man. |
|
| Author: | Matt [ Wed Dec 12, 2007 4:41 pm ] |
| Post subject: | Re: Seemless Scrolling |
Np. You're lucky I figured it out so quick and easily. I haven't done any programmin' in about a month or two. |
|
| Author: | Asrrin29 [ Wed Apr 09, 2008 5:58 pm ] |
| Post subject: | Re: Seemless Scrolling |
Hey Perfekt, still know how to do this? I'm having issues with getting it working... |
|
| Author: | Matt [ Wed Apr 09, 2008 8:30 pm ] |
| Post subject: | Re: Seemless Scrolling |
Asrrin29 wrote: Hey Perfekt, still know how to do this? I'm having issues with getting it working... I'm assuming by the other post that you got it working. If you didn't though, feel free to message me on Yahoo. advocatefa |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|