A visual representation of a geographic region, showing physical features.

learn more… | top users | synonyms (2)

4
votes
3answers
2k views

2D basic map system

i'm currently coding a 2D game in Java, and I would like to have some clues on how-to build this system : the screen is moving on a grander map, for instance, the screen represent 800*600 units on a ...
7
votes
3answers
2k views

What is a good flat file format for storing a 2D tile map that can grow infinitely in any direction?

I am creating a simple map engine that will automatically expand in any direction with procedurally-generated content as needed. What is a good way to store map data, anchored at a 0,0 origin so that ...
3
votes
1answer
366 views

More smaller maps among which player can travel

I am developing 2d game, where maps are tile based, small about 20x20 tiles and player can travel between a lot of maps (in my game rooms) like this. The maps are connected sometimes verticaly and ...
6
votes
2answers
2k views

How to store 2D tile-map

I want to create a 2D map composed of small tiles, that should look like voxels (eg. this just from side). I think I can make a structure like Voxel2D, that have int X, Y and some Color, and every ...
2
votes
5answers
540 views

How to model irregular boundary of a 2D map in Game?

I am creating a map in a game, the map contains different countries, my question: Q. How to model the irregular boundary of each countries? How to do quick country searching if I click on the map ...
5
votes
1answer
537 views

How to insert and remove blocks quickly in a Minecraftian world?

I currently have volume data for the world stored as an array of booleans. I then check each empty block and if it has non-empty neighbors the faces get drawn. This prevents me from sending a bunch ...
9
votes
3answers
419 views

Data Structure to Represent Connections Between Countries on a Map

In a game I'm developing for a client a key game concept involves moving around on a map. In this case the sizes and shapes and such of the various countries are irrelevant: moving from one country to ...
7
votes
3answers
659 views

Represent planet surface in 2d

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 ...
0
votes
1answer
447 views

Using Tilemaps in C

I have used tilemaps .TMX files using cocos2d and objective c. How are tilemaps used in C? Are there libraries available or where is a good place to start for using tilemaps in C? I would like to ...
5
votes
4answers
823 views

How would I go about implementing a globe-like “ballish” map?

I am new to 3D development and I have this idea of having the game world like our globe is - a ball. So, there would be no corners in the map and the game is top-down RTS game. I would like the camera ...
6
votes
1answer
376 views

What is the general strategy to pre-load game data(entities/map)

I'm new to games programming and am wondering what tactics games use to pre-load entity and map data. Will a game initialise with the fundamental map data stored in memory?
4
votes
2answers
726 views

Drawing territories border in 2d map

I'm programming a little web strategy game. In the country map I pretend to display each country with a national color. The issue is how to render the borders in a simple and efficient way. Right now ...
2
votes
1answer
295 views

Are there any Java based libraries that provide game mapping features?

I'm working on a Java web based game in my spare time (springMVC / JSPs etc), and I'm wondering what are my options for dealing with the "game world" or mapping element. My game will be 2d / text ...
2
votes
1answer
1k views

zoom to cursor calculation

I want to be able to zoom in and out of the map using the scroll wheel. I want to zoom towards the cursor like google maps does but I'm completely lost on how to calculate the movements. so far, all ...
6
votes
5answers
4k views

Alternative to 2D array in a tiled-map structure

After searching for a long time, I'm surprised this question was not asked yet. In a 2D, tiled-map game, how do you handle the map ? I'd be glad to have your point of view in any languages, though I'm ...
2
votes
2answers
3k views

How to Create a Grid for a 2D Game?

So I'm currently writing the engine for my videogame. I've almost integrated Tiled (I think) so I should have a map-creator here soon. My question is, how do I actually make the grid? I'm really ...
12
votes
4answers
4k views

2D non-tile based map editor [closed]

I am currently developing a relatively simple 2D, topdown oriented adventure game for the iPhone and was wondering what would be the easiest way to create the maps for my game. I figured I would need ...
6
votes
1answer
2k views

Making organic 2D tilemaps for tile based games

So I have always wondered how one makes a nice (not so squarish) 2d tile map, is it possible? all games now days I think use textured polygons...but my game engine (and engine) doesn't support that ...
6
votes
1answer
2k views

2.5D game development

2.5D ("two-and-a-half-dimensional"), 3/4 perspective and pseudo-3D are terms used to describe either: graphical projections and techniques which cause a series of images or scenes ...
0
votes
2answers
910 views

How to make a video game map that can be used by Android?

I am interested in developing games for the Android OS. I have played Replica Island and I have browsed over the source. I found that the levels/maps were in a .bin format. I could execute them ...
10
votes
2answers
764 views

How to manage dependencies between tile map and units

I have a 2D tile-based strategy in the works. I'm wandering how to handle the relationship between the map and the units on the map. Given a tile coordinate I'll need to be able to get the unit ...
4
votes
2answers
2k views

Control diamond square algorithm to generate islands/pangea

