9
votes
Is there a name for this technique to put the tiles on the corner of a level?
It's a palette. Same thing you see some artists doing with colors. They draw a group of a couple of the main colors or even a gradient going between them for easy access. It's much easier to use a ...
8
votes
Accepted
Is there a name for this technique to put the tiles on the corner of a level?
I don't know if there is a name, but this seems to be something you'd do to conserve memory.
First, a basic tile is very low resolution - just a few pixels across. But when rendered, they are ...
6
votes
Accepted
Any way to combine instantiated sprite renderers into one texture so I can apply into a plane at runtime?
Here's one way to handle it:
Make a texture that records which tile to draw at each cell of the grid, 1 pixel = 1 tile (so if you make a 4096 square texture, you can have over 16 million tiles in ...
5
votes
Accepted
Is there an advantage to creating a tileset instead of multiple content items?
Nowadays the most important reason to use a tilemap instead of separate pngs is just for organisation. Do you want a stage to have a different theme? Then you simply create a new tilemap, that follows ...
4
votes
Accepted
Is there a way to set custom data per cell in Godot 4?
I solved this problem by extending the TileMap class thus:
...
3
votes
Is there an advantage to creating a tileset instead of multiple content items?
Here's a little experiment you can do yourself to see why using a texture atlas (or tileset) is a good idea.
The goal is to draw a checker pattern using a ...
2
votes
Take an image and cut it up into a tile map
Take a look at Tiled.
It's a tool for creating 2D tile maps including hex-based maps like the example in your post. Phaser allows you to load tile map data generated by this tool.
Once you've created ...
2
votes
Accepted
How can I create a slope/hillsde tileset?
Sloped terrain is hard to do in a convincing way in an orthogonal 2d tilemap. But here is an example from the 1993 SNES game Illusion of Gaia by Enix which does a quite decent attempt:
This ramp uses ...
2
votes
Accepted
How to create walls and rooms with Pixi
From my understanding, PIXI doesn't recognize the blue walls. Your blue walls are really just one big rectangle (a sprite), so you can detect collisions between your characters and the map itself, but ...
2
votes
Accepted
How do you use these kind of rpg ground tileset ?
This tileset is famous because it was used in RPG maker VX. It seemingly consists of 6 tiles (2 by 3) and it even outputs tiles in that size, but it actually handles the tileset as if it was 4 by 6:
...
2
votes
Accepted
How would I bitmask these tiles?
The tileset shown isn't well suited to autotile. Some parts work ok, others somewhat, and some not at all. The nine house tiles are the best suited to autotile, so we'll start with those.
As mentioned ...
1
vote
If I have three different kinds of blob tiles, how many tiles do I need?
If I'm reading Godot's Terrain TileSets documentation right, you can potentially select a different tile for any permutation of terrain types painted in this square and the 8 squares around it.
So if ...
1
vote
Accepted
How to fix texture atlas border bleeding?
The texture size usually does not match the screen area, so it needs to be enlarger or reduced.
That means that the border of your tiles are blended with the transparent border between tiles. And it ...
1
vote
Accepted
XNA's SpriteBatch resizing is not sharp as i use it
Thanks to @DMGregory, i've Added the parametter samplerState on SpriteBatch.Begin that fixed everything
...
1
vote
How do you use these kind of rpg ground tileset ?
These are "Auto Tiles" for the RPGMaker game engine.
While the map editor uses 32x32 tiles as a basic logic unit, the engine actually splits the tiles into 16x16 tiles. The map editor then ...
1
vote
Is there an advantage to creating a tileset instead of multiple content items?
It comes down to performance.
Tilesets are good for the engine, since it then has to only store one single path to one picture. And that picture is easily made into power of two to better be ...
1
vote
Character collision detection on 2D array tileset based map
The simplest way possible to perform a collision detection is checking the next position an object should move to: if there is a free place, move it, if there is a wall, don't move it, etc.
Simple ...
1
vote
Why my canvas isn't showing anything after I put code in the loop for tile map?
So I solved the problem by removing one of the image.onload functions. The problem was that I had them both in my constructor functions. And the one inside Loader ...
1
vote
Accepted
Tiled - isometric map - how to find out tile width/height
The downloaded file contains a big spritesheet with many sprites in it. What is the best way to find out what settings I need to have in Tiled to work with these?
The spritesheet included in that ...
1
vote
Use tilesets or a complete image?
Your question is a bit unclear, but I assume you are asking:
Why render the world of a 2D game using a single texture holding an
indexable tileset instead of having the world pre-rendered from ...
1
vote
Use tilesets or a complete image?
It's simply more convenient. If you store the tiles with ids, then you can easily convert those to coordinates on the texture, so you don't need to store the textures in an array or use switches. You ...
1
vote
Top down 2D game: hole tiles
Think of the hole tiles as "teleporters" which teleport the player-character to a different map (the one representing the layer below it).
You will likely already have an implementation for these to ...
1
vote
Top down 2D game: hole tiles
I don't know what tool you are working with but as if you work in unity like me, you can make a trigger for those holes and certainly player has a collider. so in collision stay of hole or player just ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tilesets × 29tilemap × 13
tiles × 9
2d × 6
godot × 5
unity × 4
tiled × 4
sprites × 3
collision-detection × 2
javascript × 2
html-canvas × 2
rpg × 2
isometric × 2
phaser × 2
c# × 1
game-design × 1
monogame × 1
procedural-generation × 1
optimization × 1
terrain × 1
assets × 1
image × 1
spritesheet × 1
terminology × 1
modding × 1