What is the easiest way to create mobile online multiplayer?
Hi guys !
I need help with my game,I have been created a mobile multiplayer game using blueprints such like this:
every thing work perfectly on mobile devices when you don't check "Enable google play support" (I try on Android) and perfectly on PC and work between mobile device and PC also in "DefaultEngine" file I put:
Every thing like supposed to be... I thought if this functions in online section and work locally the game need to work online with other networks (not the same WI-FI connections) I was wrong...and now the game almost done and have local multiplayer but not online multiplayer.
So my question is if I also have created big game that work perfect locally but not online what I suppose to do (the game almost done I don't want to start from the beginning/recreate my game)? its mean that now I need to start from the beginning/recreate my game or maybe I have not so radical way ?
By the way I understand that need to be server that communicate with 2 devices in my case I have 1 VS 1 card game, I try some ways like:
1)GameSparks in this option I don't Have tutorials or documentation about how to join session or find sessions and etc... I download their "Tetris" game but its don't enough explain what I need to change.
2)Photon its C++ scripting and my game used 100% blueprints so the integration of their code can't help me (only if its possible use some blueprint stuff and then connect it with C++ code).
3)VaRest I think its the best way to create online game with server by using JSON but the problem is that I don't know how to use it with sessions and another time there are not so many documentation about it.
4)Dedicated server I think it's option for PC(I try it with the source from Github) but don't know if it's supported for mobile platforms even if yes please tell me how to activate it automatically in the opening of the app.
If someone have another way or easier way to create not only local game that mean create online game please help me and if someone know how can I minimize the recreation of my game (don't delete session blocks/blueprints like in the picture) it's will be very helpful !
Many thanks for all who help !!!
(I ask the same on UE4 AnswerHub but nobody give me answer )
Unreal network is cross platform, you can connect a mobile device to a PC dedicated server with no issue, that's what my actual project does.
You can even connect to a game hosted by a mobile device with a PC.
"if yes please tell me how to activate it automatically in the opening of the app."
I don't understand what you mean by "activate". You mean automatically join a server IP without using an UMG menu?