Questions tagged [tilemap]
Tile map is a technique of re-using small graphic pieces, tiles, over and over again to shape the game field.
756 questions
0
votes
0
answers
29
views
How to properly manage vertical offset for ghosts oscillating between tiles in Pac-Man ghost house
-2
I am implementing ghost behavior in a Pac-Man clone, specifically the behavior when ghosts are inside the ghost house during the waiting phase.
The issue is that ghosts inside the ghost house do ...
1
vote
3
answers
251
views
Enemy movement system on a 2D grid (Zelda-like)
I’m trying to implement a top-down Zelda-like enemy movement system. Consider a screen of x tiles wide by y tiles tall, each tile being 16x16 pixels.
I’m not asking for code here. I’m asking for ...
0
votes
0
answers
38
views
How do you setup a ramp with an existing tile-set in Unity?
(Beginner questions)
How do you setup the ramp with the tiles in unity?
The graphics and the behavior?
I've been checking this free tileset:
In the image it has connected ramps
I cannot seem to get ...
0
votes
0
answers
27
views
TileMapLayer doesn't move along with its parent node
I'm using Godot 4.4.1 and currently learning how to build auto dungeon generator. The dungeon "room" is developed using TileMapLayer.
Room parent are set to ColorRect for background.
I use ...
1
vote
2
answers
137
views
Change the tile in the tile map at runtime
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 ...
0
votes
0
answers
136
views
How do I add an outline to a Unity tilemap?
Is it possible to add a nice outline to a unity tilemap?
For example, if my tilemap looks something like the image on the left, I want to make it render like the image on the right:
I found this ...
0
votes
0
answers
59
views
What are some different ways that tiles are stored in a game during runtime
I am making a 2d rpg game that uses tiles to store the terrain data. Also the map is procedural generated infinite world type.
I saw an approach called clipmaps to ...
0
votes
0
answers
96
views
How to Have Tiles of Different Materials on Single Tilemap
I'm developing a tile-based game where some of the tiles have unique materials (generally to avoid repetitive patterns by sampling a large or procedural texture using world space coordinates). However,...
0
votes
0
answers
70
views
Invalid Pixel Offset Calculation Fix?
I am currently using a SDL_Texture *texture as a chunk in my world that is being Perlin noised onto to make terrain.
Using a 2d array of these I tile the plane. But ...
1
vote
1
answer
322
views
What is the relation between TileMapLayer, Terrain Set and Terrain?
Godot 4.3 introduced TileMapLayer as node, which was previously part of TileMap node.
Each TileMapLayer allows defining different Terrain Sets.
Each Terrain Sets allows defining different Terrains.
I'...
1
vote
0
answers
67
views
How are the Inspector, Select Tab, and Paint Tab related in the Terrains settings?
use: Godot Engine v4.3.stable.official, TileMapLayer
How are the Inspector, Select Tab, and Paint Tab related in the Terrains settings?
There are many settings that need to be configured in Terrains, ...
1
vote
1
answer
202
views
I'm not sure how to set up tile animations in TileMapLayer
use: Godot Engine v4.3.stable.official, TileMapLayer
I don't quite understand how to configure tile animations.
As a reference, I'm watching this video:
https://www.youtube.com/watch?v=it0lsREGdmc
I'm ...
1
vote
2
answers
691
views
How to use Y-sort between the TileMapLayer and the player
With the following structure, I turned on Y-sort for everything, but it doesn't work as expected (the player can't stand in front of the tree).
I'm using Godot v4.3.
Node tree
Standing front: Not work
...
1
vote
1
answer
335
views
Understanding polygonal approach for procedural generation of roads and rivers
First of all, I have already discovered these questions and their answers:
Road / river generation on 2d grid map
Algorithms for rainfall + river creation in procedurally generated terrain
Generating ...
0
votes
0
answers
103
views
Merging sprites to be used as a single tile
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 ...