How can I create Game accounts?

Get help using Construct 2

Post » Fri Aug 10, 2012 5:38 pm

Hi,

I'm wondering (if there is I haven't find it), if there is a way to create game account, for example:
Put a login screen, and then the user can log to the game.

If not, there is a way to create links to webpages?
For example: If the user press a button object send him to: www.hello.com


I would like to add accounts to my game... but I don't think I can do it.
Image
Image
B
26
S
2
G
1
Posts: 71
Reputation: 2,662

Post » Fri Aug 10, 2012 5:47 pm

If you don't know mySQL and php or an equivalent you can probably forget about an account based system.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Fri Aug 10, 2012 6:02 pm

yeah all c2 can provide you with is the input boxes and the ability to send the info to a webpage. Beyond that youll have to do it yourself in php and then store that data so it can be used again somehow usually mysql

You can see a fully working example right here

I have registration disabled right now tho
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Fri Aug 10, 2012 6:11 pm

hi,

thanks for the answers.

I know php & mysql, I'm new in C2, so I don't know how to send the information.

Is there a tutorial or something?

Thaanks
Image
Image
B
26
S
2
G
1
Posts: 71
Reputation: 2,662

Post » Fri Aug 10, 2012 6:28 pm

look up the ajax object in the manual on the site here. Basically its the same as typing the site info into the address bar in the browser yourself. It wont work in the preview from c2 tho cause of cross site restrictions

If you plan to make a game mainly focused to be played "online" get ready to get used to exporting and uploading to your webserver to test every change =/aridale2012-08-10 18:30:08
B
13
S
5
G
2
Posts: 306
Reputation: 3,262


Return to How do I....?

Who is online

Users browsing this forum: jeffige and 0 guests