An Inside Look at the System Behind No Man's Sky, Minecraft, Elite: Dangerous, and more!
technology·@voltarius·
0.000 HBDAn Inside Look at the System Behind No Man's Sky, Minecraft, Elite: Dangerous, and more!
<html> <p><center><img src="https://ipfs.pics/ipfs/QmX1BRU41BQYzsZ77KoksDzZ83Aa99Jd4fJLnounwR9b3R" width="627" height="353"/></center></p> <p><center><strong>(</strong><a href="https://www.playstation.com/en-us/games/no-mans-sky-ps4/"><strong>Image Source</strong></a><strong>)</strong></center></p> <p><br></p> <h1><center><strong>What do </strong><em><strong>Minecraft</strong></em><strong>, </strong><em><strong>Elite: Dangerous</strong></em><strong>, </strong><em><strong>No Man's Sky</strong></em><strong>, </strong><em><strong>Diablo I and II</strong></em><strong>, and many other games have in common?</strong></center></h1> <p><br></p> <p>A phrase often heard in the gaming and computer world, but not often very well explained or elaborated on; <em>procedural generation</em>.</p> <p><br></p> <p>You can find loads of games on consoles and PC alike that claim to use this in their game, but what is it? For a lot of us, it feels like procedural generation is a claim made by developers to say that your gaming experience will be different throughout your gameplay, and somehow, magically, the content, loot, or levels of the game consistently change.</p> <p><br></p> <p><br></p> <h1><center>What <em>is</em> procedural generation?</center></h1> <p><br></p> <p>There are two simple explanations I found online researching this, that I found quite enjoyable and simple. The first is that, rather than the developers of a game <em>manually</em> inputting content, they do it <em>algorithmically</em>, meaning they don't physically code in every little piece of the game's environment, loot, content, etc.. The second explanation ties into the first to explain it more plainly; essentially the game developers, rather than coding themselves what could take years or more to creat such an elaborate wealth of content, they <em>create an AI to do it for them. </em>(<a href="http://gamedev.stackexchange.com/questions/756/what-is-procedural-generation-and-how-is-it-done">Source</a>)</p> <p><br></p> <p>Essentially, the programmers create an algorithm, give it a set list of commands to obey in order for the creations to fall in line with the desired outcome, and then let it run wild, producing huge amounts of whatever the developers want, be it environments, different types of loot in an RPG, or even audible sound effects.</p> <p><br></p> <p><br></p> <p><center><img src="https://ipfs.pics/ipfs/QmaRYfsobAez5pua4tNvcEFzEyQ3CAc4xpFFcpLgnxjnxu" width="1067" height="600"/></center></p> <p><center><strong>(</strong><a href="http://ontabs.com/en/games/game-android/android-kids/1318-minecraft-pocket-edition-3d-polnaya-versiya.html"><strong>Image Source</strong></a><strong>)</strong></center></p> <p><br></p> <p><br></p> <h1><center><strong>Why do developers use procedural generation?</strong></center></h1> <p><br></p> <p>There are a number of reasons it's used, probably more than I could name, seeing as I'm not a programmer myself, but I'll give you the core reasons:</p> <p><br></p> <h2>Saves Time</h2> <p>Creating an algorithm to write a huge amount of programming for you that follows specific rules and behaviors is <em>much</em> less time-consuming than writing it all manually. To give an example of this, the recently released PC game <em>No Man's Sky</em> offers <a href="https://en.wikipedia.org/wiki/No_Man%27s_Sky">over 18 quintillion planets</a> (that's 18,000,000,000,000,000,000+, in case you were wondering) for players to explore and fight on. <em>No Man's Sky</em> relies heavily on the procedural generation of planets, moons, and star systems, because if you wanted to create that amount of content by hand, you'd probably need <em>several hundred or several thousand developers, all working several life-times over</em>. And that notion is pretty preposterous, considering the ending product wouldn't fit on a modern-day hard-drive, even if you could pull it off.</p> <p><br></p> <h2>Increases Replayability</h2> <p>For any game relying on procedural generation for its maps, dungeons, loot, etc., typically the intent behind it is to create a game in which players can have a new experience every time they play, thus creating replayability. Were they not to use procedural generation, players would have significantly less to experience in the game. For example, players in the game <em>Minecraft</em> can choose to generate an entirely new world every time they play, complete with its own biomes, environmental structures, and randomly generated villages. Games using randomly generated content in this way ensure that players will have undoubtedly different experiences each time they play, if they choose to.</p> <p><br></p> <h2>Conserves Space</h2> <p>Relying on procedural generation also can help reduce the game's file size, since for games like <em>No Man's Sky</em> you don't need or want to download the entire 18+ quintillion planet universe onto your hard drive. I'm not quite sure how much data space you'd need for something like that, but I'd assume it's probably close to the equivalent of every hard drive on planet Earth, or more. In other words, your beloved PC or console only holds the information for planets you've actually discovered and been to, rather than the entire universe at once.</p> <p><br></p> <p><br></p> <h1><center>What can you create with procedural generation?</center></h1> <p><br></p> <p>A simple answer, would be pretty much anything. You can create game environments and loot as mentioned above, or even images, videos, and sound files. Something really unexpected and cool I found is <a href="http://project.laboiteatortue.com/endlessdance/goldenmetamorphosis/#/"><em>Aurea Metamorphosis</em></a> which is a script on a website that uses procedural generation to constantly create unique flowers (how cool is that?). If you click the link attached to the name, you can see for yourself (and try not to be hypnotized, it's pretty mesmerizing). I'll link some pictures below of flowers the site has create for me, just to satisfy any possible curiosity:</p> <p><br></p> <p><br></p> <p><center><img src="https://ipfs.pics/ipfs/QmeVcosGuYz2P6t5oyu81aE7sXRHbukDg7ZqBbXZg8Wo4z" width="679" height="617"/></center></p> <p><br></p> <p><center><img src="https://ipfs.pics/ipfs/QmXNR9hNtWqwMF2114Y5os5FWd68DgAG6bK2RcobwG2HYm" width="677" height="618"/></center></p> <p><br></p> <p><center><img src="https://ipfs.pics/ipfs/Qmb6B44EQSkTv7Rv246dokQByzmnhkxQwp7S2uNZruNhQs" width="631" height="625"/></center></p> <p><br></p> <p><br></p> <p><br></p> <p><br></p> <p><br></p> <p><br></p> <p><br></p> <p><br></p> <p><center><em><strong>Thanks for reading and learning with me! For more interesting content, be sure to follow me @voltarius!</strong></em></center></p> <p><center><a href="https://steemit.com/@voltarius" target="_blank"><img alt="" border="0"src="http://i.imgur.com/YSt1Mis.gif" /></a></center></p> <p><br></p> <p><br></p> </html>
👍 voltarius, boddhisattva, meesterboom, imag1ne, freeranger, bertrandlarsy, thecryptofiend, andu, trev, terrano, andrew0, shenanigator, prufarchy, keyser, luisucv34, hanshotfirst, the-alien, sauravrungta, berniesanders, nextgencrypto, justin, steemservices, nextgenwitness, comeup, silver, murh, silversteem, thecurator, acidyo, steemservices1, quantumanomaly, bentley, royaltiffany, sykochica, masonmiler, brianphobos, spartanza, the-future, mikemacintire, hopestone, rutheniumjuice, pixielolz,