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

learn more… | top users | synonyms (2)

0
votes
0answers
24 views

ID3D11DeviceContext Map/Unmap bottleneck

I maintain a small rendering engine that displays models in Direct3D 9. I'm currently migrating this to Direct3D 11, and I've hit a snag in how I display points on the model. Using a sphere mesh, I ...
1
vote
1answer
50 views

How do I create a custom “Google Maps” visualisation from game map images?

I am attempting to create the equivalent of a Google Maps map for a private Ultima Online server, with a custom map replacing the default map. I'd like to allow players to pin important locations on ...
0
votes
0answers
33 views

Data structure to store map layers in each Tile while keeping the order of terrain, items and monsters intact

My game represents its map as a 2D array of tiles, each of which stores a stack of layers. I'm looking for a data structure to efficiently represent this . I want to be able to add layers ...
1
vote
1answer
83 views

What are the most common ways of closing an open world? [closed]

In many open world games, there are several ways to limit them. From original ones such as Desynchronisation(Assasins' Creed) to invisible walls. What are the most common ways to close open worlds?
0
votes
0answers
24 views

Any good map editors [duplicate]

So I've been looking for a tiled map editor but more specifically, one that exports as a png where each tile is represented as a pixel with a unique color so my game can load in the png read each ...
1
vote
0answers
53 views

Phaser / PIXI: World size vs. Stage size

I am using Phaser to build a "zoomable / pannable" 2D galaxy with the intended functionality being that the player's home planet is always in the middle of the World coordinates. I have a problem ...
0
votes
2answers
72 views

Quick algorithm to identify undrawn rectangles inside a map

I already have a working algorithm for this but it's home-made and there is some redundancy in the things it checks, so I'm looking for a fast algorithm (or the name of it) that would detect undrawn ...
1
vote
1answer
53 views

Hexagonal Game Board Modal?

Tile-based games like Chess have a simple modal: an array of arrays, each coordinate with an X and a Y value. This is easy to implement, and it is easy to figure out what is going on. However, ...
-1
votes
1answer
108 views

Are random generated mazes a nuisance? [closed]

To me, random generated maps such as in Diablo2 were often a nuisance. Many times, you find yourself in a dead end and have to find another way. However, Diablo2 became a very popular and addictive ...
1
vote
1answer
58 views

What does the “random element” do in Cellular Automata

I'm reading this post on TutsPlus regarding procedural level generation using cellular automata. My question arises in this code snippet: float chanceToStartAlive = 0.45f; public boolean[][] ...
0
votes
0answers
44 views

2D Game with a big block-based Map - Create for each block one block-object? [duplicate]

I'm working on a 2D game in Java which will be similar to Terraria (Mincecraft 2D). I want to generae the world-map random. The world (the ground) consists of 32x32 blocks. How I should handle all ...
0
votes
1answer
82 views

Is there a size limit when using UICollectionView as tiled map for iOS game?

I'm working on a turn-based strategy game for iOS, (picture Civilization 2 as an example), and I'm considering using a UICollectionView as my game map. Each cell would be a tile, and I could use the ...
1
vote
1answer
114 views

Data structures for territories in a 2D map

I am diving into game development with a 2D game. The game will display a territorial map (borders, capitals, etc.). What is a common data structure to use for storing and manipulating the data in ...
1
vote
1answer
141 views

How to represent a map in a top-down perspective game with low algorithm complexity?

This is the first time I develop a video-game, and I am kind of lost. I would like to know about ways on representing 2D maps on a top-down perspective game... (Like this one: ...
1
vote
1answer
125 views

Animal Crossing-like Map Data Structure

I've been looking closely at how Animal Crossing (for GameCube) creates town maps, and as far as I can tell, it's something like this: The town is made up of a 5x6 grid of acres. Each acre is 16x16 ...
4
votes
1answer
231 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 ...
0
votes
2answers
126 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 ...
4
votes
3answers
385 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 ...
1
vote
3answers
175 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
86 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
65 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
66 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 ...
4
votes
2answers
190 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 ...
6
votes
2answers
193 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
446 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, ...
0
votes
0answers
96 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 ...
0
votes
1answer
87 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
89 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 ...
8
votes
2answers
892 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 ...
1
vote
2answers
390 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
71 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 ...
0
votes
1answer
140 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 ...
-2
votes
2answers
255 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
27 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
43 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 ...
0
votes
2answers
83 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
0answers
118 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
245 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 ...
1
vote
1answer
198 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 ...
2
votes
1answer
281 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 ...
10
votes
2answers
762 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
102 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 ...
1
vote
2answers
185 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, ...
0
votes
1answer
368 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
218 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
531 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
215 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 ...
11
votes
3answers
321 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
118 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
286 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: ...