Hello,
I would like to give a brief story about how creating multiplayer in unity was.
I was seriously scared to death and feared coding multiplayer because of some things i’ve read around the forum!But for my game I had to tackle it at some point,so about a week ago i started my work.Watched some tutorials,read some tutorials,examined many networking examples and by far the best solution was me to use smart fox 2x.
I went into it with a positive attitude but still focused on the goal.A little tip is networking is one of those things that if you try and don’t succeed go do something else for a few minutes,hours,maybe even days,whatever it is if your struggling then its best to get the problem off your mind.I had to do it multiple times.
It took me a few days to get a good stable code working.I messed with how to make it work and finally got lucky and had success.There are a lot of other variables outside of unity you have to know to make multiplayer work.For example : port forwarding(if behind a router),firmilar with your fire wall,udp and tcp allowing,the difference in an internal and external ip,and a decent amount more.
I did finally get smart fox 1x working.Then i moved to smart fox 2x.At first 2x was complicated and hard to understand but after someone told me wrong i realized it was them that steered me wrong and it was easier to work with then 1x.Far more advanced and makes the work flow of multiplayer so much smoother.
We cant forget the great work all kinds of wonderful people have done to make unity how it is.
I would like to say kudo’s to Unity Development Team,Coders,Tutorial Makers,And all that have made unity the great engine it is today.
Im now editing lobbies,rooms,user lists,chats,and all kinds of fun graphics!
I hope my story has inspired you to make a multiplayer game.Im available just about any time and i will be more than happy to help you with your multiplayer issues.It is not as scary as some people make it sound.But then again maybe im just smarter than i give myself credit for!Lol.
Youll never know how easy it will be for you until you try it.Let me know if you need help.
I feel as if i could right a huge tutorial explaining it all in detail to help the ones in the dark out a little.Im not a powerful light but ill try and shine some light on your issues!