Rust Roguelike Tutorial - Chapter 33 - Waveform Collapse

You’ve probably seen Waveform Collapse (WFC), if you follow gamedev media. It exploded onto the scene, and started being used in everything from Caves of Qud to AAA titles. It’s a complicated algorithm that takes one source image and makes something similar (but not the same). This chapter walks you through the algorithm, and modifies it to better fit the Roguelike genre - adjacency is influenced by tile connectivity to encourage useful maps, and it takes a map as a source - so it can make your existing map creation algorithms more interesting.

https://c10.patreonusercontent.com/3/eyJwIjoxfQ%3D%3D/patreon-media/p/post/30802927/e21aea564fb8431281a1f42badd20b17/1.gif?token-time=1581292800&token-hash=6aNNo7jSsXzdiGu4crks6c1gBzecOPJixDRNUOe_kQU%3D

Share this post
Support the author with