procedural generation
129 subscribers
5.33K photos
1.78K videos
7 files
11.3K links
Created by @r_channels
Download Telegram
Temple on a Hill (DLA trees + sine_wave mtns)
https://redd.it/134egy6
@proceduralgeneration
Building Procedural Dungeons with GPT-4 AI Descriptions...

I'm using basic BSP then A* to go door to door (stoner walk, friend of drunken walk), with some variations for hallways. (I asked ChatGPT to crap out some hallway generation code, and I got some looking like colons? lol...)

I've got three room types currently, and each can be further modified by cellular automata on the inside a certain percentage of the time.

I'm feeding that information (and what's in the room) to ChatGPT-turbo API and getting back descriptions for rooms with a bit of coherency.

My latest dev log...

​

https://reddit.com/link/134zlkj/video/g4r28ewyy9xa1/player

Possible level 1 generation...

https://preview.redd.it/lipthk61z9xa1.png?width=1621&format=png&auto=webp&v=enabled&s=5c575cfa7117fa60011aed49df19ff7acaf8ff29

Mid-level...

https://preview.redd.it/87r81203z9xa1.png?width=1621&format=png&auto=webp&v=enabled&s=070872320d52eb675315a6c65032fbf86d96db16

Oh, man, you've gone too deep!

​

https://preview.redd.it/mqp2j955z9xa1.png?width=1621&format=png&auto=webp&v=enabled&s=b3b905569ac27f818b1038702a956c7b07137fb7

Finally have line of sight and field of view working together...

​

https://reddit.com/link/134zlkj/video/scron6t7z9xa1/player

I'm not a full-time coder, and I'm definitely standing on the shoulders of giants who came before me, but I'm scratching the code together to build a truly endless dungeon.

​

I've got a unique game mechanic to hide my lack of artistic skills by using letter monsters haha... Seriously, though, the mobs will be AI generated too, I think. Not the stats part, but the names and descriptions likely...

https://preview.redd.it/tusmmxqgz9xa1.png?width=973&format=png&auto=webp&v=enabled&s=340e35267e68a1a6cd7658099e8cb65004d6aadc

Still a lot of work to do, but I'm porting over a lot of my work on a D&D tabletop dungeon generator, so it's going smoothy.

​

Feedback appreciated.

https://redd.it/134zlkj
@proceduralgeneration