.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old June 11th, 2008, 06:41 AM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Any interest in a RMG?

Wrappable maps are in.
Since this was a longstanding bug with my code, I wanted to fix it regardless of whether it was going to be used for a RMG. (which turned out to be the result of a value being 1 more than it should have been )
Attached is an example of a wrapping map. (I tiled it so it would be obvious that it does indeed wrap properly)

So how does this change things for people?
(Note, the algorithm can only generate square maps. This is not a problem if you want a none-wrappable map, since you can just cut out some of the square and you get a rectangle. But for wrappable maps, you will lose wrapping in one direction or another [or both, if you want to]
So basically, that means that the restriction is:
1) If want a map that wraps around both edges, it has to be square.
2) If want a map that wraps around one edge, it can be a rectangle, but will only wrap around the rectangle's shorter side)
Attached Images
File Type: png 614749-TiledMap.png (30.4 KB, 117 views)
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.