Tile map is a technique of re-using small graphic pieces, tiles, over and over again to shape the game field.

learn more… | top users | synonyms

0
votes
0answers
28 views

How do I draw a tilemap in SFML (C++)?

I've been working with SFML and I've used what I know to try and create a TileMap. However, opening the RenderWindow will only display a black screen and the image I have loaded in the files will not ...
1
vote
2answers
30 views

Tile tilemapping render error

I'm having rendering issues in Tiled with a border tile I'm applying to shapes. In Tiled: In game: I'm using Tile Flipping to reduce work. I thought this may be the issue, so I tested out a few ...
1
vote
0answers
34 views

Generating “tile map” by stamping a full map

I'm building a game using Tiled tilemap editor. I was originally creating tilesets to stamp around and create my map in Tiled. Id prefer to create the base map in a Adobe Illustrator and stamp in ...
0
votes
0answers
19 views

Projection type/camera angle in Alien Soldier

I am trying to build a 2D game similar to Alien Soldier from oldies (Sega Genesis). The problem I am having is with assets. What kind of projection/camera angle does the Alien Soldier use for it's ...
-1
votes
1answer
34 views

LibGDX - Map Boundaries

Synopsis Well, I'm making a little top-down JRPG and today I was like 'Yeah, I'm gonna bust out this whole map collision thing!'. I failed. Problem So I went on the internet and looked up 'LibGDX ...
5
votes
1answer
101 views

Adding terrain features to a perlin noise heightmap

I'm currently using Perlin Noise to generate heightmaps and model moisture levels as well as tree density to create terrain (in the form of 2D tilemaps - think dwarf fortress). How can I generate ...
1
vote
2answers
84 views

Making Edges of Hand-Drawn Tileset Match Up

I'm making a tile-based platformer. A friend at college is doing all my art, and so far it's beautifully hand-drawn. The problem is, I can't seem to make the edges of the tilesets match up. He ...
2
votes
1answer
82 views

How to prevent tendencies to upper-left corner? [closed]

In a 2D tile-based game I'm making, I have a loop that runs through each of the tiles to check and apply values. One of the effects is intended to make a circle around itself, using a similar method. ...
1
vote
1answer
74 views

How to combine tiles in a procedurally generated level in 2D tile based maps?

I am developing a 2D tile-based top-down game. It is currently instantiating square objects with a sprite renderer to procedurally generate the map. Each floor and wall is a 1-unit wide object. I ...
0
votes
1answer
45 views

XNA Platformer - Where should tile collision handling be?

I've started using XNA and am working on a simple 2D platformer (single level). However, I am stuck as to where the collision detection should be handled. Here is my current project structure: The ...
2
votes
1answer
32 views

Store and retrieve different objects on a tile

(I hope the title is clear enough, if not feel free to suggest a better one) I'm trying to make a simple tile-based map for a college project in Java. But I'm stuck on how to literally place things ...
0
votes
1answer
55 views

LibGDX hexagonal tilemap getting adjacent tiles

