Skip to main content

Questions tagged [tiles]

Identically shaped objects (often squares or hexagons) representing spatial information.

Filter by
Sorted by
Tagged with
0 votes
0 answers
62 views

I have my OpenStreetMap data exported using QGIS as a gltf file, and I'm trying to align it with Cesium 3d tiles for my high resolution model. The problem is that both have different coordinate ...
cluck ham's user avatar
1 vote
2 answers
137 views

So I am making a game which has a farm. The farm is a tile map with each individual tile being a crop/mud. I want to achieve the following As the player interacts with a particular crop tile, I change ...
kiner_shah's user avatar
1 vote
0 answers
120 views

I am creating a 2D procedural terrain using many Tile GameObjects. To make this infinite (and more performant), I dynamically load and unload chunks based on the players position and a variable ...
Pow's user avatar
  • 449
5 votes
1 answer
372 views

When digging through Starbound's assets, the assets for dirt had two rows. A top row that was 8x8 pixels and a bottom that was 12x12 (See image): Now I know that they're not just simply being placed ...
Robert I Renode's user avatar
0 votes
0 answers
103 views

I am attempting to make a CompositeTile out of 4 sprites (one for each corner of the tile) that can be used as a single Tile ...
Martin Bocanegra's user avatar
5 votes
5 answers
2k views

Note: the main problem has nothing to do with the TYPE of pathfinding algorithm (A*, flow-field etc), allow me to explain: I have a 2d grid and a lot of agents moving around, I want it so that ...
Xascoria Dung's user avatar
-1 votes
1 answer
148 views

I've been starting to experiment with 2D rendering, in particular isometric rendering. So far I've been having issues getting my tiles to line up. I am currently writing this in Rust using the Bevy ...
SneakyTactician2's user avatar
1 vote
0 answers
149 views

Around 35 seconds into this video, three commonly used tilesets are mentioned: "15-piece, 47-piece, Reduced." The video points out some issues with these tilesets, but it doesn't seem to ...
shingo.nakanishi's user avatar
0 votes
0 answers
148 views

I am creating a 2D game with Unity. I have a map, which is a Tilemap. Currently I have 3 types of tiles: water, sand, grass. Goal: I need to make a tile which would automatically change its texture to ...
medveed's user avatar
1 vote
0 answers
157 views

I create maps like this, where each tile's data is represented in hexadecimal format: ...
M 027's user avatar
  • 125
0 votes
2 answers
255 views

