Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [maps]

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

1
vote
0answers
37 views

Developing Cartography for Simulated Land Navigation or Orienteering [on hold]

Request to know what the best approach for developing a simulated Large 1:75,000 or 1:50,000 scaled map using GODOT or another game engine. My goal would be to create a 3D world that allows the player ...
0
votes
0answers
27 views

OpenGL render your own world using tiles from google maps

Goal: I would like to create a UI/GUI that has a Google Earth Panel. In this Google Earth Panel I would like to zoom in a 3D world and out and label additional objects like sattellites etc. To ...
2
votes
1answer
37 views

How can I draw an animated vector field on a map?

I want to render an animated vector field map similar to this wind speed visualization. How can I do this?
2
votes
0answers
44 views

How to create landscape image from 2D map?

I created a 2D map using Perlin Noise. Based on the value on x,y, I determine an altitude and so a color to apply to my map (8 levels map). Now, I don't want my player to see the map but I would like ...
1
vote
0answers
51 views

How should a 3D map be stored?

I have an array of 3d vertices, Vertex3D[][] ground; so for each element in the array, I have an array of three 3D vertices, a triangle. But this means I cannot ...
13
votes
6answers
3k views

Efficient Algorithm for the boundary of a set of tiles

I have a grid of tiles of a known finite size that forms a map. Some of the tiles inside the map are put into a set known as a territory. This territory is connected, but nothing is known about its ...
4
votes
0answers
40 views

Describe a 'seam' of material within Voronoi map

This is my first foray into game programming. I am using Monogame (XNA replacement). I have begun playing around with a 2d map generator (Think Terraria) and have started off with generating the ...
41
votes
3answers
5k views

How can bays and straits be determined in a procedurally generated map?

I've got a procedurally generated map using Voronoi cells, with a defined sea level and a believable height map. So far, I've been successful in labelling certain geographic features: land, ocean, ...
0
votes
0answers
9 views

Calculating offset for translation between layer and world

When translating offsets between two coordinate systems, I'm using xOffset = Math.Abs(System2.StartPosition.X) - Math.Abs(System1.StartPosition.X) yOffset = Math.Abs(System2.StartPosition.X) - Math....
0
votes
0answers
33 views

Center of World Map not the same as the center of my Bullet Physics World

As you could see in the image, the center of my map should be located at the intersection of the diagonal lines. When I import 3D buildings within the area into my Bullet physics world, I want to set ...
0
votes
1answer
54 views

3d game terrain creation approach

I want to create a terrain/world map for my 3d game. I want a huge map. For example, ill make it in Blender or generate from a heightmap. Then I plan to divide it in chunks so I can load/unload and ...
2
votes
2answers
84 views

2D walled map generation

I want to make a 2D walled map. the walls must be L,T,+,-,| shaped. (made from vertical and horizontal lines) There must not be a complete closed block (i.e. all parts of the map must be connected). ...
0
votes
3answers
105 views

How can you tell if you are a large player on a large map or a small player on a small map?

If everything is scaled by a constant factor, can you tell that the world is smaller or larger? I think you could look down at the ground and see that it's "closer". But how do you know what ...
1
vote
0answers
55 views

Unity3D - How to create flat map render based on endless noise data

The Project I'm working actually on a Endless Map Generator (with chunks, height-map noise, threading system, etc..) This is actually what "dev data display" look like: The Goal Now I want to ...
0
votes
2answers
48 views

How to geographically locate the position of character on a map?

Beyond the different coordinates systems (x/y, ...), imagine you draw the map of your world on a bitmap, png, gif or whatever image. Then you got your world and you'd like your players/character (PC) ...
2
votes
1answer
83 views

Level design / lore writing - how to compel player to go through all locations in a star-shaped level

I am trying to design a map for souls-like game and stumbled upon such problem: According to the lore i have a self-contained city that is supposed to be built with convenience in mind. I am ...
5
votes
1answer
413 views

Why are spherical worlds so rare?

