Questions tagged [tile-bitmasking]
Bitmasking is, in the context of tile-based graphics, a programmatic technique to allow seamless tiling between all tile combinations.
13 questions
0 votes
1 answer
270 views
How to correctly set up peering bits for terrain sets/autotiling?
I'm trying to set up autotiling for this tileset in Godot: I set the peering bits like this: However, when I try to place the terrain tiles, all I get is this mess: What am I doing wrong?
1 vote
0 answers
175 views
How would I setup the autotile bitmask for this tile set?
I'm using Godot. I've figured out how to do the main tiles like you see in the following image, but I have no clue where to go from here. The tile set is from PixiVan located here PixiVan Forest Tile ...
15 votes
4 answers
6k views
What is a 'Mask' in Game development?
What does it mean a 'mask' in 2D (and possibly 3D) Game development? What would an experience Game Dev understands if I say ´make this Rect a mask´? I know it could be a very broad term and it may ...
4 votes
2 answers
295 views
Is there a way to make the boundary between materials wavy?
I have a sea trading game that I'm working on developing. Right now, my world looks like this: There are 4 different "biomes", with more to be added. Internally, this is a large mesh which has 4 ...
7 votes
1 answer
4k views
How can I implement an RPG-maker style
I'm currently working with Phaser, making a game that's procedurally generated. I wanted to use some RPG maker art in my game (for reference, I'm using the RTP). I stumbled across this article, which ...
1 vote
1 answer
261 views
Paint game level algorithm
I have a game, and I have a level editor where you can build your level from blocks. Blocks positioned in cells. So blocks can have no neighbours or have one or few neighbours. My problem is that I ...
5 votes
1 answer
2k views
How to march tiles together like in Terraria?
I've been trying to get tile marching to work like in Terraria, and I got something to work. I don't think it's actually very good way of doing this, so I'm wondering what would be really the main way ...