Tile map is a technique of re-using small graphic pieces, tiles, over and over again to shape the game field.
0
votes
0answers
26 views
LibGDX - Turning TiledMapTiles into objects
I'm working on a harvest moon type game and I've already created lots of assets and have a working player. Now the issue is with the tile map. I use Tiled Map Editor to make the map and it renders ...
0
votes
0answers
53 views
Unity2D 100x100 tile map, best practice?
I'm trying to create a top-down map in Unity2D, this map will act as an ocean that a 1 tile sized boat will drive across. I want to be able to generate this map programmatically by going through the ...
0
votes
1answer
32 views
How to convert or import files from Illustrator in Tiled for game development?
I have created all my images for a game in Illustrator, now I want to convert them in Tiled Sheets for developing my game in libGDX.
So could I import or convert these .ai files from Illustrator in ...
0
votes
1answer
36 views
Love2D and 'Tiled' - Detect if player is over certain tile/Collision
I created a 50x50 tile map with 32x32 tiles in Tiled and exported it as a Lua file so I can use it in Love2D. I have a player you can move around the world but I'm attempting to convert the player's x ...
0
votes
1answer
56 views
Top down 2D game: hole tiles
I'm making a top down 2D game in Unity, here's my doubt: how can I add "hole" tiles to it, so the player could fall (something like Zelda: Link to the past, or the water tiles in Enter The Gungeon)?
...
0
votes
0answers
19 views
How can set up a “custom rendering region” for tilemaps?
PhaserJS has a great support for rendering and handling tilemaps, but I miss a crucial feature.
Assume that I need some portions of the screen (or more specifically, the canvas serving as a "domain" ...
0
votes
0answers
13 views
Remove orange overlay in tilemap editor in unreal engine 4.14.3
I'm using Unreal engine 4.14.3 and I can't get rid of the orange overlay in the tilemap editor. Does someone know how to fix this?
*I've already posted this on the normal stackoverflow. But for some ...
1
vote
0answers
46 views
How to stop this object from overlapping tile's corners in 2D tilemap
I am using a tilemap to create my 2D world. All tiles and the player has an AABB. Currently, I'm detecting collisions with surrounding tiles the player is in, from the player's center. This works, but ...
-1
votes
1answer
31 views
Map not loading from text file
Ok, so I have a text file filled with 0s and 1s. When there are 1s, I want the code to add a block to the block array. For some reason it is not reading it right at all.
World.java:
import java.awt....
1
vote
1answer
36 views
Map Engine Rendering Broken
So I've been making my own tile map engine in LibGDX as the one currently implemented doesn't support collision detection with scaling. So I've come up with my own Layer and Map class and a drawing ...
0
votes
0answers
29 views
How do I generate concatenated looped edges from a tilemap
I have been looking for a place to ask this question. I hope I've found the right boards. If not I'm sorry, I would appreciate any advice on where to ask this :)
My Problem:
I'm working on a C++ ...
0
votes
1answer
94 views
Reason for white lines in tile-based game
My game is tile-based. I am getting this lines between two tiles. They don't look nice. How can i resolve this issue?
-2
votes
1answer
140 views
Collision using Tilemaps [closed]
How do I get the player in a platformer to collide with tiles
My code for my for loop is
for(var i = 0; i < game.map.length; i++) {
for(var j=0; j < game.map[i].length; j++) {
...
0
votes
0answers
20 views
TiledMap does not showing up -LibGdx
I want to include a TiledMap inside my LibGdx Project.
I did coding like this.
public static final AssetDescriptor<TiledMap> tMap = new AssetDescriptor<TiledMap>("tmap.tmx",
...
0
votes
0answers
13 views
how i can collider a tilemap and sprite correctly(phaser)?
i have a map using tilemap and a player, both with collision, but when i press UP key for jump the player can jump everywhere meanwhile him have contact with a part of a platform ( down, top, left, ...
0
votes
1answer
40 views
Unity TopDown parallax effect only working in three of four directions
I'm a hobbyist at programming so I'm sure I'm missing something very simple:
Basically I have a script that has a method for repositioning a 3x3 grid of tiles every time the player goes out of the ...
0
votes
0answers
28 views
Libgdx change colors of tiled map
I have a TiledMap that uses a tile set that is gray scale. Is it possible to change or tint the colors at of individual TiledMapTiles at runtime?
I have tried using Pixmap, but it doesnt show the ...
0
votes
2answers
118 views
Placing units on isometric map (2D)
I'm making a map editor for further RTS game (2D), something like the first StarCraft Editor. Terrain tiles will be a rhombuses. So I'll probably just make an 2D array with intigers, that corresponds ...
0
votes
1answer
21 views
Tilling with SDL2 via Clipping - Some bug which is hiding quite well
right at the moment i am writting some code for demonstration purposes. unfortunatly i have an stubborn bug in my code which is invisible to me. The Problem is I am trying to draw a Map. The Map ...
0
votes
0answers
71 views
Best way to render a 2d map?
I can't post more than 2 links (which I use for the images), that's why I have spaces in the links, remove the space between http:// and the link.
Please note this is a different problem than: http://...
1
vote
0answers
29 views
Find all tiles by ID in layer
In phaser 2.6.2, is there a way to retrieve all tiles given their ID from a TilemapLayer? The method searchTileIndex on Tilemap works well to retrieve a tile. It has a skip parameter that allows to ...
0
votes
1answer
49 views
How do I represent blended tiles in a mesh/vertex array?
I recently started making a Terraria clone using the LÖVE library, which is based in OpenGL.
In Terraria, for each tile, there is a large texture with all possible combinations for merging with ...
0
votes
1answer
52 views
tile map collision with player not working - 2D c# xna
Currently the tile map is drawing fine but I am not sure how to proceed with collisions between the player and some of the tiles. Would it be better to specify certain tiles that the player can't move ...
0
votes
0answers
23 views
Tiledmap collision not working as expected in libgdx
I am working on a platformer as a beginner in libgdx and i am following dermetfan's tutorial on tiledmap.I am having some problems with tiledmap collision,its working but having issues while jumping ...
1
vote
0answers
46 views
How to bring my game written in Graalonline engine to Facebook/iOS/Android?
I have a video game that I made before on a game engine called Graalonline. I hosted the game with their engine and servers and recently they stopped hosting my game. Now I have a game on my desktop ...
0
votes
1answer
58 views
How to draw textured tile map in opengl
I am trying to create a textured hexagonal tile map in opengl. I have the VBO and respective index buffer. Additionally I have a texture atlas for texturing individual tiles. I'm attempting to create ...
0
votes
0answers
26 views
Get the layer player is standing upon
In Unity i have a 2d tile map, how can i know on which layer of my tilemap the player is standing? Keep in mind that at the moment i don't have separate gameObjects for each tile as this is a simple ...
0
votes
0answers
45 views
Drawing Pixels to Texture
I have some bitmaps for grass and snowy grass. I am using them for a tiled based map and for a little experimental weather scene.
The current state is that I always need to create a new Bitmap for ...
0
votes
1answer
49 views
Enemy AI chase twitching left and right to move vertically
I'm making an enemy follow the player based on his possition and attack if he is within a distance and his last movement (if the enemy last moved to the left, it will attack to the left, etc.). It ...
0
votes
0answers
45 views
Create a spreadsheet for a tiled map
My plan is to write a tile map generator, that will automatically take the right sprite out of a spreadsheet, and place it on the game board starting from the basics in this tutorial for Unity.
My ...
0
votes
0answers
51 views
MonoGame - Improving 2D array Spritebatch performance
I'm looking to improve the performance of my Draw() method for my tilemap. I've poked around for a few hours and done things like:
Removed any new calls from the for loops where I'm drawing the tiles....
0
votes
1answer
94 views
Top down tile based game render order
I'm making a simple top down (like this) tile based game (using JavaScript, for reference)
I use Tiled for making maps. I have sprites that are more than one tile high, and so whenever they are in ...
5
votes
1answer
152 views
Create a seemless grid-based polygonal tileset
The aesthetics I am going for is demonstrated by many simulation games such as Simcity. But I am looking at this particular example: Polygonal Planet Project by Oskar Stålberg.
I understand the ...
4
votes
2answers
144 views
How to make my Diamond-Square-algorithm less 'random'?
I'm currently writing a world generator for a Tilemap-Engine in C++.
But there is a little problem concerning the Water to Land ratio.
My DiamondSquare-class returns a field of random float-values ...
20
votes
3answers
3k views
Best practice for map coordinate system
Are there any conventions and/or best known methods around coordinate systems in game maps? Is the origin usually positioned in the center of the map? Or does it live in a corner and the map is built ...
1
vote
2answers
95 views
How to efficiently manage tile-based map and items/characters
I'm working on a simple C++ game to learn the language.
It's ASCII and features a tile-based map, enemies and items that spawn randomly. The player is, as usual, the '@' character.
I'm trying to ...
0
votes
1answer
37 views
XNA player/tile collision not working perfectly
So I've built a map tile engine in XNA, and have been working on the player/tile collision. The method I'm using works well to some extent, but the player will often move through the walls and get ...
1
vote
1answer
51 views
Create Full Tile Map Zone in an Art Software, then generate corresponding tile name list?
I'm completely new to tile map creation. I'm a programmer and I'd like to make life easier for myself. It's a bit long to explain the problem I think I have, but bear with me.
The Scenario:
From ...
0
votes
1answer
132 views
JavaScript - Updating a canvas real-time… from server-side or client-side
I have this 2D tilemap game 13x13 viewport (169 tiles drawn on canvas at a time) of a 150x150 map. Each tile is 32x32px. Obviously I only update the 13x13 viewport...
I want to update a canvas in ...
0
votes
1answer
58 views
only one tile being drawn xna c#
I have been looking at tile engines for the past few days and decided to have a go at my own one for educational purposes. I want to use different textures for the tiles of my map, for example 1 = ...
2
votes
1answer
50 views
In my tile-based game, GameObjects are stored in a std::map<Vec2Int, GameObject>, but I want the GameObjects to be in control of their position!
GameObjects are stored in a Tilemap class, within a std::map<Vec2Int, GameObject> container. The Vec2Int struct describes the object's x and y coordinates. Each GameObject also contains a ...
0
votes
1answer
34 views
LibGDX - Centering different sized Tile Map Levels
Suppose I have a Level 1 tilemap which is 32 x 16 tiles in size, and when the player exits into another room, which is on 10 x 6 tiles in size, what's the best way to center the viewport. At the ...
1
vote
1answer
221 views
Tile based movement with SKAction (Xcode 8, Tile Map)
I am trying to make a game where the Hero can move like in Pokemon with SKActions.
But the movement looks unprofessional and have delays.
How can we handle to move the Hero smoothly with SKActions ...
0
votes
2answers
56 views
How to make an object move outside the map and appear on the other side with a tilemap?
I have a tilemap where a character moves from tile to tile. I'm trying to make it possible for the character to move outside the screen and reappear on the other side, just like the tunnel in Pacman.
...
0
votes
1answer
67 views
How to set building in sequence like COC game using tiles map in cocos2d-x V3.9?
i am developing game in cocos2d-x V3.9. i want to create base like COC game. set all buildings in sequence and it can't be overlap with each others. i want also make boundary for develop city view. ...
1
vote
1answer
46 views
How to iterate tiles around an index tile?
I am not exactly sure how to state this question, what I basically want to do is to seed a tile based map with some values. So I asked myself how I could spread some values outgoing from a start tile, ...
0
votes
0answers
67 views
Travian Map with tiled staggered isometric in xamarin cocossharp
I want to create a static staggered isometric like Travian map in Xamarin (Nothing moves on it , just like travian)
Is Tiled with CocosSharp the way to create it ?
(Please gimme a link to a guide if ...
3
votes
4answers
274 views
Determining how much of a tile is intersected by a ray to help calculate lighting and deal with shadow issues
I'm currently using the following steps for my lighting system
Calculate all the tiles along the perimeter based on the radius of the light
Cast a ray from the center of the light to each perimeter ...
1
vote
0answers
62 views
Advice on mapping tiles to a height map/3D world
I've been attempting to think of a way to map tiles to a height map. Where a grid can be either layered or integrated into the world data. However, since I am not using voxels I could use some advice ...
1
vote
2answers
117 views
How to handle Tilled Map z index order with player in libgdx?
The below 1st image is the example how I render tiled map with player, I can properly change the player z index, If I want to make the player below the box i just set the z index to 0. But the problem ...