r/WatchPeopleCode • Streamer • Aug 08 '20

Coding From Scratch - Procedural City Builder

110 Upvotes

5 comments sorted by

10

u/ignotos Streamer Aug 08 '20 edited Aug 09 '20

Hey all!

In this stream I coded a simple procedural city building tool (or the foundations at least - pun intended, I'm not ashamed...). The user can draw regions of the city, and roads and buildings will be automatically generated to fill the space.

I used Java / Processing, and this involved a bit of rendering code, as well as various geometry and procedural generation-related logic.

The whole process was streamed at https://www.twitch.tv/straybasilisk, and the recording is here: https://www.twitch.tv/videos/704205718. You can also find the complete code linked in the description there.

I'm doing a new, self-contained project every Friday. The focus is on gamedev and graphics-related projects - open to suggestions for new challenges to attempt!

3

u/Lispomatic Aug 09 '20

So awesome!

1

u/ignotos Streamer Aug 09 '20

Thank you! Glad you enjoyed it

2

u/StateVsProps Aug 09 '20

Phenomenal. Thanks for sharing!

1

u/ignotos Streamer Aug 09 '20

My pleasure!