Questions tagged [tile-bitmasking]
Bitmasking is, in the context of tile-based graphics, a programmatic technique to allow seamless tiling between all tile combinations.
11 questions
1
vote
0
answers
129
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 ...
1
vote
1
answer
3k
views
How would I bitmask these tiles?
I am using Cup Noobles's Sprout Lands asset pack for my small game. I want to use the wooden house tileset, but I am confused about how to set up its Autotile bitmask in Godot. How can I achieve this?
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 ...
3
votes
1
answer
2k
views
How do I bitmask these tiles?
Using Godot. I can't figure out how to bitmask these tiles in order to autotile them.
I've examined the templates shown in the Godot Docs Tilemaps tutorial, but none seem appropriate. My own attempts ...
4
votes
2
answers
253
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 ...
2
votes
2
answers
540
views
Calculating unique ID number from a set of bitmasked tiles
I'm writing a match3-style game where you as player need to match tiles with three or more of the same type.
I'm thinking what is the best method to recognize the shapes without writing a monstrosity ...
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
393
views
Correctly bitmasking path tiles based on existing paths
Currently, I have a bitmasking implementation that sometimes incorrectly bitmasks the tiles. Conventionally, it is done correctly, and the math/etc is sound, but it achieves results such as the ...
1
vote
1
answer
246
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 ...
11
votes
2
answers
6k
views
How can I randomly generate 2D tile-based side-scroller terrain?
I want to randomly generate a map for a 2D sidescroller game using the following tileset:
I have found a few great articles on the bitmasking process, for example:
http://www.angryfishstudios.com/...
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 ...