The problem is you're picking a random spawn point out of the total number, it has nothing to do with joining at the same time.
What you need to do is remove the used spawn points from the equation so they can't be selected. It would be considered bad practice to simply set a boolean flag because if you generate a random number again after the first one failed you could land on the same occupied spawn point. Which means, there's technically a chance for the code to make an infinite amount of attempts if it happened to roll the same occupied numbers over and over again. Or, if all spawn points were occupied it would gurantee to loop for ever, breaking the game.
Finally, you probably don't want those spawn points destroyed, I'd imagine you'll need them again unless you spawn once and only once and no other players can join after 4 players have even if one leaves.
I only watched the first minute or so but at the start of the video he says it's done by getting terrain height data that's freely available from NASA. Therefore, you could just use that same data in unity to set the height of vertices of a plane, in the same way you'd use layered noise to create the height of a procedurally generated world.
Just find out what form the height data comes in, write a method to convert it into a normalized array of height points and then set the height of your vertices based on the points.
I find it very very easy to work on my game because I enjoy doing it. I need motivation to make videos about it, or do art or animations and stuff like that, but doing the programming is something I actually want to be doing because I love it.
I didn't always feel this way, I have a programming background and I had a hard time getting into Unity because I had to first understand the engines nuance, I couldn't just sit and write code because I had to look up things constantly. Once I got past that stage and I could just sit and work on my game even with no internet connection the feeling of enjoying it returned and now I work on it constantly.
I promise you can't feel the same way following Youtube tutorials because we are all excited about the results but if you can find a way to make yourself excited about the work then that's the trick to being productive, at least for me. Once you find some success doing that, I find it starts to motivate you to do the work you don't want to do.
Yeah just like me and my own game, that second paragraph describes me exactly. I just looked your game up and it looks sweet, seems like you and I like the same things.
I don't think I've got a single real person to look at something I posted on twitter. I use all these game dev hashtags and they automatically get liked and shared by bots but if I look at the analytics I don't think it's ever resulted in a single link click. Just my experience, but it seems way easier to get organic attention on other platforms.
I liked speed running in the old days before patches existed, now adays developers can just push a fix for the bizarro bug that teleports you through the level if you jump at the right time. I don't think I can understand the mindset of someone that makes speed running their life goal but it is pretty entertaining seeing developers react.
I'm making a roguelike RPG on the foundation of overly complex systems, A.I. and procedural generation, in the same vein as Dwarf Fortress (the complexity not the gameplay)
I thought love creep was when you started to enjoy your own game more and more causing your time testing it to expand more and more until it almost completely encapsulates the time you were meant to spend developing it.
If marketing today comes down to a tweet from someone, don't you think it'd be cheaper to just pay for an influencer to mention you rather than working with a publisher and potentially causing all sorts of issue? Just my thoughts, I haven't shipped something yet but this is a concern of mine too.
The problem is you're picking a random spawn point out of the total number, it has nothing to do with joining at the same time.
What you need to do is remove the used spawn points from the equation so they can't be selected. It would be considered bad practice to simply set a boolean flag because if you generate a random number again after the first one failed you could land on the same occupied spawn point. Which means, there's technically a chance for the code to make an infinite amount of attempts if it happened to roll the same occupied numbers over and over again. Or, if all spawn points were occupied it would gurantee to loop for ever, breaking the game.
Finally, you probably don't want those spawn points destroyed, I'd imagine you'll need them again unless you spawn once and only once and no other players can join after 4 players have even if one leaves.
Yes, the solution to all game development problems is the same as the solution to all hacker rank problems; HashMaps
Art without a doubt, if I could just sit and write code I'd be happy as a clam
There's a full video about it too, if you're interested: https://youtu.be/5B5XUueG_BE
I only watched the first minute or so but at the start of the video he says it's done by getting terrain height data that's freely available from NASA. Therefore, you could just use that same data in unity to set the height of vertices of a plane, in the same way you'd use layered noise to create the height of a procedurally generated world.
Just find out what form the height data comes in, write a method to convert it into a normalized array of height points and then set the height of your vertices based on the points.
Unity
Here's a great explanation: https://youtu.be/Y0Ko0kvwfgA
Full video on the subject here, if you're interested: https://youtu.be/lGzCfAHIeBM
I find it very very easy to work on my game because I enjoy doing it. I need motivation to make videos about it, or do art or animations and stuff like that, but doing the programming is something I actually want to be doing because I love it.
I didn't always feel this way, I have a programming background and I had a hard time getting into Unity because I had to first understand the engines nuance, I couldn't just sit and write code because I had to look up things constantly. Once I got past that stage and I could just sit and work on my game even with no internet connection the feeling of enjoying it returned and now I work on it constantly.
I promise you can't feel the same way following Youtube tutorials because we are all excited about the results but if you can find a way to make yourself excited about the work then that's the trick to being productive, at least for me. Once you find some success doing that, I find it starts to motivate you to do the work you don't want to do.
If I could recommend a book I consider a mandatory read for any programmer it's "Clean Code" by Robert C. Martin
I'm in the process of attempting this exact thing, my game is inspired by Dwarf Fortress
My personal opinion is that ants using human technology would not interest me
There's a full video breakdown too, if you're interested: https://youtu.be/zmG4JfutaJg
Yes
Full video if you're curious: https://youtu.be/dNKY3E8qcLI
Hey thanks man, that's just what I needed.
Yeah just like me and my own game, that second paragraph describes me exactly. I just looked your game up and it looks sweet, seems like you and I like the same things.
I don't think I've got a single real person to look at something I posted on twitter. I use all these game dev hashtags and they automatically get liked and shared by bots but if I look at the analytics I don't think it's ever resulted in a single link click. Just my experience, but it seems way easier to get organic attention on other platforms.
I don't like point 3 because it devolves to players just google searching answers.
Full video here: https://youtu.be/9Sd1NUL_pFg
I liked speed running in the old days before patches existed, now adays developers can just push a fix for the bizarro bug that teleports you through the level if you jump at the right time. I don't think I can understand the mindset of someone that makes speed running their life goal but it is pretty entertaining seeing developers react.
I'm making a roguelike RPG on the foundation of overly complex systems, A.I. and procedural generation, in the same vein as Dwarf Fortress (the complexity not the gameplay)
Check out what I did this last week: https://youtu.be/9Sd1NUL_pFg
I thought love creep was when you started to enjoy your own game more and more causing your time testing it to expand more and more until it almost completely encapsulates the time you were meant to spend developing it.
Yeah I definitely agree, if your game is good it will spread, but you need that first group of people to know about it for that to happen
If marketing today comes down to a tweet from someone, don't you think it'd be cheaper to just pay for an influencer to mention you rather than working with a publisher and potentially causing all sorts of issue? Just my thoughts, I haven't shipped something yet but this is a concern of mine too.