Hurrdurr @devhurrdurr.bsky.social · 21/07/2026The numbers I picked suck, my brain was still waking up 😂 ((x * 16777619) ^ (y * 2654435761)) % variant_count This should shuffle things better and the XOR instead of the addition should help too 110
Balmut @balmut.bsky.social · 21/07/2026I couldnt get it to work with the XOR, but with + and using it for both the x and y (because tilesets) I was able to get it working quite nicely. I'm not sure if it's better than the random I still need a random roll for if to use a variant or not so I still have to do it in a second grid repeat 1/2 110
Balmut @balmut.bsky.social · 21/07/2026Another thing I might try is doing another attempt at the Spelunky method of having pre-defined layouts with rng on some tiles. I wish there was a way of doing it without having to cycle through the grid to update. (amazing tutorial/explanation if you're interested! tinysubversions.com/spelunkyGen/)tinysubversions.comSpelunky Generator Lessons 010