Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In the previous Getting Started section, we have created a single-player game and uploaded it to the Eagle 3D Streaming Control Panel. In this section we will play this game in two different devices.

Info

You can create a single-player game and upload it to the E3DS Control Panel by following the instructions at the URL below:

https://docs.eagle3dstreaming.com/wiki/upload-app-from-the-control-panel

Step 1. Open the streaming URL of your single-player game app on two different devices or in two browser windows.

Info

We have created a single-player game app. If you haven't created an app yet, you can access our streaming URL below:

https://connector.eagle3dstreaming.com/v5/demo/SinglePlayerDemo/default

Device 1

Device 1

image-20241208-124721.pngImage Added

image-20241208-124644.pngImage Added

Device 1

Device 2

image-20241208-015827.png

Step 2. Click the Play button when it appears.

Device 1

Device 1

image-20241208-124756.pngImage Added

image-20241208-124808.pngImage Added

Device 1

Device 2

image-20241208-015908.png

Step 3. The game is streaming as a single-player experience on all devices.

Info

When you start the game, you will notice that you are the only player moving around. There are no other players visible in the environment. This indicates that the game is a single-player experience, and no players can see or communicate with each other.

In such cases, the game operates independently on each device without any shared interaction or data exchange, as there is no server connecting the players.

Player 1

Player 2

image-20241208-124911.pngImage Added

image-20241208-124925.pngImage Added

Player 1

Player 2

image-20241208-020011.png

In the video below, we have demonstrated the same game streaming as a single-player experience from three different devices.

https://youtu.be/q8NeNcICWso

We can see that there is only one player in each window or device, which means it is a single-player game, and communication with other players is not possible using this game.

Now what is the solution?

Answer : The solution is to introduce a medium that connects players and enables communication between them. This medium is called a server. A server acts as a central hub, allowing players to interact, exchange data, and synchronize actions in real time.

In the flow diagram below, we can see that a total of n players are connected to the server. Each player represents a separate device. The server acts as a central hub, enabling all connected devices to communicate with each other and share real-time data. This setup ensures seamless interaction and synchronization among players in a multiplayer environment.

image-20241204-143818.png

In the next section we will guide you how to set up a sever for multiplayer.


💬 Ask questions and help your peers Community Forum

📄 Need help? Contact Support

 

Facebook | GitHub | LinkedIn | YouTube