tag:blogger.com,1999:blog-6107496742824548877.post6779638752075653765..comments2009-10-10T12:59:49.856-04:00Comments on Lost Horizon: ZonesMarkhttp://www.blogger.com/profile/01513462076779415659noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6107496742824548877.post-53536085364016390402009-09-16T09:55:38.518-04:002009-09-16T09:55:38.518-04:00Well, I currently have it about half done. The way...Well, I currently have it about half done. The way I plan on doing everything, is to have a world map, where 1 "tile" is equal to one 75x75 map, that the player walks on (basicly a Player Map). Each Player Map consists of 9 World Map tiles (3x3 area) making the player map its self 225x225 tiles. The player will always be in the middle tile. I plan on keeping track of 2 sets of co-ordinates that the player will have. One set will have World Map co-ords, telling the game where on the world the player is, and the other set will be where in the 225x225 Player Map the player is. When the player reaches a certain part of the player map, going west for example, when he reaches the next sub-map I will cut off the east 3 maps, and draw the next west 3 maps, and set the player map co-ords back 75, putting the player on the east side of the middle map (but still in the middle of the screen). I will also add a sort of buffer zone so that if the player walks back one tile, it wont rebuild the map again. This probably sounded kind of confusing but I will be going relatively in depth when I finish it up. I also do not plan on doing any Fog-of-War stuff, just plain old line of sight so it feels more natural so I wont have to remember where the player was.Markhttps://www.blogger.com/profile/01513462076779415659noreply@blogger.comtag:blogger.com,1999:blog-6107496742824548877.post-24354863553124041282009-09-15T00:50:23.589-04:002009-09-15T00:50:23.589-04:00I don't know how exactly you are planning on d...I don't know how exactly you are planning on doing it - but I originally had 3 different "magnifications" -whatever the actual word is for it- world, region and local - and I had memory for 4 adjacent region and 4 adjacent local maps and one for the world map. But then I started to run into some problems and rewrote that part so I could potentially load all of the maps into memory at one time and set the actual program architecture up more realistically = like the localmaps were actually within the regionmaps which were in the worldmap - as opposed to previously when I had all the levels separate and existing within the "universe." That way I can save the previously visited areas at any time - put the previously visited levels in a save-when-waiting-for-input-queue or whatever.muert_tribeshttps://www.blogger.com/profile/08876915495830254293noreply@blogger.com