Hello everyone I am really new to scripting and I need some help. How would I go about making a racing game that is randomly generated, also once one player gets to the end they win and a new map is made.
I am trying to make a game where there is a wave following you and you have to race against your friends to the end. I have all the obstacles made I just don’t know how to script it all together. Any help would be much appreciated.
You can do that making several blocks of track and then connecting them together randomly. Have you ever played Subway Surfers? Copy them. That’s the easiest way possible.
The other way is to use place everything relying on values, but without using any prebuilt models. The map will be much more unique and better looking. You’ll need to make algorithms to create road path, place decorations around it, you can even make different regions for different road types and environments.
Your best friends in this will be math.random and perlin noise.
Thanks, I have played subway surfacers before. I think I am understanding what you mean I was wondering how would I make the game end when one player gets to the end.
As soon as player ends the game, you can make him spectate other players. When everyone finishes (or you add a timeout so it doesn’t take forever to wait for some players) you generate new map.