![]() |
Custom Map Sizes. - Printable Version +- Mirage Engine (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: Custom Map Sizes. (/showthread.php?tid=2469) |
Custom Map Sizes. - wisefire - 03-01-2009 Anyone have an idea on how I should go about this? All I need is a simple start and I'm sure I could get it done. Thanks. Re: Custom Map Sizes. - Rian - 03-01-2009 MAX_MAPX and MAX_MAPY, make sure the picScreen is always evenly divisible by 32. Re: Custom Map Sizes. - wisefire - 03-01-2009 Rian Wrote:MAX_MAPX and MAX_MAPY, make sure the picScreen is always evenly divisible by 32. Lol, No No, I ment like, the vairables saved in the Maps Data file. So any maps X and Y can be adjusted. Re: Custom Map Sizes. - GIAKEN - 03-01-2009 Take a look at Robin's Essence's source. Re: Custom Map Sizes. - wisefire - 03-01-2009 GIAKEN Wrote:Take a look at Robin's Essence's source. I believe it's Direct X 8 is it not? Would it be worth looking at? I'm using 3.0.3 of Mirage. Re: Custom Map Sizes. - Matt - 03-01-2009 You really should use MS4 if you're starting fresh. And I'd look at Robin's code. It's drawn with DirectX8, but I'm sure you can get the jist of how it all works. Re: Custom Map Sizes. - wisefire - 03-01-2009 Matt Wrote:You really should use MS4 if you're starting fresh. I've been working on my game for about a year or two now, I'm not restarting with MS4. Oh, and I'll be sure to check out Essence. Re: Custom Map Sizes. - wisefire - 25-01-2009 So, everything went okay, Untill now. The maps get created, then when they load I get RTE 7 Out of Memory, The error referring to the following line of code; Code: ReDim Map(i).Tile(0 To Map(i).x, 0 To Map(i).y) As TileRec Now when I hover over map(i).x and map(i).y, I see the following Code: map(i).x = 538976288 Code: map(i).y = 53897628 Now in clear map, which is called in the initServer sub, map(i).x and .y each = 5. Any Ideas? Re: Custom Map Sizes. - wisefire - 25-01-2009 Lea Wrote:how big is a tile (in bytes)? "how big is a tile (in bytes)" - I find this kind of information were? |