123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|473|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Tubeage -> Video on Wave Function Collapse (procgen) (tonight)

Sun, 03 Jul 2022, 03:36
Pakz

Video on Wave Function Collapse(procgen)(tonight)


Later today the coding train is going to show how to make a Wave Function Collapse. This is a procedural generation technique that has been gaining ground the last couple of years.

It works afaik by. Having puzzle pieces of a image. Be it a level or a image or data. Each puzzle piece can fit on multiple other puzzle pieces. Say you have a road piece. Then a straight or go left or go right or crossing could fit on one of its edges.
This allows the routine to create random road networks. I think the auto tiling technique is a bit comparable.

The coding train is rather good at explaining algorithms. They wil use javascript afaik.


View on YouTube
Sun, 03 Jul 2022, 03:44
Jayenkai
I can't watch videos about coding. I find them very very difficult to stay focused on. After about 2 minutes of waffle, I'm ready to drift off and do something else. And if I bother to pay attention to anything beyond that, I'm not really listening any more, and am instead trying to work out what my next game might be, that could use the thing being described.

If it's written down, I can skip through, read little snippets, figure out the rest and then get on with it.

As for the technique itself, it's probably something that al of us have used at one point or another, but just don't know the name of it.
... Or is that just me!?

-=-=-
''Load, Next List!''
Sun, 03 Jul 2022, 04:14
Pakz
I do exercises during videos. I get motivated sometimes to code the thing I see in the video. Sometimes there are books that are recommended.

A lot of tutorials online are hard to read too. This wfc I spend a real long time looking at a lot of explanations until I was able to create something that does that thing. A couple of lines spoken on written can make the entire algorithm make sense. Maybe I wil hear if I made a mistake or new insights.


The wfc technique is maybe a evolution of older generation techniques. I think there are some resemblances with The way Spelunky creates its maps too.
Sun, 03 Jul 2022, 04:18
Jayenkai
Yeah, books I'm ok with. I can sit and read, and then later on hop back and forth to re-read the important bits.
Doing that with a video is a right pain in the arse!!

Either way, if you do manage to do something interesting with it, be sure to post the results

-=-=-
''Load, Next List!''