Hello, everyone!
Recently I've read a lot about how multiplayer works and have created my own script based on some videos I watched.
I got a functional peer-to-peer connection, and their controls work fine. Since I want to make a game for 4 player, I tryied connecting more peers in the room. Connection worked, although the player instance of the 2º peer wasn't created.
I made some adaptations and I the player instance of the 2º peer was being created, but when the 2º peer joined the room, the controls of the 1º peer stopped working. After hours trying to figure out how to make both controls work, I decided to try using different sprites objects for different players. Host works fine, but the peer controls doesnt.
This is my capx where I'm trying to solve this problem (it's a bit messy, sorry):
multiplayer.capx
I really would love to connect 4 players on the game I'm developing. I want to play it with some friends.
It would be really nice if you send me some tips or a capx that makes more than one peer connection with functional controls. I'm sure someone has already done that. If it wasnt possible, it would make no sense having a maximum peer setup.
Thanks a lot, my friends!