Generated Level Shared - Multiplayer

Hi Community,

I’m working on small and sample game it’s generating pretty much sample endless scene. Something like flappy bird or crossy road.
Right now i was thinking to implement multiplayer for that game. But i instantly asked my self how would i share generated level. I would use google play services and their realtime multiplayer since game is for android and i’m already using some of their features.

So for now i’m thinking about two things:

  1. Figure out how to share generated scene between two connected players
  2. Make players compete by passed distance , and just “ghosting” opponent player in “my” player scene. So i would then just show user how fast his opponent made in his own scene. So it wouldn’t need shared scene, eash player would have own generated scene, but they would see each other. It’s still competing, but less funny i think if they are not in same world.

What do you think?

When you generate procedural levels you almost always use some random variables. But as random is not really random you can simply share the Seed used for you random generation. The levels will then be generated “identical randomly”.

I see, that is nice stuff to know. I will try that idea. Thanks!