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

learn more… | top users | synonyms (2)

14
votes
3answers
13k 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 ...
2
votes
3answers
142 views

Creating a seamless open world 2d game map

I'm creating an open world game similar to Pokemon. Should I load the full map, or divide it into chunks and load only the the nearby area? I don't want my user to get to a point where it will ...
4
votes
1answer
85 views

map/world “decorator” algorithms/patterns

I've spent a lot of time working with perlin/simplex noise for different styles of map gen, but I'm having a hard time finding advice/resources on how to populate the map with "world decor" that have ...
2
votes
1answer
99 views

Approaches for a clickable map of nations (such as a Risk game) with Spritekit

I would like to create a political map where each country is clickable by tapping but I'm not sure the best way to determine which nation was selected. Imagine Risk where each country can be ...
0
votes
2answers
39 views

How do i initialize and use a Texture Array? LibGDX

First of all, I am new to Java and LibGDX.. What I am trying to do is Load my texture images into an array so that I can reference them in my drawing code by number, rather than by name. I am drawing ...
1
vote
3answers
100 views

2D Side Scroller Game Without A TileMap

I want to create a 2D side scrolling game in a similar style as the game "Castle Crashers". (Go to: http://store.steampowered.com/app/204360/ to see some pics of the game). I have experience ...
0
votes
1answer
71 views

Array of map data

I'm looking for your thoughts on the best way to store map data. I need to store data for territory ownership for each pixel on the map. The data for each pixel is as such: Player 1 points: 24 ...
2
votes
1answer
53 views

multiple textures into one texture

Can i fusion multiple .tga or .jpeg into only one, and texturise my model with it ? Here is an example to explain my self better : I have Mr Bowser as 3d model and i want to integrate it in a game. ...
2
votes
1answer
46 views

Generate 2D Triangular Mesh from Vertices on a Map

Given a map of vertices {(x1,y1), (x2,y2), ... (xn,yn)}, how can I generate a 2D triangular mesh covering all vertices, and where the area of all triangles completely covers the map? The triangular ...
6
votes
2answers
172 views

Biome Transition in a Grid & Borderless World

I have a universe: a list of "Systems", each with their own center, type and radius. A small part of such a universe could look like this: Systems: Can be very close to a different system, e.g. ...
2
votes
2answers
369 views

Zelda-style top-down RPG. How to store tile and collision data?

I'm looking to build a Zelda: LTTP style top-down RPG. I've read a lot on the subject and am currently going back and forth on a few solutions. I'm using C#, MonoGame, and Tiled. For my tile maps, ...
5
votes
1answer
659 views

How do I generate a smooth random horizontal 2D tunnel? [duplicate]

I'd like to create a smoother version of the navigable and quite natural-looking random tunnel found in this classic helicopter game. It should ideally be... infinite, so more can be generated as ...
0
votes
0answers
60 views

Level Select World Map with layers of images for score and completion

I'm working on an android game that will have a "world map" for selecting which level to play. Some examples of other games that implement what I'm trying to do are: Angry Birds, Kingdom Rush, and ...
8
votes
2answers
541 views

How can I generate random maps that feel like Age of Empires II random maps?

I like the way Age of Empires II generate random maps turned out (good variety, decent biome transitions, maps felt random without feeling chaotic), but am struggling to replicate the style. I've ...
0
votes
1answer
138 views

What would be the easiest way to keep objects at a constant point on a 2D map, even when off-screen?

Like in Starcraft, where your army units stay put even though your view is moving around the map. I have a static tiled map that I made using Mappy and I can display that fine, I just want my ...
0
votes
1answer
79 views

Possibly a more efficient way to structure my game's map?

I need a little help with structuring my map. I want to make it efficient but I'm not sure if there's a better way to do this: public class Map { Chunk[][] Chunks; Object[] Objects; } public ...
1
vote
0answers
87 views

How do I load real-world map terrain? [duplicate]

I'm new to game development and want know how to make or load a terrain from OpenStreetMap or Google Maps in your current city. (I'm using Unity3D.) My idea is just load or generate a map of the ...
1
vote
2answers
279 views

