I’m nearly finished with the multiplayer as of now you can open a dish as a multiplayer if you are logged in your name will be used if not you will be prompted to enter a name. After that you get to see you code with which you can invite people.
People who want to join have to enter this code and will be able to join. When they join you will be prompted to allow them to enter or don’t allow them you can also mute them or set them to only view. If you let them join they are able to edit your dish with you you will see changes live and be able to chat with them in the chat (which still has some bugs). You can also manage all joined users you can:
kick them
mute them
set them to view only
This all is done using Sockets so that everything is live.
I also fixed some bugs with the border of the pixelated elements.
I sometimes found it hard to imagine how the join / create multiplayer flow works but that is finally behind me,
Something that was annoying was that I had to write 14 functions for each action that can be taken and what to do when someone else does this action.
This time there are a lot of images because there is quite a bit new stuff.