Casually Explained: Evolution IV – Hello Universe

published on July 20, 2020

All right so having been a dev for a good min or two I thought it'd make a tutorial to help you guys trade the most basic simulation and just of course known as hello universe its program obvious isn't too complex but it's got everything you need to be able to

Integrate yourself and play from the planet Earth as the human player type okay so I'm gonna be using Google's online development simulator for most of the project because it has a user interface and Google pretty much owns me

But feel free to use your simulator of choice okay so go to new file and we'll name it hello universe and it'll ask us for the game speed it's just how quickly players experience the passage of time in your simulation

I'm gonna base this on the speed of light it doesn't really matter what you choose it just usually prefer to code and see so the first thing we have to do is import all our planets stars galaxies and all the characters so make sure

You've downloaded the asset library most the universe is going to be empty so storage won't be a problem it's one of a call it space so most things in the universe are procedurally generated by the computer over millions of years but

When someone integrates into your simulation you have to designate who they're gonna play us some devs like to make the playable characters in their own image but you saw most developers look like you know how bad my dear that

Is so I like to design a joke character the players might like but nature would of course never allow yeah just just import that now when you do more complex simulations you can enable life for as many planets as you want but for hello

Universe Earth is the only planet with life on it the players will probably never find out so don't worry about that they're also some other settings you can change for Earth individually a number of players for hello universe the only

Real player is you all the other players are simulated difficulty this is just how hard it is for you to get through the day yeah okay now keep in mind that simulations tend to run pretty processor heavy you might have heard the

Programming quip you need more than one thread to make the fabric of space and time like most Phoenicia interest jokes I don't find it funny but I at least understand it simulations use fewer

Resources the longer they go on for but if you a lot of them running simultaneously you can free up some resources by deleting some of the older players okay so next are the universe settings and we have map size how big

You want the observable simulation to be when players go in the bigger you make this the harder will be for them to find your mistakes number of perceivable dimensions leaves us at four not much point doing tutorial and five

Dimensional simulations because you'd already know what that looks like and bit rate 300,000 kilometers a second okay so that's the primary programming done so go ahead and compile that alright no errors that's unusual and all

Right we're good to launch but before we do it's critical that you scrub through the timeline check for bugs before publishing a lot of new devs have a hard time telling the difference between a bug and poor designs so I thought I'd go

Through a few of the most frequently asked questions I get my stars are collapsing after billions of years yeah this is a bug we don't have a solution so we just make them invisible and call it a feature what happens if the players

Discover the source code this almost never happens but I don't worry about it because most of my code is almost completely unintelligible anyway what happens when the simulation is over you get a screen to choose your payment

Method and you can see the high scores okay so let's get back to our program go ahead and hit run and it's as easy as that just remember you can't patch the simulation once it started so no

Interaction is possible from outside the program but you can always integrate yourself and go through as a player keep in mind that millions of years of game timer process in just a few seconds so if you choose a later point in time to

Integrate yourself you can actually build another simulation inside that simulation and another sim inside that one and so on and so on I think that's called inscription or encryption or recursion or might just be a nested loop

It's not really my field anyway that's more than you worry about right now so congratulations on creating the hello universe simulation give yourself a pat on the back and feel free to take a hard-earned day of rest

So today's video is sponsored by audible and I was gonna suggest using this free book credit at audiblecom slash explained for something a bit more on topic but I actually just saw the movie it and I've been really wanting to read

The book until I realize the you'll float to tagline it's because the books the size of an aircraft carrier so I went on audiblecom slash explained sign up for my own 30 day free trial because I've never used audible before and got

45 hours of book for free that I don't have to carry around so now I can mathematically survive up to two day road chips and I can walk anywhere or ride the bus without having to talk to someone but someone is still talking to

Me so again if you'd like to take advantage of that you can sign up for a free 30-day trial and a free book at audiblecom slash explained where you can follow the link in the description

you

Related Videos

hey guys techrax here coming at you guys with another giveaway this is gonna be an iPhone 5s two of these brand new phones not the one in this video guys this i...
hey guy there's a popular game in the app store called flappy bird right now and it's supposedly really annoying believe it or not I haven't played ...
hey guys tech Rex here so right here with me I have an Apple iPhone 5s this is the gold one I also have with me some liquid nitrogen yes this is the real deal a...
hey guys techrax here right here I have the iPhone 5s with me this is the champagne or the gold color I still can't really figure out if it's champagne ...
hey guys tear cracks here so this video really exciting video I have the new Samsung Galaxy s5 for you guys this is the long-awaited cellular devices releases i...
everyone techrax here in this video I've got the latest Samsung Galaxy s5 right here as well as the Apple iPhone 5s and we're going to be doing a simple...
everyone techrax here in this video guys have a really exciting device this is the Samsung Galaxy s5 charcoal black and I'm really liking I after seeing the...
everyone techrax here here with me off the Samsung Galaxy s5 this is a perfectly fine s5 it is cracked from the drop test that I had with also one minor neck as...
hey guys tetrax here so in this video I'm going to try and burn the newly released Samsung Galaxy s5 this is the shimmering white 16 gigabyte model and if y...
everyone techrax here so I got my burn Samsung Galaxy s5 and I wanted to see whether the heartbeat sensor would still work the heart monitor on your galaxy s5 a...
hey guys Tech Rex here so I'm really excited to bring you guys a giveaway for my channel but this time I'm actually teaming up with a buddy of mine your...
hey guys techrax here so in this video I'm going to be hopefully instructing you guys how to make your very own a tech sandwich slash burger slash meal so y...
hey guys techrax here so I've got a galaxy s5 here this is the copper gold hopefully you guys can see pretty well it is sunset so it's getting a little ...
hey guys techrax here so right here with me I have a professional deep fryer in here is already some canola or corn or whatever oil I don't know vegetable o...
hey guys techrax here so just trying to make this video short and quick i'm having recently i got five hundred thousand subscribers and yeah most of you guy...
hey guys texture so in this video I have a drop test on the latest LG g3 device now this is actually the gold-coloured LG g3 this has not been released in the U...
hey guys techrax here so in this video we'll teach you guys how to make your iPhone indestructible this is essentially a case that's been around for yea...
hey guys techrax here soon in this video we had a train run over the iPhone 5s so we actually did this in two different instances initially we had a Space Gray ...
hey guys tech cracks here so in this video we're going to be dropped testing the newly released Amazon fire phone this is exclusive for AT&T and I belie...
hey guys techrax here so right here with me I have the Amazon fire phone this is the one I dropped and you know I thought what better what else do I do with thi...