Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

User Login?

Discussion in 'Multiplayer' started by alexskiing, Feb 2, 2008.

  1. alexskiing

    alexskiing

    Joined:
    Dec 15, 2007
    Posts:
    11
    Hi,
    Does anyone know how mark has accomplished the user login for the game "Splume"? See this post for more info http://forum.unity3d.com/viewtopic.php?t=7302&highlight=user+login
    I was wondering if anyone had any tips on getting started on writing my own login system. Or if someone is willing to share on that they have already made, thats even better.

    Thanks
     
  2. JeroenVO

    JeroenVO

    Joined:
    Aug 10, 2007
    Posts:
    52
    I had to make a login system a little while ago, and it is pretty easy to accomplish. My setup involved a mySQL database, and a little PHP scripting. Just use the WWW class in Unity to talk to PHP, and you are set.
     
  3. Foxxis

    Foxxis

    Joined:
    Jun 27, 2006
    Posts:
    1,108
    A related question - has anyone managed this approach with a CMS system (like Joomla etc.)?

    It would be Really Insanely Cool(tm) to tie the user login to a community.
     
  4. JeroenVO

    JeroenVO

    Joined:
    Aug 10, 2007
    Posts:
    52
    as long as there is a decent API for the CMS (apparently Joomla has one), it shouldn't be to hard. Find out how the API handles login checks and subscriptions... We did something similar a while ago by using the login system and image storage features of gallery2, and although gallery2 has rather chaotic docs, it worked.
     
  5. Foxxis

    Foxxis

    Joined:
    Jun 27, 2006
    Posts:
    1,108
    Interesting! Thanks!
    Will have to do some experimentation when I have the time.. :)