This is a deep dive tutorial video on how I used wave function collapse procedural generation to create land masses, islands, for my fishing game!
Note: I realized I forgot to actually SHOW the TileSlot class. This class is really just a data class. It has those properties shown for coordinates, entropy, a list of compatible slots and the selectedTile, and no other functionality.
🦑 Where am I?
website: https://www.savallion.com
sticker shop: https://savallionart.etsy.com
watch on Twitch: / savallion
peep my insta: / thesavallion
Read me on Medium: / lysscreative
☕ https://ko-fi.com/savallion
If you liked this, you can support me by watching more of my videos, hanging out with me on Twitch, or buying me a kofi coffee at the link above
0:00 Hello!
1:09 About wave function collapse
3:44 creating 3d land pieces
13:52 Godot resources
19:07 proc gen loop code
21:14 adding default tiles
22:41 updating tile data and entropy
23:27 get compatible tiles
25:50 get next slot by entropy value
28:39 select a tile
29:32 render the tiles