User Login System

Get help using Construct 2

Post » Sat Mar 16, 2013 10:22 pm

Hello Everyone,

Recently I wanted to create a online alike text based game but I can't seem to save and load something basic like someone's name. all im getting right is saving it locally but I wanna save it on the same location that the exported files is (the place where I upload the game)

Thanks in advance for anyone that could help me

A template / example will mean the world for me

Regards,
BeelzStalker2472013-03-16 22:24:49
B
7
S
2
G
1
Posts: 193
Reputation: 1,745

Post » Sat Mar 16, 2013 11:14 pm

To do something like that you're going to need to use Ajax and have some knowledge of a back end programming language like php.

If you have that kind of knowledge I have written a tutorial for someone else on using ajax/php/mysql to send high score information to a server and retrieve it. You could adapt that process to a user login system. It's how we're handling user logins with our rewrite of our game UWE. Although that login system is way more complex than what you're talking about, it still breaks down to using ajax to send the user name and password and then checking it's return info to see if it was successful.
B
26
S
8
G
3
Posts: 210
Reputation: 5,973

Post » Sun Mar 17, 2013 11:27 am

Thanks for the reply, I will check into this ajax add-on, although i'm new to C2 have have a ton other programming experiences like Java, C++, Python but HTML5 is a new thing 4 me :)
B
7
S
2
G
1
Posts: 193
Reputation: 1,745

Post » Sun Mar 17, 2013 12:42 pm

Then you should have little trouble using Ajax and a back end setup. Pick your fav programming language (that your server can support) and have at it!
B
26
S
8
G
3
Posts: 210
Reputation: 5,973


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests