Tutorial Downloads

File Size
parseLogin.capx183KB

Translations

Know another language? Translate this tutorial!

Player Login/Sign-up tutorial (using rexrainbow Parse plugin)

Favourite 27 favourites
Tutorial written by jomoOriginally published on 4th, May 2015 - 5 revisions

Do you want to know how to create a game player database without writing any PHP & MySQL code? Here is the fastest way to get it done! In tutorial we will use Parse Service to create our own game player database. And create a login screen rapidly!

Step 1. Basic knowledge
------------------------------------
ParseĀ© is an online backend app service which provides a shortcut for front-end web app developer to setup backend services. This is a very convenient way for web app developers to setup backend database without learning PHP & MySQL. In this tutorial we use Parse Core to setup a backend player info database which allows further login/sing-up operation.

Please install rexrainbow Parse - Authentication plugin first: http://c2rexplugins.weebly.com/rex_parse_authentication.html

Step 2. Apply for Parse account
-----------------------------------------------
Before we can access all Parse services, we need to apply a Parse account. Connect to https://www.parse.com/ and click the <Sign up for free> button to fill sign-up application form.



If you have a Facebook account, you can click <Log in with Facebook> button to speed up sign-up process (Github and Google+ accounts are acceptable, too).
You will be redirected to Facebook website to enable Facebook authentication. In the popup dialog box, press <OK> to allow Parse to access your public info and Email from Facebook .

Step 3. Create a new Parse app
-----------------------------------------------
After you got your Parse account, you'll back to Parse website and prompt to add a your first Parse app. Basically, each one of your web app should corresponds to one Parse app. Please fill the name you like in the 1st textbox (in this case we name our Parse app "mySuperApp"). And then choose the correct company description in the 2nd item list (in this case we choose "Individual Developer"). Click <Start using Parse> when you finished.

Step 4. Get your app ID and JavaScript Key
--------------------------------------------------------------
After your Parse app is created, you'll be redirected to its page. Now we need to get its app ID and JavaScript Key for our Construct 2 project to access this Parse app. Click the <Settings> tag on top menu, and click the <Keys> on left side menu. You'll see all your application Keys. Write down or copy <Application ID> & <JavaScript Key> to a safe place.
Open full size image

OK, now we can use our Parse services in Construct 2.

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.

Comments

0
RioLuk 5,121 rep

@jomo it looks like the site parse.com changed completely. I clicked around like 20min before I found the LogIn/SignIn...but nothing seems to happen, I don't have a clue how to logIn to parse. This sounds bizarre, but somehow it's not possible (at the moment maybe...) anyway, I liked your tutorial though.

Saturday, March 26, 2016 at 11:08:24 AM
2
RioLuk 5,121 rep

aah, for everyone confused as me, here's a link to an updated tutorial about parse:
www.scirra.com/tutorials/4987/parse-server-setup-tutorial

Saturday, March 26, 2016 at 11:16:08 AM
0
InvaderXYZ 701 rep

Got "POST 500 Internal Server Error," when trying to sign up.

Monday, June 19, 2017 at 1:08:56 AM
0
vila4480 1,394 rep

The old "I dream of being a website" sentence has changed to "Make sure to star the parse-server repo on GitHub!"

From what I understood REX plugins now use another plugin called Parseinitialize to set the variables (they're missing from the Authentication plugin).

I'm running into issues when connecting to the server URL. Although amazingly useful, this tutorial doesn't seem to clarify it if im typing it wrong and I can't seem to establish a connection.
I'm currently using this Server URL which is NOT working: myappname.herokuapp.com/parse

Am I doing something wrong?
Help?

Thursday, May 10, 2018 at 12:26:57 AM
0
vila4480 1,394 rep

I now believe my issue may be related to CORS and Heroku.
Also, don't trust the .capx in this tutorial. It is outdated as it is missing a new required plugin called Parseinitialize

Thursday, May 10, 2018 at 1:44:37 AM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.