Search Unity

Parse.com DEMO with Login / Account Creation / High scores and more

Discussion in 'Works In Progress - Archive' started by runningbird, Sep 9, 2013.

  1. runningbird

    runningbird

    Joined:
    Sep 3, 2009
    Posts:
    382
    Parse.com is could service for apps.

    You can use their services for user accounts, databases, push notifications etc.
    They even have "Cloud Code" where you can create your custom code in the cloud.
    Also with the latest release they have "background" processes so you could send new notifications at a specific time of day etc.

    I've been using Parse.com for a while now with my Android and iPhone apps and decided to create a Unity Demo using their Unity SDK that was just released.

    In the example I have:

    • User Authentication
    • New Account Creation
    • Create new high score
    • Display All high scores.

    Best of all Parse.com has a free plan as well as paid plans once you have met your limits.

    $login.PNG

    $create.PNG

    $mainmenu.PNG

    $createHighscore.PNG

    $highscores.PNG

    Web Demo


    What do you think a good price for this demo would be?

    The Demo will have documentation on how to set up your parse.com account and get this working.

    Planned Features:
    Link Facebook Accounts
    Facebook Authentications

    Possible Upcoming Demos using Parse.Com
    Photon Cloud Example
    Basic Inventory
    Characters
     
    Last edited: Sep 9, 2013
  2. akkiDev

    akkiDev

    Joined:
    Aug 7, 2013
    Posts:
    70
    check out this video..... leaderBoard_Sample
    and tell me ,
    if you feel difference.......
     
  3. runningbird

    runningbird

    Joined:
    Sep 3, 2009
    Posts:
    382
    @akkiDev looks pretty good I've used App42's api's before and they work very well but I like the direction parse.com is going and have used it in a few other applications.
     
  4. MagicFrame

    MagicFrame

    Joined:
    Jul 18, 2013
    Posts:
    42
    Hi friend, sorry for asking, but I also am using Parse, I created a login system and it works perfect, the problem is that I do not get that after login system display a message that says "Welcome [AND HERE THE NAME USER] ", I tried to ParseUser.CurrentUser.ToString () but does not work, you know any way to make it work well?
     
  5. runningbird

    runningbird

    Joined:
    Sep 3, 2009
    Posts:
    382
    Since I like supporting Parse.com here is the demo code for free:

    DEMO

    With this demo you will have to load the scene named "Scene"
    This has the Parse Initializer object in it.
    Please provide your ApplicationID and your DotNetSDK Key
     
    Last edited: Nov 29, 2013
    Derf321, thaiscco and Arkade like this.
  6. ScaryRobotGames

    ScaryRobotGames

    Joined:
    May 2, 2007
    Posts:
    57
    Hey runningbird,

    Thank you very much for posting this! I can't tell you how much of a help your scripts are in this demo.

    Thanks!
     
  7. runningbird

    runningbird

    Joined:
    Sep 3, 2009
    Posts:
    382
    Sure thing I'm glad that the demo was of use to you
     
  8. Zeblote

    Zeblote

    Joined:
    Feb 8, 2013
    Posts:
    1,102
    Webplayer demos are dangerous, especially if the assets are just code. It's extremely easy to export the .unity3d file, decompile the assembly and take your code.
     
  9. runningbird

    runningbird

    Joined:
    Sep 3, 2009
    Posts:
    382
    I've added a link to download the package for free but thanks for letting me know :p
     
  10. tredpro

    tredpro

    Joined:
    Nov 18, 2013
    Posts:
    515
    any ideas/tutorials for creating a chat system that works like instant messaging. where it takes your login and uses that to communicate with the other users? the only ones that i have found were ones that had a user create their name at the start. I also need the chat to allow all users to join if wanted
     
  11. tredpro

    tredpro

    Joined:
    Nov 18, 2013
    Posts:
    515
    Also how would you make it where whenever someone enters a wrong username/password it shows "incorrect username/password
     
  12. vakanderson

    vakanderson

    Joined:
    Mar 25, 2013
    Posts:
    2
    I was just about to create this functionality and decided what the heck, let me see if someone else has done it, so thanks for saving me some time!
     
  13. Kevin Nguyen

    Kevin Nguyen

    Joined:
    Feb 21, 2014
    Posts:
    5
    Sr but how do you do about gamescore?
    Save gamescore object?

    I can't do this, Can you hepl me?

    void GetTopGameScore()
    {
    var query = ParseObject.GetQuery ("GameScore");
    query.Include ("playerName");
    query.FindAsync ().ContinueWith (t =>{
    IEnumerable<ParseObject> result = t.Result;
    foreach (var item in result) {
    Debug.Log("List score: ");
    int score = item.Get<int>("score");
    Debug.Log(score);
    try {
    ParseObject obj = item.Get<ParseObject>("playerName");
    string name = obj.Get<string>("profile");
    //string name = item.Get<ParseUser>("playerName").Get<string>("profile");

    Debug.Log(name);

    } catch (Exception ex) {
    Debug.Log(ex);
    }
    }
    });
    }
     
  14. carlfranzon

    carlfranzon

    Joined:
    May 5, 2014
    Posts:
    1
    I also love Parse and its service. But one thing always bugged me, the data browser interface isn't mobile friendly. So I built a native iOS app for it. With it, you can view/edit/update all the data you've got stored in your Parse db. It's pretty neat!

    If you're interested you can download it here: http://goo.gl/vxttRw
     
  15. SQR

    SQR

    Joined:
    Jun 29, 2010
    Posts:
    10
    @runningbird: This is a very much appreciated guide! You saved me a lot of time with this. I really do thank you for all your help!
     
  16. runningbird

    runningbird

    Joined:
    Sep 3, 2009
    Posts:
    382
    I'm glad it was helpful to you
     
  17. rayfigs

    rayfigs

    Joined:
    Feb 8, 2009
    Posts:
    41
    Sorry for necro-ing this thread but running bird, are you available for work-for-hire on parse related project?
     
  18. runningbird

    runningbird

    Joined:
    Sep 3, 2009
    Posts:
    382
    I've got some time I could throw at a new project just PM me
     
  19. Political-Peace-Party-Studios

    Political-Peace-Party-Studios

    Joined:
    Mar 10, 2015
    Posts:
    12
    Thanks so much for this man. The Parse Unity documentation is really weak! This is exactly what I needed! Thank you.