2D open world MMORPG; big map memory problem [duplicate]

I am developing an 2d open world mmorpg game for learning purposes, and have a issue with big maps. A year ago i developed 2d open world single player / co-op game. It saved map in chunks, and AI for ...
0
votes
1answer
55 views

Android Jump&Run - Random map generation [closed]

I'm pretty new to game development but I work on an android app. It's a 2D Jump and Run game. I do it in Eclipse and the map is readed out of a txt file right now. But I want to do a Jump and run ...
-2
votes
2answers
249 views

Why can't I set a single value in a game map Java 2D array? [closed]

I'm trying to set one character on 2D array. map[0][2] = "0"; However, I'm getting 11011 11011 11011 11011 ... I was expecting 11011 11111 11111 11111 ... What am I doing wrong? another ...
0
votes
0answers
26 views

Creating a dynamic map in Unity [duplicate]

I'm currently working on a small strategy game that involves online multiplayer. I was now planning to add a sort of 'Empire' map to my game. That is, a (3D?) map of different lands, similar to this: ...
0
votes
0answers
35 views

World / tileset modeling for large and evolving environment?

I have a world that I'm starting to contemplate modeling. Initially I was going to track variables, but then realized that I have at a large number of variables that affect each "tile" and then there ...
28
votes
6answers
3k views

Vertical vs horizontal hex grids, pros and cons [closed]

With hex grids, you can choose to arrange the tiles with the pointy sides up, so that you can move along the west-east axis, or you can arrange them with an edge up, so that you can move along the ...
0
votes
2answers
73 views

libGDX map transition via try & catch exeption

I have a simple question. Some explination first, however: I am using libGDX and making a Legend of Zelda-type top-down game and I'm having an issue with map transitions. When I made the tilemap ...
1
vote
1answer
136 views

Scanning a 2D tile map and detecting regions?

I have access to all points/tiles on the map with top-right most point being (0,0). Simplest way to traverse the map would be using for loops, one nested within the other to traverse the x axis, and ...
0
votes
1answer
150 views

How to find a free patch of area in a tiled map?

I've been trying to formulate the question and try to find some information on Google, but didn't managed to, so here it is... We've got a nice tropic-themed game that is about to be released soon, ...
1
vote
0answers
111 views

LibGDX polygon caching

I am developing an Android game using LibGDX and I have big world map made of polygons. I use PolygonSprite and PolygonSpriteBatch, when I render map, I get 30-35fps and it feels laggy. I wonder if ...
4
votes
1answer
195 views

How to vectorize a raster image edges into SVG paths?

I'm having a lot of trouble figuring out how to convert a 2D list of points into an SVG Path representing a political map border. I have completed all parts of a 2D terrain generator, including ...
2
votes
1answer
250 views

How do I make a natural-looking map from some Voronoi regions?

I'm using Voronoi regions to create a map for my game, much like this. However, the lines are too straight and perfect. How do I make the borders more natural looking? As in, less like US state ...
2
votes
1answer
327 views

How can I load a large tile map with cocos2d?

I am try to design a cocos2d game with a big world. The world's tile map is very big, maybe 20 iPad screen sizes worth of tiles. I want to know how to load this using a CCTMXTiledMap? If I directly ...
10
votes
2answers
620 views

Where can I find real-world map data for a game?

I want to build a game with a concept similar to Ingress, where the game map is overlaid on a real one. Where can I find map data for an app like that? How (generally) do I integrate my own game ...
0
votes
1answer
99 views

Map color collision problem

Hello i'm doing a game in WPF, 2D version (top view) I have the map and i'm trying to check for color collision in pixel each time the timer is activated Well...with 1 object it works fine but with ...
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 ...
0
votes
1answer
284 views

Roguelike Map Structure [duplicate]

