After 2 years developing with unity, I finally have a confidence to learn making a browser multiplayer game. And just found out about Photon. What I want to achieve is, simply, a 2d pvp game with hack n slash mechanism.
But as I never done any multiplayer programming before, I'm going to start small (4-8 players in a room).
It's already my third day learning and I kinda get to know how Multiplayer works.
Sadly when I try to build web player, it won't connect to the server. Standalone and editor is working properly, though.
I read in unity answers, that you need crossdomain.xml, but I host the example project in my github repo (http://johanesnw.github.io/) and don't know if crossdomain is applicable here.
So here are some questions:
- can I host the webplayer in github for development? (more like how can I connect webplayer to photon server)
- is there any limit of players inside a single room? in the end (as in gdd) we need about 10v10 - 20v20 teamfight.
- can I use PUN to achieve this? or should I use photon server?
Thank you.
But as I never done any multiplayer programming before, I'm going to start small (4-8 players in a room).
It's already my third day learning and I kinda get to know how Multiplayer works.
Sadly when I try to build web player, it won't connect to the server. Standalone and editor is working properly, though.
I read in unity answers, that you need crossdomain.xml, but I host the example project in my github repo (http://johanesnw.github.io/) and don't know if crossdomain is applicable here.
So here are some questions:
- can I host the webplayer in github for development? (more like how can I connect webplayer to photon server)
- is there any limit of players inside a single room? in the end (as in gdd) we need about 10v10 - 20v20 teamfight.
- can I use PUN to achieve this? or should I use photon server?
Thank you.