logo80lv
Articlesclick_arrow
Professional Services
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
Order outsourcing
Advertiseplayer
profile_loginLogIn

Procedural Town Building Tool Created for Game

Pavel Valakh shows that drawing lines can be enough to make a whole city.

Building cities is usually a grand task requiring a lot of knowledge and resources, but what if I told you it can be much easier given the right tools? Game developer and senior technical artist Pavel Valakh has proven this fact with his procedural town generator that can make stylized houses, fields, and roads with a couple of strokes.

It's as simple as it sounds: just draw where you want your town elements to be, and the system will do everything for you. It can even make sheep!

To make it work, Valakh generated an irregular grid, built a graph, defined the data for it, and fed it into the Wave Function Collapse (WFC) algorithm. To make buildings bend, he calculates the local coordinates of each vertex inside the original cube bounds and then uses bi-linear interpolation to place them inside a new deformed cube on the grid. This and other information can be found on the creator's X/Twitter.

You might wonder if the system reads your mind to choose which type of structure to place, but Valakh says you'll have to choose it yourself when the generator is released in the city-building game he is working on.

The title is set on an enchanting island, but that's about all that's publically known about it. If you want to be the first to get the latest news, sign up for the newsletter.

As a big city builder lover, I'm looking forward to Valakh's game. If you're with me, check out his X/Twitter and join our 80 Level Talent platform and our Telegram channel, follow us on InstagramTwitter, and LinkedIn, where we share breakdowns, the latest news, awesome artworks, and more.

Join discussion

Comments 0

    You might also like

    We need your consent

    We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more