I remember back in the 90s when X-Com came out, being really impressed by the way its world map was an actual world: a map of Earth drawn on a spherical surface. That was pretty cool, because I had ...
0
votes
1answer
82 views

storing map data as file in 3d roguelike games

I'm currently designing 3d roguelike game. I need to come up with a map storing system but I'm quite new to game programming so I don't really know how to design. The map will be relatively small, it'...
0
votes
1answer
152 views

Generating nav meshes from tile based map (2D)

I'm working on a pathfinder for a MMORPG game, it's not mine; I'm RE it, now I need to create a pathfinder for monsters. But I figured that the client uses tiles for it's pathfinder (for players). ...
0
votes
1answer
388 views

2D Grand strategy map

I'm trying to make a 2 dimensional grand strategy type of map, similar to Stronghold Kingdoms: I've never dealt with these kinds of map before, but I assume this is a vector map (in svg format). I ...
1
vote
1answer
45 views

How can I start the race from a checkpoint with GTA 5 Map Editor?

When I use the official Map Editor from GTA V then it seems that you are only able to test the Map from the Start Point all the time. This is very annoying when you build a hardcore difficult Map and ...
3
votes
0answers
119 views

How to implement a 2D map? [closed]

I am interested in implementing a map for my 2D action platformer. The map will be accessed when the player presses a certain button, and will show—at a very coarse grain—the sections of the world ...
0
votes
0answers
36 views

How are really big maps made? [duplicate]

I'm interested in how huge games like The Witcher 3 and Skyrim create and save the open worlds. In my own game I used a system where I stored the map data in a file seperated by commas. For example '...
5
votes
1answer
125 views

Map progression

I’m developing a 2d Metroidvania Game with a few huge (separated) Areas. In an in-game Menu the Player will be able to view a Map of the current Area. For this Map I want to implement a Map ...
8
votes
3answers
961 views

What are good algorithms to generate borders / state areas on 2d star maps?

I'm trying to generate a fairly large two-dimensional star map that shows different factions / states, each owning one or more star systems. I'd like to automatically create borders / areas for the ...
0
votes
1answer
95 views

Game map for platformer megaman-style game

I want to make platformer game that would be sort of like megaman. I'm using SFML library for it. I have a problem with creating a map. Should I hardcode every single platform, add it colliders and so ...
1
vote
1answer
81 views

Is it bad practice to use the entire map image as a tilemap?

I made a map in photoshop which I want to use as a map in my game. The question is should I try to cut it up to pieces, or is it bad (performance wise) if I use the way I made it. The picture itself ...
3
votes
1answer
82 views

How can I handle a transition into building interiors?

I am trying some stuff on Unreal Engine to make something approching games like Commandos series. But for now, I'm stuck with something I can't figure how it is done : How are building interior ...
2
votes
2answers
251 views

HTML canvas how to create big game world and show only a part of it on canvas?

I originally created this question at stackoverflow but got no answers, so hopefully someone will be able to help me here. So for the first time ever I'm making a html canvas game. So far I came up ...
9
votes
1answer
436 views

Procedurally-generated 2D curved roads on map

I've been experimenting with algorithms to automatically generate road maps for a game I am working on. I'm using the "Kingdom Rush" games as a reference point as they have some great-looking maps. ...
0
votes
1answer
86 views

Map growing algorithm

I'm quite new to programming games and I'm currently working on a group project in university on creating one. In the game we've got a set of squares (cities, other entities) which are placed on the ...
2
votes
1answer
435 views

Random 2d terrain algorithm for map generator

I'm new to game development and I need some advice. I'm building a web based 2d random map generator and I wonder which algorithms there are to create such random terrains in a simple matrix as seen ...
0
votes
1answer
39 views

How To Get Current Selected Tiles and Neighbour

I've 2D array that store each planes that instantiate using code. Tile[][] map; Then in Update()function, I try to ...
0
votes
1answer
236 views

Unity3d: Rotating a sphere so point lines up with the camera