Some 2D top-down games use tile maps and use transparent tiles for representing static objects. For example Stoneshard. When the character walks behind a tree, the tree becomes partially transparent. (...
Steyrix's user avatar
  • 279
1 vote
0 answers
140 views

I am working on a isometric tile-based game where the tiles can sometimes have differing heights - representing elevation. I am trying to understand how to order the tiles for drawing when there are ...
lancen's user avatar
  • 33
0 votes
1 answer
517 views

In openGL, I have a 3D terrain composed of a grid of 255x255 vertices. The vertex of the lower left corner is at coordinates (-127;-127) and the one of the upper right corner is at coordinates (127;...
Greelings's user avatar
  • 103
0 votes
1 answer
447 views

I am trying to figure out how to smoothly connect isometric tiles at levels. For example, below are tiles at different levels. I want to smoothly connect the tiles at the two levels based on the ...
lancen's user avatar
  • 33
0 votes
2 answers
951 views

In the built in Tile Palette tilemap editor, you can choose a GameObject brush to set custom tile GameObjects. How would I be able to set a gameObject onto a tile through a script?. There is no ...
CodeWizard777's user avatar
0 votes
1 answer
796 views

I am trying to make a simple 2D square grid for a map UI. The game itself is also 2D and the player can only make discrete movements between the square, but the player view is first person (you see a ...
stackedAE's user avatar
  • 103
0 votes
1 answer
61 views

I'm trying to spawn infinite tiles in a 3D runner game, but the tiles are spawning at the wrong position and on the wrong axis. Technically, the code is working as it should, it is spawning and ...
Aj_Xocan's user avatar
1 vote
2 answers
1k views

Blob tiles are autotiles that match edges and corners. I know that for two different kinds of tiles, I need 47 * 2 tiles. But I have three different kinds of tiles. I thought that I needed 47 * 3! ...
Emily's user avatar
  • 21
0 votes
1 answer
2k views

I looked at the forums and found out that it is not recommended to use the terrain system for the mobile platform. So then I decided to have a single plane as a "terrain" with single ground ...
Silz's user avatar
  • 37
2 votes
1 answer
1k views

I spent several days now trying to fix the seams in my unity scene whenever I hit the lightbaking button. My setup is a wall out of different parts created in blender and then stitched together in ...
Carolin Köhn's user avatar
0 votes
2 answers
481 views

I'm trying to make a Color Rings game. When I try to set 3 tiles (rings) in the same cell of the board (same X/Y coord), it shows me only one, the last one in the script. For example, in this case: <...
kozavr's user avatar
  • 23
1 vote
0 answers
148 views

I am trying to create a game similar to a board game on a hexagonal grid (also similar to Civilization game). I want the tiles to be able to display various textures and of course be able to detect ...
I_Keep_Trying's user avatar
0 votes
1 answer
207 views

I'm using Godot 3.5 and OpenSimplexNoise to generate my 2D topdown world with right (auto)tiles. How can I detect on which biome I'm currently standing on? This is how I generate my map (in some way ...
DDD's user avatar
  • 11
3 votes
1 answer
615 views

I'm having a lot of trouble sorting it in such a way that it works with a moving entity that is "taller" than a "block" size in this map. I've recorded my problem here: https://www....
RadicalRaid's user avatar
0 votes
1 answer
690 views

I'd like to have a map in my pygame game but don't want to waste time moving each individual object in it. To resolve this, I'd like to iterate over a list like this: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
CodeWizard777's user avatar
0 votes
0 answers
253 views

Like, how does a building in these games know if they're being powered? Or if they're within range of influence of a hospital or fire station, etc. How would they know where to send an NPC or ...
Sir Gaelence's user avatar
0 votes
1 answer
116 views

I am creating a strategy game in LibGDX with a tile system and destructible tiles. I am using an array of enums to represent the different types of tile, eg: ...
John's user avatar
  • 101
0 votes
0 answers
26 views

I have a top down Tiled map, and I would like to extract every single tile from the map and set z order layer according to the Y position they have, I have already found the way to have every single ...
Amedeo Braggio's user avatar
0 votes
1 answer
558 views

I've been experimenting with Tilemap to display tiles (with random colors) in script with SetColor() and other methods: ...
silverfox's user avatar
  • 117
2 votes
1 answer
310 views

GOAL I am making a top-down tile-based sandbox game, and it will have 400 layers of destroyable terrain, It will not use chunks, it will store the map in memory like Terraria, but only render the ...
Macho Onion's user avatar
1 vote
1 answer
144 views

I am a novice programmer. In my program, I can render a 5000 x 500 map, but it renders incorrectly, instead of this : ,,~,,,,~,,,,,~,~,,,,,~~,,,~,,,~,,,~,,~~~,~~~,,,~,,,,~,~,,,~~,~,,~,~,~~,~,,,,,~,,~~,...
Macho Onion's user avatar
1 vote
1 answer
1k views

How do I remove a tile from a scene programmatically? I have tried the following to no avail: ...
Keith R. Davis's user avatar
1 vote
1 answer
1k views

I've done a lot of research on marching squares, including: https://www.omiod.com/docs/pdf/Squares-Made-for-Marching.pdf https://en.wikipedia.org/wiki/Marching_squares https://www.reddit.com/r/...
sohnda's user avatar
  • 21
0 votes
0 answers
63 views

I realized that my problem has nothing to do with tilemap or something so I need to update my question.CalculateAgain() In the script below, I run the ...
gunza's user avatar
  • 13
0 votes
1 answer
2k views

I'm having trouble figuring out how to change the scale (size) of a single sprite (tile) on a Unity Tilemap. In the game, I place trees as tiles on a tilemap, and when they grow over time, I want to ...
caleidon's user avatar
  • 591
3 votes
0 answers
350 views

I am trying to make a tileset. I made some tiles by hand in GIMP using one of the included pencil shapes. I would like to automate the process. They need to fit in the square and have the features you ...
SPL's user avatar
  • 107
1 vote
1 answer
223 views

I am using HTML, CSS, and plain JavaScript for a 2D top-down tile-based simulation. I am trying to do collisions in which, for example, if I move up and hit the ceiling collision tile, I cannot ...
Albert Banoy's user avatar
1 vote
1 answer
238 views

I'm creating an adventure/RPG top down game where the map is randomly generated divided into zones. A major problem I'm having trouble figuring out is creating exits placed at the edges. The game is ...
Michael Muniko's user avatar
0 votes
0 answers
92 views

I have this question since a while now. In a TRPG game like Fire Emblem or Advanced Wars (or even in something simpler like a chess game) with tiles and units, you need to store where each unit is in ...
STK Oscar's user avatar
  • 155
2 votes
2 answers
602 views

I have generated a grid with hex tiles. I am using two different types of tiles and would like to at some points ask the tiles, how many tiles of each type they have as neighbours (or really, it would ...
Maree's user avatar
  • 21
0 votes
1 answer
236 views

I'm creating a simple program in C# and now i'm trying to slice an image into multiple tiles similar to a grid pattern so it does not get stretched when drawing to different resolutions. What i'm ...
RickS.'s user avatar
  • 51
0 votes
0 answers
167 views

I am in the process of programming a Minecraft like game in Unity. I am currently implementing the block mechanics. My goal is that when a block is placed, it has an effect on its neighboring blocks ...
Reddragonka's user avatar
6 votes
1 answer
4k views

I am using Unity's RuleTiles to automatically change sprites of adjacent similar blocks. For example, when a Dirt tile notices there are two ...
caleidon's user avatar
  • 591
3 votes
1 answer
239 views

Developing an RTS game, I have a tile-based terrain (grid) filled with obstacles. It looks like this (red shapes are obstacles): Now I need to plan an enclosed area on the terrain with some ...
Kromster's user avatar
  • 10.7k
0 votes
1 answer
374 views

I am making a small game where I store information about the world around the player (like tiles) using a small 2d array of integers. In the game you can scroll the screen to the left or right. I also ...
da123's user avatar
  • 1
2 votes
3 answers
4k views

I have just tried downloading a library which will allow me to add animated tiles to unity. I have been following this tutorial:http://shadowpeakstudios.com/2018/10/22/unity-tutorial-animated-tiles/ ...
DigitalRookie4's user avatar
0 votes
0 answers
1k views

So let's say I have a tilemap 5 x 5, which equals 25 tiles. How can I divide my tilemap into 25 different images? I'm using tiled, but I don't know if it is possible to do it on there or if I need to ...
bot 2's user avatar
  • 1
1 vote
1 answer
421 views

Say you're rendering a 2D top-down tile map and there are some objects in the tile map that the player should be "in front" of when below them, and "behind" when on top of them. ...
Ryan Peschel's user avatar
0 votes
0 answers
157 views

Here is the image, when I select the tile I want to paint, it paints in the correct box where I want it to be but the white cursor should also be in the same box but it is 2 units to the left? This ...
Keira's user avatar
  • 1
0 votes
0 answers
87 views

I'm sure this has been asked before, but I couldn't find the thread. Let me know if you can locate the duplicate. So, I have a my level is an array of tiles, where a tile can either be solid or ...
Ryan Peschel's user avatar

1
2 3 4 5
13