How do I get all adjacent tiles to a hexagonal tile, my tile map is using a staggered co ordinate system with an odd stagger index and I am using libgdx java. if (x % 2 == 0) { hexAdj[0] ...
0
votes
0answers
19 views

Generating hexagonal tilemap in libGDX

How would I go about generating a hexagonal tilemap in Libgdx? My idea before was to just use a prebuilt tilemap and then change tiles on it but I'm having problems with the hexagonal co ordinate ...
0
votes
0answers
36 views

Hexagonal Tilemap is being distorted

So i made a hexagonal tilemap of ocean tiles and then picked a few tiles to be land when i pick all adjacent tiles to the hexagon it usually work but for tiles that are on certain columns it does not ...
2
votes
1answer
54 views

Referencing individual cells of a tilemap and changing texture

I have a tilemap and am trying to proceduraly generate islands on it by changing the texture of the tiles and marking it as land ( I want to do this without texture atlas for now). How do you change ...
0
votes
0answers
22 views

Libgdx HexagonalTiledMapRenderer

How does the hexagonal tiled map renderer work in libgdx I'm trying to render a hexagonal tiled map and I can't quite get it to display correctly I've used the orthogonal tiled map renderer before and ...
3
votes
0answers
30 views

Java image in JFrame rendered weirdly

I'm not sure if this is intended or not, if it is, I'd like to know a way of preventing this: I've got this image (which is for testing purposes, the actual one has a texture, but I'm not using it ...
1
vote
0answers
41 views

State machines and map transitions

I've implemented a [basic] FSM in my game and it currently does its job very well. Recently I have come across a "problem" that I need to show a "Loading map. Please wait..." screen for as long the ...
1
vote
1answer
55 views

How to use 16/32 square pixel tiles in tilemap on arbitrarily sized canvas in Phaser

My question is about Phaser and Tiled but I'm not quite sure how to ask it so please bear with me. Do I need to make the size of the canvas or area on which I want to display my tilemap a multiple ...
46
votes
6answers
3k views

How can I quickly check if my sprite tiles well?

I am trying to create tilemap sprites that tile nicely, but checking how well they tile is really cumbersome. Ideally, I'd like to have an image editor that shows a layout like this, so I could see ...
1
vote
2answers
43 views

xna split tileset into individual tiles

I am trying to break a tileset image from my content folder into individual tiles during program. What I would like to have happen is that i can fill a list (of thing) with each possible tile so I can ...
1
vote
0answers
24 views

Error rendering map android

I'm trying to read this text file and render the corresponding tiles on the screen. The code for reading the map is as follows: private void loadMap(InputStream is) throws IOException { ...
2
votes
3answers
86 views

How do I make my foreground tiles stand out more from the background?

(the background implemented in the game) In the game that I work on, the background and the map tiles are pretty indistinguishable for new players, probably because they have similar colors and ...
10
votes
2answers
170 views

Combining Many Small Colliders into Larger Ones

I am creating a game using a tile-map made of many thousands of grid squares. At the moment, each square has a square collider on it for checking collisions. However, with many thousands of tiny ...
2
votes
1answer
68 views

How do I stop off-screen tiles of a 2D tilemap from being rendered?

I am seeing lag because I render all tiles in my map at once. How can I exclude off-screen tiles from being rendered? My tiles are 32×32 and my player is always in the centre of the screen. Here is ...
0
votes
3answers
70 views

how to avoid circular references between objects and map

I've been working on a turn based tactics game on a grid. I've been trying to figure out how to store and relate the grid and the objects on it. Essentially, my question boils down to how to ask ...
0
votes
2answers
62 views

How do I properly load maps?

I'm trying to load my map properly, but it takes some time (after the games has been started) to be how it should. Am I doing something wrong? Why is this happening? AndroidStudio: Tiled (map ...
2
votes
0answers
31 views

Hex axial coordinates to table coordinates conversion

I am developing internet game based on hex map. I am storing my data based on axial coordinates system. I developed function which shows me axial coordinates of hexes within $distance from a given ...
1
vote
1answer
178 views

Embed a real city in a game and use data to find and display paths [closed]

First of all this question is gigantic but it's mainly about Unity, maps, pathfinding, and real data. The problem. In my game the player sees the map of a real city (in 2D), it’s exactly the same ...
2
votes
1answer
72 views

Pixel thin lines appearing between sprites on camera move

I'm going to apologize in advance for the lack of screenshots, but this was a very hard thing to capture, but very obvious to see. I'm using LibGDX to create a tile base rogue-like. Everything is ...
4
votes
2answers
135 views

How should I use Monte Carlo method to simulate some police cars that keep patroling in a tile based map?

I have a tile map (isometric) and I have some police cars that they patrol all the time on the map, there is some building and other cars in map too so they are considered as constraints in my ...
0
votes
1answer
59 views

TileMap or Voxel collision detection

I have a conceptual question: In the case of Tile Map, each block has the information from the enemies who are going about it. But what if some of these enemies are far greater than the block? I have ...
0
votes
1answer
166 views

LibGDX: Issue with unitScale for Tiled and Box2D

I've got the following: I use a TiledMap (loaded from a .tmx), each tile 32x32 pixels in size and generate the Box2D bodies for collision from the TiledMap's ObjectLayer. That all works fine, no ...
0
votes
1answer
45 views

Reading map.txt from assets android

I'm a beginner android developer currently working on my second app which is a platformer game. I'm trying to read the level map (which I've stored in the assets folder) but I keep getting a ...
2
votes
1answer
148 views

Wang tiles generating

I'm trying to get rid of repetition on terrain, when viewed from up high. To achieve that, I've chosen Wang tiles. One thing I'm missing, and can't really find is any kind of generator that can take a ...
2
votes
1answer
133 views

Smooth Wall Collision Detection

I've been working on a small game, and I've been stuck on the collision part. During the collision, when my player hits a block, he stops just as it should, but it then doesn't allow me to another ...
2
votes
1answer
82 views

convert mouse coords to zig-zag isometric

I was wondering, how do I convert mouse coordinates to zig-zag isometric coordinates? I already know how to convert to isometric using the Diamond approach, so I just need to know about the zig-zag ...
1
vote
0answers
65 views

Climate / weather generation on 3d hex map

I am working on 3d hex map game. I am aiming to dynamical generate map (as new players joins). To make the map realistic I am looking for some climate/weather models which possibly I could use so that ...
0
votes
3answers
141 views

Löve2D: Making a random map/city generator [closed]

So I'm making a game using love2d where the player will find himself in an zombie infested city but I don't want the city/map to be just the same all the time, so I want to create a random map/city ...
4
votes
2answers
277 views

Best way to handle cornering in a 2D maze game?

I want to implement smooth cornering in a grid, much like Pacman moving in his maze. A big difference with Pacman, my characters can stop- thus the player has to keep pressing the controls to keep ...
0
votes
0answers
196 views

Libgdx texture bleeding in tile map

So I am making a game in Libgdx using an isometric tiled map but when I set the texture filtering of the tiles to linear, black lines show up between all the tiles. This is caused because each tile ...
0
votes
0answers
92 views

How do I create tile based world generation

I was planning on making a tile based 2D game that has a random world generation. The game world itself is made out of several floating islands and the later half of the game world is generated as a ...
2
votes
1answer
92 views

How do I calculate the position of a vehicle moving between tiles, over time?

I'm working on a small multiplayer game where players can create cities, and these cities will be placed on what's called the "world map." The world map is basically a giant coordinate plane made up ...
0
votes
0answers
64 views

Using EaselJS, my spritesheet-based map is not showing up

I have a random map that generates based on a level and a set of Tile ID's, constructed using a Height Map generator I wrote using the BitmapData extension. I've confirmed that the Tile IDs are ...
0
votes
0answers
49 views

XNA 2D Tile Baseed Map Collision Messing Up On Inside Corners

I'm creating a 2D Over the head game and the collision system works fine for straight walls and outside corners although not for inside corners. The walls are done by each solid tile having a ...
1
vote
0answers
137 views

Tilemap layer scaling and Camera issue in Phaser

I'm working with the Phaser framework and I'm struggling with a camera/rendering issue when scaling a tilemap layer to simulate a zoom feature in my project. The camera size is set to ...
1
vote
1answer
140 views

Pathfinding with differently-sized objects on tile map [duplicate]

It's my first RTS game and I'm having trouble finding out how to make infantry take less space than tanks. Right now I have 1 tank and 1 infantry type ready with sprites, pathfinding, selection and ...
2
votes
2answers
225 views

Manually creating cycles in planar, procedural trees?

I am creating a procedural map using delaunay triangulation and an MST. I'd like to have a bit more control over my final graph. Like when i was looking looking at the MST I wondered how I can connect ...
1
vote
1answer
112 views

Tiled tilemapper - isometric

I'm attempting to move from oblique mapping (45 degree angles) to isometric (30 degree angles) in Tiled. I made a test tile in Photoshop: Made an isometric map: But my tile appears completely ...
2
votes
1answer
150 views

Mixing perspectives in an oblique-perspective game

I've been creating an adventure game using 45 degree angled tiles to create a 3D illusion- aka oblique style. Using 45-degree angles... I can create pretty much any size or shape building I want: ...