I'm trying to make a world map in Unity that contains a rotating globe with landing sites on the perimeter. What I want is that when a player clicks on the landing site the globe rotates so that the ...
1
vote
1answer
95 views

Dynamic Tilemap size changer

I have started coding this project using the library SFML a few months ago. I have implemented a random map generation everytime I load the game thanks to Biome and the Perlin noise Algorithm. I ...
2
votes
1answer
363 views

Finding all hexagonal grid coordinates inside cover arc

I got a turret that points at the corner of hexagon (point A). It can shoot in cover arc that's shown here: I need to check if my target lies within this cover arc. From this tutorial: Hexagonal ...
0
votes
1answer
172 views

How can I prevent a latitude/longitude based chunk system from Mercator projection stretching?

I'm working on an little mapbox based game and I'm currently working on an latitude/longitude-based chunk system. The distance between each of them should be the same. As you can see in the example ...
3
votes
1answer
66 views

Requesting World from Server

I'm creating a 2D Game in Java. The world is tile based with a multidimensional Array and i have the architecture for the Server-Client system. The Users/Connections to the Clients are multithreaded ...
0
votes
1answer
161 views

How do I project the Earth globe on a flat plane with minimal distortion?

I want to build a game where the game map is the planet Earth. The game map needs to be on a 2d plane, with the Earth texture projected on it If the player walks endelessly in one direction, it should ...
4
votes
2answers
3k views

How can I implement (almost) infinitely large maps in Unreal Engine 4?

I'm making a game where a helicopter travels around. I'd like that the environment around be as realistic as possible. For instance, since the helicopter can travel at speeds up to 200 km/h, I want ...
1
vote
0answers
77 views

How to generate tile based natural looking map?

I have a tile based map which I generate using interpolation of pixels on a reference bitmap into appropriate tiles depending on the color of the pixel. I'm trying to make the output look natural in ...
1
vote
0answers
46 views

XNA Displaying/Drawing from a text file [closed]

I wrote this code in the Load Content of XNA 4.0 for reading the star map, after actually adding it to my content, and I have no idea how to write/draw it onto my application, any suggestions? ...
1
vote
1answer
435 views

Calculating the latitude & longitude of a raycast hit point on a sphere

I am working on a game where you look at a sphere and get the latitude and longitude of the position. I get the position on the globe with a raycast along the direction the user is looking. Using ...
3
votes
1answer
175 views

How do I iterate over map tiles visible within a rectangular portion of an isometric view?

I have an isometric map broken up into terrain tiles. the area of the map on-screen is given by a rectangle rotated 45 degrees (in red below). Given the position of the corners of the visible ...
3
votes
2answers
263 views

How to pass the correct data into a continuous world

I'm having a hard time implementing the player moving around my world of 2048x2048 tiles that is generated using a noise function. I'm in it for weeks, and I can not, I mess around with the ...
0
votes
1answer
654 views

How do I make a 2D World Political map in unreal engine 4?

Can someone explain the basics of making a 2D World map in unreal engine 4 (e.g. similar to the ones used in Plague inc., age of civilizations, etc.) I've seen it being done in unity, but couldn't ...
0
votes
1answer
63 views

Setting collider in 3D map (blender file)

New to gamedev and I also have no idea about 3D files but, I'll try to explain the best I can. We are using our own custom engine built in C++ with OpenGL (glm, gl3w, glfw, entityx) We have a 3D map ...
4
votes
2answers
413 views

Controlling two events at once using RPG Maker MV

I am trying to make a doorway that is 2 tiles high. I have created an item called, Door Key. But I want both event tiles To hide or remove when I use the ...
18
votes
5answers
8k views

Are huge, static objects like environment transmitted from server to client in modern multiplayer games?

I have an authoritative system, where when the player joins the match, it gets all the already spawned objects - spawned on itself (the client). It looks like this: ...
0
votes
2answers
70 views

Good basemap generator

I am currently making a board game and cannot seem to find any vector world map creators where I can select a region of the world to capture and have it download that section. I just want a base map ...