Rather than build every ship, plant or creature by hand, the developers of No Man’s Sky created an engine that randomly (within specified boundaries) creates the world for them.
Ream pulls up a blue-ish menu with lines of code written across the screen and quickly clicks across it to pull up a very specific menu within their engine. Before I know it, he’s selected an option for trees and I’m staring at one. There’s a blueprint for a fairly standard-looking tree off on the right. He clicks a button that says “view variants.” Dozens of new trees—of different shapes, sizes, and colors—pop up on the left.
“This is our toolset,” Murray says as we scroll through the trees. “We built our own engine. It’s super crappy, but it’s kind of like Unity or something like that. We’ve written it all around procedural generation. And that’s kind of what we spent the first year, when it was just four of us, what we spent our time doing. And then the last month before the VGXs we built the trailer using that.”
We go through a few other objects that are procedurally generated in the game. Rhinos, space ships. Ream clicks “view variants” on all of them. And then he keeps clicking them and, sure enough, new variants keep showing up.
“You’re building a blueprint,” Murray said. “And that’s true of everything in the game. So say one of our artists will build something and that will take say a week. But what they get from that is every possible variant of that. So if you build a cat, you also get a lion and a tiger and a panther and things that you’ve never seen—kind of mutations beyond that.”
“Why we’re doing it is because it’s interesting to us. My attitude has been, ‘Let’s just do something crazy and go bankrupt doing it.’ That’s what I’ve always said. But I don’t wanna just make games at the same scale as Joe Danger and still be doing that in 10 years. I just want to try one big thing. So that was the attitude and that was really freeing. As a genuine thing, not like we went into it like, ‘Sure! We’ll try this and this with the mindset of and it will probably go horribly wrong but we’ll go out with a bang,’ which we still might.”
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.