How do I create a local multiplayer?

How to create a multiplayer game without the Internet, where the first device will distribute an access point, and the second device will connect via Wi-Fi nearby. As you understand, the first device will create a room by type and will also play in it, and the second device will only connect to this room and naturally also play in it. Are there any ways to implement it, are there any free libraries for implementation in Solar 2D?

You can try this repo.

2 Likes

Didn’t know about this. Adding it to awesome-solar2d list. Thank you.

1 Like

О, спасибо за интересный список ресурсов для Solar2D !

1 Like

Glad you found it useful. If you have anything to add, please feel free to open a request. There are still many resources out there, I’m sure :slight_smile: .

1 Like

To create a local multiplayer game, choose a game engine like Unity or Unreal Engine. Use a networking framework, like Photon for Unity, to manage connections. Set up the game logic for independent player controls, then test it on multiple devices within the same network.