Skip to main content

Questions tagged [tile-bitmasking]

Bitmasking is, in the context of tile-based graphics, a programmatic technique to allow seamless tiling between all tile combinations.

Filter by
Sorted by
Tagged with
0 votes
1 answer
283 views

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?
Life4Gaming's user avatar
0 votes
0 answers
62 views

I am making a Sonic game in Pygame and I have recently gotten my hands on a Python class that uses pygame.rect and pygame.mask in unison to create sensors that can be used to accurately detect the ...
miggle's user avatar
  • 1
1 vote
0 answers
175 views

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 ...
KlownHero's user avatar
2 votes
1 answer
4k views

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?
josie's user avatar
  • 23
15 votes
4 answers
6k views

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 ...
Federico Baù's user avatar
3 votes
1 answer
2k views

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 ...
Michael Teasdale's user avatar
4 votes
2 answers
297 views

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 ...
PearsonArtPhoto's user avatar
2 votes
2 answers
591 views

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 ...
BadmintonCat's user avatar
7 votes
1 answer
4k views

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 ...
Seiyria's user avatar
  • 183
1 vote
1 answer
429 views

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 ...
Pip's user avatar
  • 1,454
1 vote
1 answer
262 views

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 ...
Dimaga's user avatar
  • 13
11 votes
2 answers
6k views

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/2011/...
erebel55's user avatar
  • 343
5 votes
1 answer
2k views

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 ...
user avatar