Is it possible to launch two instances of my game (on mac)? Probably I can make a fake different build of the same project… but there is some other way?
EDIT: I want to use the socket library to let the two instances talk to each other. Next step will be to use ssh to “tunnel” this communication on the internet. [I don’t understand nothing of socket or how to use ssh to this end, just a suggestion of a (very respected
) local guru.]
1 Like
This should work for build?
$ open -n -a path_to_app
1 Like
@selimanac Yes! Thanks!
Next Adventure: luasocket 
1 Like
Good luck! Why you want to use ssh? (just curious) Also how?
1 Like
@selimanac Let me add some words. I have a LOCAL multiplayer mode in my game. But I am alone at home (due to coronavirus restrictions), so I would like to implement an ONLINE multiplayer just to be able to test and fine tune the local multiplayer. So I need the simplest and bare solution.
Do you have any hint? Would it be simpler using Nakama? I really know nothing in all this, no experience at all…
1 Like
I must say; when you use word “online” this means it is never going to be easy or there is no simplest solution. Using Nakama or Colyseus require server setup. Nakama require db setup so Colyseus is much more simplest solution. Nakama is more advanced, Colyseus is much more simplified for starting point.
Edit: You can setup a simple server (maybe using python) and you can pass the data from client to another.
1 Like