V
V
Vladimir Grabko2016-07-21 00:30:50
Game development
Vladimir Grabko, 2016-07-21 00:30:50

What map generation algorithm did old Civilization games use?

In a civilization, cells have "dependencies" so that the same roads are "beautiful". Now I'm guessing that I need to make a dependency tree for each texture (they have tiled graphics there). But maybe there is a more correct algorithm for building a landscape?
Description of what I want to do from Wikipedia

“Cleverly” cut the pattern into tiles, providing for transitional tiles between different surfaces and not allowing areas with very different optical density within one tile. Compare SuperTux and WarCraft II in the pictures on the right.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2016-07-21
@VGrabko

This approach is called Bitmasking .
Article 1
Article 2
Article 3
Article 4 (here is an example with hexes)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question