Tile map is a technique of re-using small graphic pieces, tiles, over and over again to shape the game field.
1
vote
0answers
65 views
How to handle a Tile Map Scrolling
i'm making a video game, and i'm having, i think, a concept problem. The game will be a platformer which will use tile maps, so to start i will create a mask matrix indicating the tiles to be loaded, ...
0
votes
1answer
43 views
Should I make the Cells in a Tiledmap as null when my player hits it
I am making a Tile Based game using Libgdx. I took the idea from SuperKoalio platformer demo by Mario Zencher. When I wanted to implement Collectables in my game , I simply draw the coins using Tiled ...
1
vote
1answer
149 views
How do I create curved ground in a 2D runner game?
If I use tiled based map I can have only rectangular objects.
What is a strategy for creating slanted or curved ground in that case? Should I use a tile-based map, or should I define corner points ...
2
votes
2answers
126 views
How to draw tile edges when you don't know where they're going.
This is more of an art question than a programing one but still game development.
I have a tile engine that makes a map randomly from tiles, each tile is a square 3x3 grid. The problem is that while ...
0
votes
1answer
67 views
Can i place a image as a map and then code a grid over the top of it?
what i'm trying to do is make a huge map, best way i found is just make a big map and save it as a image... can i code a grid over the top so i can implement tile based movement for my character? ...
1
vote
1answer
143 views
Making a 2d tile based world/map
I've been trying to develop a very basic 2d tile based game for self experience..
Googled and looked at hundreds upon hundreds of tutorials on 'tile based maps'
Almost every tutorial i see is ...
0
votes
0answers
21 views
Creating a custom map in openlayer/geoserver for a 4x strategy game
I'd like to implement a zoomable 'galactic map' with different levels of detail and think I'm going to down an openlayers route for the client side rendering (as it's free!), and geoserver or ...
1
vote
0answers
46 views
TIled map rendering in libgdx
Good day.
First of all, some explanation of situation.
Init tiled map code:
map = new TmxMapLoader().load("maps/map.tmx");
mapRenderer = new OrthogonalTiledMapRenderer(map, 1f / 32f);
Rendering ...
0
votes
1answer
60 views
How exactly do you deconstruct the Tiled Map Editor exported tile ID?
I am trying to build 2D maps with Tiled Map Editor for my game, and I export them under text format, so a tile can look like this:
1,2,3,15,2,12,2
5,23,1,6,2,3,4,6
and so on, for many rows. ...
0
votes
1answer
46 views
how to get width and height of TiledMap in the latest Version of Libgdx
I am making a tiled based game, I want not to let the camera show places, where there is no map... this is a obvious solution I got from a tutorial
if(camera.position.x<400){
...
0
votes
1answer
148 views
Top down 2.5D game with fake 3D strategies [closed]
I'm looking for an idea for a 2D game I'm trying to develop.
I was thinking about a beautiful game design when I ran into this game: Don't Starve. Now I'm trying to figure out what kind of techniques ...
8
votes
3answers
330 views
Is it feasible for a Server to send nothing more than a tile-based area to a Client?
To start, I have a good amount of background in networking (hardware, routers, ex.) but very little knowledge past the basics of network programming. This may seem like a stupid question, but I want ...
0
votes
0answers
30 views
libGDX TileMapRenderer not doing anything
I was using this tutorial and tried to make the TileMapRenderer work, but I can't.
It never renders anything, no matter what i do.
EDIT: I found out that the problem has nothing to do with the code. ...
6
votes
2answers
173 views
Diagonal line of sight with two corners
Right now I'm using Bresenham's line algorithm for line of sight. The problem is I've found an edge case where players can look through walls. Occurs when the player looks between two corners of a ...
1
vote
1answer
268 views
Tilemap collision in component based entity system
I am trying to set up a collision system for a tilemap in my component based entity system, but having trouble with figuring out how to do so.
Currently I have the following approach:
My tilemap ...
0
votes
0answers
89 views
Tile-Based Platformer Infinite Terrain Generation [duplicate]
I'm using the LÖVE game engine (which uses Lua). My terrain generation works good. But I'm planning to make the terrain generate as the player walks so that the terrain will be infinite size. I'm ...
0
votes
2answers
222 views
best structure to handle entities in an entity component based game engine
I am trying to develop a 2D entity component based game with multiple layers as tilemaps (front or back from the scene).
I currently handle the tilemap layers in a 3 dimension array[z][y][x]. Each ...
1
vote
1answer
302 views
What can i use as a 3d Tile map editor?
I need to make grid based levels with 3d models for a dungeon crawler ( as a recent example Legend of Grimrock), but i need to have several layers and place entities with properties and position, ...
4
votes
1answer
253 views
Working principle of an RPG map
I am currently thinking of building a basic browser-based 2D(that would eventually become 2.5D) RPG. I have planned everything and I think that would be able to accomplish the current goals, but it ...
4
votes
2answers
230 views
3D models on 2D tilemap perspective when scrolling
I am creating a small top-down game, where the player traverses a 2D tilemap, with an illusion of depth provided by 3D models for things like buildings or trees.
Having gotten to the point where I ...
0
votes
0answers
72 views
How to manage multiple objects for a tile based game for collision?
So I'm making the tile-based 2D sandbox platformer...thing to get an idea of how to manage different elements of coding games.
Currently I'm at the point where my collision system works fine for a ...
0
votes
0answers
50 views
Joining multiple tile-based maps in java [duplicate]
I'm currently developing a 2d mmorpg tile game, I've made a basic map system, and managed to get the map to scroll whilst keeping the player at the center of the screen.
I am however completely ...
1
vote
1answer
117 views
Help developing grid maps
I have been working with Tiled and Cocos2d lately but am having problems understanding how Im suppose to be doing the maps.
Tiled is not an image editor, so I create my tileset in Gimp. However it ...
1
vote
0answers
86 views
Touch Gesture Map Movement
I really dig the way that the map is moved in Clash of Clans (https://itunes.apple.com/ca/app/clash-of-clans/id529479190?mt=8)...
I can recognize the pinch and finger movement needed for the zooming ...
-2
votes
1answer
204 views
are most 2D games tille based? [closed]
So I'm beginning the planing phase for a 2D game that I hope to deploy for iPhone, Android, and maybe windows phone, and I am writing it in Cocos2DX and I'm looking around for map editors that I could ...
1
vote
1answer
184 views
Tiled map seen from an angle
I have working code to display a tiled map. It's composed of a OrthogonalTiledMapRenderer and an OrthoGraphicCamera :
camera.setToOrtho(false, WORLD_WINDOW_SIZE.x,
WORLD_WINDOW_SIZE.y);
...
0
votes
1answer
181 views
Creating a BufferedImage with several smaller images?
I am making a 2D tile based game. The tiles render fine from a spritesheet and a text file. However, I am using a for loop to draw the map to the screen. When it refreshes, it slows down the loop, and ...
-1
votes
1answer
120 views
Building placement in tilemaps (pattern matching)
I'm building a small rts and in my code I have given my buildings a pattern, much like you would pieces in tetris. In other words I want to place irregular shaped buildings on a map without buildings ...
0
votes
1answer
222 views
How to attach a sprite to a TMXTiledMap at a particular coordinate, in AndEngine?
I am trying to add a sprite at a "grid" location on the tiled map. The TMX tiled Map is like a grid, and you can access the size of the grid by calling mTMXtiledMap.getTileRows() and ...
3
votes
2answers
152 views
How do I eliminate black bar artifacts in AndEngine/TMX plugin?
I used AndEngine gles1 along with the tmx plugin to generate my background maps. The image width is not fit to my virtual device, so I increased the tmx image size. Here is my code for the camera ...
2
votes
2answers
194 views
Creating and connecting rooms for a roguelike
I'm creating a Roguelike and I'm having constant troubles with map generation, it's just something I have a lot of difficulty wrapping my head around.
I currently have my map as a 50x50 square of ...
-1
votes
1answer
195 views
Should I load a game map as a tile map or as an image map? [closed]
Which is better for game prototyping of a game map: a tile map or an image map? What are their respective pros and cons? Should I, in other words:
Load the map as a png and set collision points ...
-2
votes
2answers
235 views
How can I draw a map that is stored in arrays [closed]
I have spent over 12 hours with no avail trying to successfully draw my map.
The map is stored in an array called Tiles[]. Each value in Tiles can either be 4 numbers:
Grass
Stone
Water
Void (EMPTY ...
19
votes
1answer
1k views
Difference between “staggered” isometric and “normal” isometric tilemaps?
The Tiled Map Editor v0.9 recently added support for staggered tilemaps in addition to its usual isometric tilemap support.
What are the exact technical differences between these two types of ...
0
votes
0answers
180 views
SFML tmx map loader for isometric view
To load a tmx map in SFML which way will be flexible and optimal , use sfml maploader to load the map (http://sourceforge.net/projects/tiledsfmlloader/) or use tmx parser and then load it into SFML . ...
0
votes
0answers
99 views
Xna problem drawing tIDE map
So i was trying to add tIDE to my project but i hit a Keyntfoundexception
map.Draw(mapDisplayDevice, viewport);
Any help would be usefull here is the rest of the class:
using System;
using ...
0
votes
1answer
163 views
Is caching tiles like this a good idea?
I have a 2d int array which represents tiles on level like this:
0000000000000000000000
0000000000000000000000
0000000000000000000000
1111111111111111111111
I have a tileset vector, where each ...
10
votes
4answers
722 views
Did old games like Golden Axe or Street or Rage use tilemaps? [closed]
I am wondering if old games like Golden Axe (genesis) or street of Rage (genesis) used tilemaps or background bitmaps for the levels.
I could not find any resource that explain this and searching ...
0
votes
2answers
127 views
How to display height information in tilemap
I want to create a hexagonal tilemap and show regions of different height in the same screen. What ways can you think about to indicate which height a tile is on. (current, lower, higher?)
Several ...
-10
votes
3answers
184 views
Where can I find a chess tileset? [closed]
I can't seem to find a chess tileset! Not even a bad one. I've looked in a few places but can only find chess pieces arbitrarily sized
0
votes
1answer
394 views
Pygame 2D Scrolling Map
I have currently a pygame program that stores tiles in a 2d list like
[[1,1,1]
[1,1,1]
[1,1,1]]
where the 1 is a tile object. I have the character centered in the middle of the screen, and I am ...
2
votes
2answers
194 views
Looking for an elegant way to represent fixed parts of a randomly generated level map
I'm coding from scratch a small experimental game on a medium-sized random rectangular square tile map. (Say, a map of a dungeon.)
There are several types of tiles (for example: floor, wall, monster, ...
1
vote
2answers
186 views
2D tilemap editor UI--how do I disable editing while save/load dialog is open?
I'm working on a basic 2D tilemap editor in C#/XNA. Currently, it displays the map through a picturebox through which XNA's output is being routed, and editing is accomplished through simply checking ...
1
vote
2answers
126 views
Cocos2d savegame cctmxtiledmap
my game features several tilemaps that are initially loaded from a tmx file and modified during gameplay.
How can I save the changed tilemaps in a save game? Will NSCoding do the trick here or is the ...
0
votes
1answer
43 views
Torque2D createTileLayer
The script reference "manual" is not much of a help. When I look up createTileLayer(tileCountX/tileCountY/tileSizeX/tileSizeY) it doesn't say more than it creates a new TileLayer.
But, in what unit ...
-1
votes
1answer
157 views
Tilemap collision detection strangeness [closed]
I have used this code, or code very similar to it, to detect collisions between rectangle shaped entities and a tilemap for a long time. When I read the code it seems to me that it is impossible for ...
4
votes
3answers
167 views
Labeling Areas on a map
I've been wondering how you would go about labeling an area on a 2D tile map. What I'd like to do is associate tiles with an area i.e Forest Area, Desert Area, etc.
Keep in mind this is an idea, so ...
6
votes
1answer
334 views
Elegant autotiling
I'm looking for information about how people implement autotiling in their tile-based games. So far I have always improvised it with a bunch of hardcoded "if ... else ..." statements, and now I ...
1
vote
1answer
88 views
Find connected hex of same color
I'm using Lua. I have a hex map. It is randomly generated into an table.
hexmap[y][x].color = "red"
I wish to find each "group" of hex's. i.e. all hex's of the same color that connect to each other ...
0
votes
4answers
475 views
Storing huge 2D tiled map in a txt file
I'm working on a global startegy game that uses a 2D tiled map. The map is to be 8000x8000 tiles large (this size is fixed, the map stays the way it is throughout the game), since I'm covering a large ...