Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

wow, how did you manage to make such an optimized WFC? 500 by 300 should take at least 30 minutes to complete.

(1 edit)

I tried to pre-bake as much as I could so lots of references are calculated on startup such as the rules, so that all states are put into dictionary's which return the possibility's, the tiles themselves are all stored in hashsets. Its faster as an exe too.

(+1)

I never thought about pre-calculating possibilities and storing them for later use. This is a great optimization technique that I'll definitely keep in mind for future projects. tks bro