I'm working on a roguelike and would like to know how to structure my map data. I suppose this question could also be extended to any sort of top down 2d game. Anyways! My game will contain object ...
0
votes
1answer
155 views

Using a permutation table for simplex noise without storing it

Generating Simplex noise requires a permutation table for randomisation (e.g. see this question or this example). In some applications, we need to persist the state of the permutation table. This can ...
2
votes
2answers
508 views

2D game big background images for maps

Update: this question is general, not specific to Sprite Kit or a single language/platform. I'm toying with Sprite Kit with an idea to make a 2D side-scroller. Now the backgrounds for the maps are ...
-1
votes
1answer
186 views

How to draw a map for the game? [closed]

I wanted to make a small game, it will be about space. But I had a couple of questions, how to draw a map for the game? I would like to have lots of planets, possible consolidation of the system (as ...
0
votes
1answer
196 views

How can I create a Killing Floor map?

I'm trying to create a Killing Floor map and i have the latest Unreal Engine but i dont know how to export my map to Killing Floor. Where can i find the correct version of Unreal Editor ? How can i ...
0
votes
1answer
257 views

3D BSP rendering for maps made in 2d platform style

I wish to render a 3D map which is always seen from top, camera is in sky and always looking at earth. Sample of a floor layout: I don't think I need complex structures like BSP trees to render ...
4
votes
5answers
2k views

What would be a good way to implement/render a 2D tiled map for a browser game?

I coded a a little RPG in ruby and I used an array to contain the map squares. The elements of the array (which defines the X coordinates) are arrays themselves whose elements defines the Y ...
1
vote
1answer
572 views

Android Dynamic 2D Map

My problem is, I want to create a 2D tiled map. Yes, I know it's been asked a lot. I've seen answers that propose the use of tiled however it only allows (or so it seems to me) to generate static maps ...
11
votes
3answers
278 views

How to divide hex grid evenly among n players?

I'm making a simple hex-based game, and I want the map to be divided evenly among the players. The map is created randomly, and I want the players to have about equal amount of cells, with relatively ...
1
vote
1answer
114 views

How to load a simple minimap, and hide the background?

I developed a small and simple 3D games minecraft style. I would add a "MiniMap". Until here everything is fine. I had the idea to load the entire map in the background, and then I added the edge of ...
-3
votes
1answer
194 views

How do I export a .tmx file into a custom format?

I just created a map in tiled software. The problem is that it has created a .tmx file. But I need a different format than that, something I can easily store in 2D int array. By 2D int array I mean: ...
0
votes
1answer
51 views

Making the player fall below the actual map

I have a 2d map of integers 0000000000 0200000001 1111100011 0 = sky/empty 1 = ground 2 = player When player falls in a hole/cliff I want the player to go below the map, so it will look like the ...
4
votes
1answer
398 views

How do I model a real-world building?

This isn't exactly a game development question, but I am planning on using Unity as my engine and modeling in Maya so I was hoping folks on here might have some experience with this. I want your ...
1
vote
1answer
266 views

What's the simplest way to determine the size of an empty space between rectangles?

I'm working on a dungeon generator and I'd like to be able to connect rooms through other rooms. What I currently have set up is two dictionaries and a map (an int array.) The first dictionary holds ...
-2
votes
2answers
106 views

Pygame 2d map error [closed]

I'm writing a Legend of Zelda like game in pygame. I have this code for loading a map from a text file. #Load maps f = open ("map1","r")#This file is a text file containing only: 1 map01 = f.read() ...
0
votes
1answer
206 views

Representing a world in memory

I'm attempting to write a chunk based map system for a game, where as the player moves around chunks are loaded/unloaded, so that the program doesn't run out of memory by having the whole map in ...
3
votes
1answer
191 views

Placing nodes in a graph in a random but readable way

I'd like to create a simple map from vertices and lines - you know, like a usual graph. A tree, to be precise. To select the location of the next point that comes from one, I use a simple ...