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

learn more… | top users | synonyms (2)

2
votes
2answers
992 views

Different ways to store a 2D map/landscape in XNA

I was looking around at this site about eight months ago and wish I saved the location of this topic but I was wondering the different map rendering styles that you can do in XNA. The one style I ...
6
votes
2answers
1k views

How to efficiently store and display a tile map on the web?

About These are actually two questions in one. First of all I am looking for a way to efficiently store large amounts of tile data. The other aspect deals with querying the data set and displaying ...
6
votes
1answer
493 views

What structure is best used to model maps for games like Bard's Tale / Dungeon Hack?

I would like to create or use an existing JavaScript engine to build a game in the spirit of Dungeon Hack, Eye of the Beholder and older Might & Magic games. Going off my memory playing these ...
4
votes
1answer
597 views

How can I build a graphical map for my MUD engine?

I am working on a text-based game totally from scratch and one thing I am not sure how to do is the map system. In my mud engine totally writen in Javascript (that will be executed in a Node.js ...
1
vote
2answers
753 views

Image splitting / tiling software for Mac

I have been programming for a bit and for 2D games and other applications I frequently make large images for the levels / the maps. Before I place these into the games I split the large images down ...
5
votes
2answers
530 views

How could I improve this random map?

following my previous post on random world map generation, I used several algorithms and obtained results similar to this: http://i.imgur.com/CKL2R.png (the height values are quantisied for viewing ...
13
votes
3answers
12k views

How can I create a random “world” in a tile engine?

I am designing a game that is working on a classic tile engine, but whose world is generated randomly. Are there existing games or algorithms that do this? The procedural generation algorithms I have ...
6
votes
2answers
1k views

How to handle a huge map?

Generically speaking, how would you handle a huge 2D Map of which only a part is displayed? Imagine the old top-down racing games like Micro Machines. I would know how to do something with a ...
12
votes
3answers
898 views

How can I make “falling away” 3D terrain like Animal Crossing?

Animal Crossing has a unique way of scrolling the world map: When the character moves down, the the world rolls around and over at the top, like it's stuck to a cardboard tube: This video shows how ...
4
votes
2answers
2k views

How should I represent a tile in OpenGL-es

Let me start with I am currently learning OpenGl-es using Android. I have been having the hardest time trying to design a simple and logical way of making tiles (2d flat polygons). The tutorials tell ...
0
votes
3answers
340 views

What is a good format for a 3d topview map?

I am building a 3d topview game like GTA2. In this game the ground is mostly one level (except for tunnels and highways). Most of the ground is also city so the ground is usually covered by either ...
3
votes
1answer
306 views

Entity position: In map or in script?

I'd like to know how others have handled the issue of storing the entity's position. (Or maybe it's not an issue and I just make it too complicated.) I'm undecided on whether to store the position of ...
0
votes
1answer
902 views

resource for “Substance Maps” 3ds Max 2012

A new feature in 3ds max 2012 is Substance procedural textures. Are there any good online libraries or resources for substance maps?
1
vote
1answer
422 views

Best way to do a strategic map for a 4X space game on a web page?

I'm currently looking at the options regarding how to do a strategic map for a web application. My goals here are : a synthethic view of what's happening in a stelar system the ability to ...
3
votes
1answer
298 views

How do I show the current view from the viewport on my map?

I'm doing HTML5 Canvas development and currently have a large viewport (on the left) and a map (on the right). Like this: I need to show on the map what is currently being viewed in the left. And ...
0
votes
1answer
351 views

How do I get the current location when using slick 2D library?

I'm developing a map kind of simple game using slick 2D library, and I want to get the current location of the user. When the user runs into a special location (ex: hole) to indicate that is ...
15
votes
3answers
2k views

How can I identify feature regions in a procedurally generated world?

I'm building an Island. I use the classical heightmap solution : with a hill-building function, avoiding the corners of the map, I make altitude. Then, perlin noise give me some climatic variables to ...
4
votes
3answers
525 views

Zelda LttP (Super Nintendo) room changes?

I'm trying to make a tile-world adventure game on iOS similar to Zelda Link to the Past on SNES, and one issue I've run into is having my camera move beyond walls revealing the rooms on the other ...
7
votes
2answers
2k views

How do I rotate a structure of hexagonal tiles on a hexagonal grid?

My 2D isometric game uses a hexagonal grid map. In reference to the image below, how do I rotate the light blue hexagon structures by 60 degrees around the pink hexagons? EDIT: Main hex is (0,0). ...
9
votes
2answers
612 views

Common pattern to scale “real units” to pixels?

This is a follow-up question to this other one. I would like to know if there is a common/typical/best pattern to scale my representation of the world (currently 160Kmx160Km) to fit it to the drawing ...
10
votes
3answers
681 views

2d top-down map: normalisation or not?

I am an absolute beginner with game programming, should this question be poorly formulated, be aware it was not sloppiness by my side, but lack of game programming experience. The game I am planning ...
13
votes
2answers
986 views

How do you handle uneven tiles while rendering a tile map?

Here is what I want to do with my tile map that I am unsure of. As you can see the top walls are way larger then the bottom and side ones (this is also an issue with my corners which are odd shapes ...
-4
votes
3answers
2k views

How to make map editor with XNA?

I have a problem with making map editor in XNA. I'm making a 2D tile based map editor. The problem is, I need every tile I put in map editor to be X: 0, or X: 32, or X:64 and so on, not 1.10, 2.99, ...
4
votes
1answer
455 views

Heightmap generation

I want to implement something like this to create a heightmap: 'Place a group of coordinates evenly across a map, and give them height values within a certain range. Repeatedly create coordinates ...
1
vote
2answers
516 views

2d game tools , what to work on first?

My friend and I would like to program a 2D game. We were discussing about tools needed, so while I am working on the tools, he will work on game logic and stuff. Probably I will put our tools into the ...
24
votes
6answers
5k views

A way to store potentially infinite 2D map data?

I have a 2D platformer that currently can handle chunks with 100 by 100 tiles, with the chunk coordinates are stored as longs, so this is the only limit of maps (maxlong*maxlong). All entity positions ...
0
votes
1answer
130 views

How can I apply a shader to images in a map in XNA?

Basically, what I'm trying to do is apply a shader to my background image and only the background image. The problem is: the background is actually made up of tiles that are picked out of a list of ...
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
1k 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
357 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
514 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
515 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
401 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 ...
6
votes
3answers
612 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
435 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
783 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
371 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
667 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
1k 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
873 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
709 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
825 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?