How do I connect two projects

Get help using Construct 2

Post » Fri Dec 05, 2014 3:30 pm

Hello, is there a way to connect two different projects without starting one all over again? Thanks
Posts: 3
Reputation: 181

Post » Fri Dec 05, 2014 5:48 pm

What do you mean by "connect"?

If I assume that you mean connect information, then via HTTP.

For instance: We made both our website and our game client in Construct, in two separate project files. The website and game client communicate with each other via HTTP GET requests (with a few HTTP GET AJAX request interactions).

You login to our integrated portal on the website, then it records your session and retrieves your player_id from the server. Then when you select a game server, the website passes all of the information that the game client needs to know on startup into the client code via HTML injection. The website passes information, including the player_id, current_timestamp, server_ip, application_name, etc. The game client then uses that information to talk to the correct server.
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
Posts: 1,419
Reputation: 4,867

Return to How do I....?

Who is online

Users browsing this forum: dop2000, guannstar, JGblkshot, mike20227 and 1 guest