Java Game Tutorial: Ep 54 - Auto-Tile

preview_player
Показать описание
Learning Java 2D Game programming: Ep 54 - Auto-Tile
In this video we get into some auto tiling to make the map making process a bit faster. Googling around there are some different strategies, where one involving bit shifting seems particularly used. However, it requires our art to be in a specific order, and we'd also need more tiles per set than we have, so instead we build a string which represents the state for all neighbors and then we make a mapping table from that.

Рекомендации по теме
Комментарии
Автор

thank you, this video helped a lot :)

benni
Автор

I'm getting an error because of this weird switch-statement. Can u pls help me?

nnx
Автор

Would you like a simple way to do bit testing that does not require a switch?
Because bit-testing is so powerful. It allows you technically to do multiple boolean checks at once.

Speiger