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

learn more… | top users | synonyms (2)

2
votes
1answer
32 views

Libgdx, tiled map - how to reload layer?

In the simple platform game I'm making, when player collects coin, its cell is set to null. Is it possible to recover all cells from layer "coins" after player dies? I have tried multiple things but ...
0
votes
1answer
61 views

How to draw the simplest grid map OpenGL 1.0 [closed]

I want to draw a simple black & white grid map, like that: I have been searching for a way to generate tile, a tile map and tho and I want to draw this map and thats all. I mean that I want to ...
1
vote
0answers
28 views

Zoom to Mouse on a Globe using a Perspective Projection

I am trying to create a strategy game that takes place on a globe (i.e. a textured sphere). I would like to be able to zoom to mouse like on google maps. My camera always points towards the center of ...
0
votes
1answer
78 views

maps in a multiplayer diablo clone - unity3d

I'm messing around with unity3d free, trying to figure out if i can get away with using its readymade graphic engine. I have some problems figuring out how maps should be implemented/handled (the ...
1
vote
1answer
99 views

How to draw a mini map OpenGL & OpenGL ES?

I'm trying to draw a mini map. Succeeded to put current screen to smaller screen (mini map) via FBO. But I do not know how to make the mini screen brighter when hover. You can imagine that, the real ...
0
votes
0answers
27 views

How to make a grid layout in Ruby (Gosu)?

So I'm attempting to make a simple Snake game. However, there's one major problem with that - I don't know how to make my playing field as a grid. So far I've split my snake into segemnts, which are ...
0
votes
0answers
28 views

What map projection is needed to transform a shapefile into a 3D earth?

I'm looking for a way to create a 3D earth in Flash, something like the wonderful SolarSystemScope, only in my map the countries should be clickable and whatnot. To get started I've got map data from ...
2
votes
1answer
118 views

Easiest way to make a 3D overworld [closed]

Using something like Blender, would it be easier and more time and space efficient to create 'tiles', and use some kind of software like Tiled to use these tiles in the various maps, or would it be ...
0
votes
0answers
50 views

Legality on BSP maps and creating them using Open Source Editor Tools

I saw somewhere when you use BSP Quake Map Format with Id Software Official Tools that you need to acquire licensing when you release your game commercially with a map created with Id's own editor ...
3
votes
2answers
146 views

How should I store a city map on disk?

I'm working on a game where players travel in a city. This city is defined by streets (names, positions...), points of interest (cinemas, restaurants...) and different zones (high criminality zones, ...
0
votes
3answers
80 views

Logic level representation that distinguishes “<<under>> and <<above>> the bridge”

I have an logic level/map representation for a 3D game that uses vector<Area> where: class Area{ vector<Point2D> bounding; //determines the shape of the Area, its borders ...
16
votes
5answers
422 views

How can I detect connected (but logically distinct) bodies of water in a 2D map?

I have a 2D hexagonal grid map. Each hex cell has a height value used to determine if it's water or ocean. I'm trying to think of a good way to determine and label bodies of water. Oceans and inland ...
0
votes
1answer
89 views

Is there a reason to keep maps in memory?

I've noticed for a long time that games (mostly FPSes) do not unload the map when the user has finished with it (aka, disconnecting from servers, server changing maps). The result of this is that the ...
-2
votes
1answer
131 views

How do I choose where to position a mini-map in the HUD? [closed]

In a game with a minimap, what factors should be considered when choosing where to put the minimap on the screen HUD? What choices are typically made when wanting to emphasize a particular factor?
2
votes
2answers
288 views

How do I make a scrolling map within an HTML5 canvas?

My project is a 2D tactics game with a square grid. It's all HTML5/Javascript/JQuery. I have been able to draw out the grid and have a system where I can load different maps with tiles where units ...
1
vote
0answers
139 views

OpenGL Bump Map — Texture artifacts ?

I am learning OpenGL (and learning the math behind it) and I'm making a simple OBJ viewer, nothing fancy. I have diffuse, specular and ambient light/texture working fine and now I am implementing the ...
0
votes
0answers
88 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
180 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
81 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
103 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
28 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
380 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
97 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
134 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
129 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 ...
0
votes
1answer
207 views

How to approach players beeing overlapped by high isometric tiles?

I'm making a browser game wich is based on PHP, MySQL and Javascript. It has an isometric world where the player can move and see other players/NPCs. But if a tile in the foreground is so high that it ...
1
vote
1answer
74 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
47 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
202 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
162 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
215 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
163 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
307 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
479 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
1k 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
536 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
100 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
92 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
99 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 ...
5
votes
3answers
332 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
218 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
620 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
168 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 ...
1
vote
3answers
169 views

How can randomly paired players fairly select a map?

I'm developing a website for a board game that revolving around user-created boards. Matches are currently created by selecting two people who have been waiting in a queue the longest and creating a ...
0
votes
1answer
102 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
91 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
2k 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
482 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
103 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
145 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 ...