How does procedural generation work? | Bitwise

381,262
0
Published 2020-01-29
I'm a professional programmer who works on games, web and VR/AR applications. With my videos I like to share the wonderful world of programming with everyone!


How do games such as the Binding of Isaac generate its dungeons? How do games like Terraria, Minecraft and No Man's Sky generate their enormous worlds? In this video we'll discuss how random generation and procedural generation works.

Music in in outro:
Besus y Abrazor - Rolemusic: freemusicarchive.org/music/Rolemusic available under a Creative Commons Attribution license creativecommons.org/licenses/by/4.0/

All Comments (21)
  • @DigiDigger
    I'm back with a new video! Thank you all so much for your support watching these videos, you reinvigorated my love for making videos! :) More video's will follow: we're back in action!
  • @MPSpecial
    “In the future, entertainment will be procedurally generated”
  • @pandaengine
    I was calling my dungeon generation procedural, but it was actually random. Thanks for enlightening me!
  • @EarlHare
    wow, now I understand how no man's sky has certain bugs with regards to base building and terrain interaction. Somtimes you would build a base , where you've carved out terrain and such and then next time you loaded the game the terrain has seemingly returned except it's now inside your base. It must have something to do with the order in which the base modules and terrain edits are loaded in whilst the map is being generated. Shame they've never managed to fix it though.
  • @HumansOfVR
    digi you barely made the January 2020 deadline! really glad to see a video after 2 years
  • @PekaCheeki
    "you use a random seed generator to randomly select the number in a sequence" "ok so how do you randomly generate a seed?" random number generator used to randomly generate a seed: sweating
  • @ralseithelonely
    Welp. That worked. *Throws the Necronomicon away * Another channel back from the dead.
  • @sanicpl1499
    i was avoiding this video, dismissing it as another one of those mundane tutorials on youtube that takes forever to explain a simple point. But i was wrong. You, my beautiful man, Have got me hooked on this content. Seeing as i always wanted to try and become a programmer or developer of sorts in my future, This is fascinating on how all of this actually works! Keep up the amazing work and i wish you only the best!
  • Super cool to see this channel revival, The content here is top notch my dude!
  • @DilkielGaming
    wtf man, its been 2 years, i subbed a few months ago and loved your explanation of portal and terraria. i was gutted to see that you havnt uploaded in 2 whole years! thought you died, im glad youre back, im looking forward to loads more content from you!
  • @RoyRogerer
    Recently found the channel and was super happy, until I thought it was abandoned. Seriously, your channel explains this in the most comprehensive way for people who have no clue. Also loved the critique videos, because it doesn't just gloss over what one feels as a player, but actually breaks it down into classic design theory. Keep it coming!
  • @hene193
    Oh all the visualizations are so great! Thank you so much!!
  • @tykzerhd3717
    You returned! I discovered your channel by your portal video, keep it up man!
  • @XxXKobalXxX
    I've been trying to understand Procedural Generation for so long now, and you managed to explain it perfectly in one entertaining 13 minute video. I'm absolutely stunned. THANK YOU!
  • @MacroPixel
    I’m glad to see more content from this channel; you somehow manage to always make a video on some game-development-related topic that I’ve wondered about for a while :)
  • @rdasher7747
    I saw your video on terraria in my recommendations today, watched it and really liked it. The comments said this was a dead channel, so I got a bit bummed out then saw that you had a video posted 6 days ago. After a two year gap...
  • @JC-jz6rx
    I clicked so fast just so YouTube could get off its ass and hopefully recommend this.
  • @perlinfall
    Fantastic video! I’m glad I discovered your channel a month ago instead of 2 years ago!
  • @originalnick473
    Please do not stop creating these videos. You help and motivate a lot of people. I am new to programming, just started with C#, and the motivation that I got from these videos is insane. The fact that you can create infinite universes and all that good stuff is driving me crazy. I really just want to say thank you , thanks a lot