I generated a height map with the diamond square algorithm. The thing is i do not manage to create islands, this is, restrict the height other than water level range to a certain value in the center ...
10
votes
3answers
854 views

RTS on a 3D map e.g. a globe

How can you 'tile' a 3D globe if your existing artwork and maps are simple 2D grids? Are there approaches that can re-use much of the artwork and such?
9
votes
3answers
3k views

Lighting in a Minecraftian World

Minecraft is a game that is largely based on a heightmap and uses that heigtmap information to flood the world with light. From my understanding the highest point in the heightmap is the end of the ...
0
votes
4answers
345 views

Techniques for mapping “nodes” and paths between nodes in a world space that extends in three dimensions

I'm trying to create a travellable map/world. I want to model able-to-be-occupied nodes/tiles/locations and allowed paths between them to create a space infinitely able to be built upon in all ...
8
votes
3answers
2k views

2D Top down view maps

I was wondering how this works. Do you load the complete map when the game starts up, or do you load parts of the map at runtime? And how would you save the maps? Would it be in XML or some binary ...
3
votes
3answers
439 views

How to prevent a character from going up a steep hill with a height map?

I've been trying to make my character unable to go up steep hills, but I just can't manage to make it work. I'm using a simple height map which stores the height for every (x, z) point within the map. ...
10
votes
2answers
1k views

'Zoning' up areas on a large tile map, as well as dungeons

My game is having a map like that of Minecraft, in the way it's pseudoinfinite and randomly generated. And big. Say the user has explored a 1000x1000 zone (2D here), so that's 1,000,000 tiles. ...
3
votes
1answer
263 views

Name of the model in memory that you use for map collision detection?

I'm trying to remember the English name for a memory model of a map built exclusively for handling collision detection. I think this is especially frequent in tile-based platform games. I believe the ...
5
votes
5answers
523 views

Generating a map in runtime for a simple top-scrolling racing game

I'm creating a simple top-scrolling racing game. The concept is quite simple - the player controls the car, which goes on a dynamically generated field with square blocks. Once the car hits a car, the ...
4
votes
2answers
537 views

jquery ondrag map load only what has not been viewed

When a person mouse down, moves the mouse, and mouses up the system gets the different in the mouse down coord and the mouse up coords and loads in the new map items. However, the problem is it loads ...
14
votes
8answers
3k views

How do I create tileable solid noise for map generation?

Hey guys, I'm trying to figure out how to generate tileable fractals in code (for game maps, but that's irrelevant) I've been trying to modify the Solid Noise plug-in shipped with GIMP (with my ...
12
votes
4answers
15k views

Best Way to Create A Map for a 2D Game?

I apologize for the subjective "best" keyword. My friend and I have started creation of a 2D adventure game. It will be top-down in the style of pokemon or zelda (just the perspective). We have been ...
5
votes
1answer
1k views

2d map: how to manage it?

i'm developing a 2d game (top down), and i'm a beginner. Now, i've to create a map, with object (to interact with) ... I don't know how to .. manage the problem ! Does anyone can help me ? What are ...
4
votes
2answers
622 views

Can custom maps in Starcraft 2 automatically enable certain unit upgrades?

If I create a custom map with the Starcraft 2 map editor, how can I specify that some unit upgrades are already researched? For example, if I want all the units to already have the weapons upgrade 1 ...
14
votes
1answer
5k views

Creating a 3D map for XNA?

Is anyone aware of a nice 3D map tutorial (how to import and use the map) using XNA without any engine but not limited to an external application (like Tiled for 2D maps) ? I did a search arund here ...
6
votes
2answers
938 views

Is frustum culling necessary in a Flash/AS3 game?

I'm making a 2D game where the map will be scrolled frequently, and only a small part of it will be visible at any time. Which implementation would run faster? The naive way: Make the map a single ...
20
votes
9answers
4k views

When mapping the surface of a sphere with tiles, how might you deal with polar distortion?

It's easy to deal with the way locations interact on a clean Cartesian grid. It's just vanilla math. And you can kind of ignore the geometry of the sphere's surface for a bunch of it if you want to ...
12
votes
5answers
4k views

2D Level design/editing/saving questions

I thought about making a simple 2D Sidescroller game like SuperMario. Then i wondered about how to save, load or create the levels for the game. The first thing i thought of was drawing a simple ...
5
votes
8answers
1k views

What are some good tools for prototyping map layout and design? [closed]

I'm curious as to what the best method for sketching out and prototyping a map is, and if there are any tools available to facilitate this. Pen and paper is probably a good place to start, but I ...
8
votes
2answers
800 views

How a 3D game map is stored and handled

I'm a programmer but have not yet developed any games. I have played various 3D games and always wondered how the Map of the field is stored and rendered. I know some acceleration card is a ...
3
votes
6answers
6k views

Tools for generating random world maps? [closed]

Looking for a tool that will randomly generate an image of a world map.
56
votes
19answers
9k views

Level Design Tips [closed]

What are some pitfalls or pieces of good advice when designing levels or maps for a (presumeably 3D but not necessarily) game?