Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.


I'd like to make game, where one part is managing planet (building cities, factories, roads, etc.) but I'd like to avoid 3D - only what I want is nice 2d. But if I represent planet's surface as a grid, it will be strange to move near poles (if I go up, I won't appear in the bottom of the map, but in the top - only in different place) and it will be hard to have nice terrain (poles will be stretched). Do you have any ideas how to do that?

share|improve this question

3 Answers 3

up vote 9 down vote accepted

Games should not be realistic, you can always cut some corners if it makes the game better. Take a look at Ascendancy for example: http://www.abandonia.com/files/games/221/Ascendancy_5.png

You can loop the 2D terrain from left to right and from bottom to top. Like a Civilization map does.

Another option would be to make "unwalkable" polar caps, like we have here on Earth ;-) They will hide the areas of stretched grid.

share|improve this answer
    
I think I will make rectangular map with blocked walking above top or below bottom (it will wrap only from left to right and from right to left), but map will be similar to earth (poles at top and bottom). –  chris Apr 8 '11 at 14:23

Section 2 of this paper has some interesting notes on hierarchical triangle models, but you might find more immediately useful material looking at geodesic grids. You need to supply the connectivity information, but that will get you to a good approximation of a sphere.

This paper also has some interesting ideas.

As Krom pointed out, you certainly can setup your own system for connections, allowing for colonization of weird extra-dimensional spaces at the most weird, or simpler structures such as a Halo-ish ring world.

share|improve this answer

The "proper" way to represent a planet's surface without any special treatment of the poles or any other extreme points is a triangulated irregular network. From there, you can use any of the usual geographical map projections to represent whatever part of the surface you want as a 2D map.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.