Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Complete game on a server

Discussion in 'Multiplayer' started by IbrahimNaveed, Oct 21, 2019.

  1. IbrahimNaveed

    IbrahimNaveed

    Joined:
    Oct 4, 2019
    Posts:
    8
    Hello every one.
    I am trying to build a game and place the complete game on a server. It will be a multiplayer game but I have no idea how to start.

    What I want to achieve is a server like Facebook games where games are available on server of Facebook users just login in Facebook and play games.
    Please help.
    Thanks in advance.
     
  2. Tiny-Tree

    Tiny-Tree

    Joined:
    Dec 26, 2012
    Posts:
    1,314
    smartfox server have some documentation and tutorial with this kind of games covered
     
    g_a_p and IbrahimNaveed like this.
  3. IbrahimNaveed

    IbrahimNaveed

    Joined:
    Oct 4, 2019
    Posts:
    8
    Thank you sir for your reply but do I have to purchase it first? Or is there a free version available.
    Also if there is no free version please suggest an alternative. Is there any other way?
     
  4. MrsPiggy

    MrsPiggy

    Joined:
    Jun 13, 2018
    Posts:
    154
    Yes you can get SmartFox for free from their website. It has a free 100 ccu license: www.smartfoxserver.com
    They also have lots of examples to get started at their doc website: docs2x.smartfoxserver.com
     
  5. IbrahimNaveed

    IbrahimNaveed

    Joined:
    Oct 4, 2019
    Posts:
    8
    Thank you for your quick reply but let me add some more information to it.
    My game will be for mobile devices.
    I want to build server through unity (I dont want to use flash and all that.)
    Can you guide me about it. From where I can start that.
    I am studying smart fox from 2 days now but no luck.
    Thanks in advance
     
  6. MrsPiggy

    MrsPiggy

    Joined:
    Jun 13, 2018
    Posts:
    154
  7. g_a_p

    g_a_p

    Joined:
    Mar 16, 2015
    Posts:
    279
    I think I can clarify a little. SmartFoxServer IS the server, in an "authoritative server" setup. You can then write your client in Unity, make it comunicate with the server and let the server relay your messages/actions/etc to other clients as needed.
    I strongly recommend to check our examples, which start from a simple connection to the server, up to a full realtime game: http://docs2x.smartfoxserver.com/ExamplesUnity/introduction