Dynamic Backend Data

Discussion and feedback on Construct 2

Post » Mon Sep 10, 2012 5:46 pm

I'm trying to set up a dynamic minigame library and I'd like to know if anybody has some suggestions for how to get initial data into the game. I understand php and working with the AJAX object, but how can I get the minigame.id from my database to send with the request without having to hard-code it into the game?

It would be nice if we could pass vars in through html, but I don't see any options for this.

Has anybody else done this?
B
14
S
5
G
2
Posts: 20
Reputation: 2,378

Post » Mon Sep 10, 2012 8:16 pm

Extract from the how do I FAQ

[quote]Pass informations from the HTML page to the C2 application - LINK[/quote]
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
293
S
117
G
96
Posts: 7,310
Reputation: 71,069

Post » Mon Sep 10, 2012 8:19 pm

ty, I searched and didn't come up with that
B
14
S
5
G
2
Posts: 20
Reputation: 2,378

Post » Wed Sep 12, 2012 7:05 pm

Do you like baking?

Cookies plug-in~

Wouldn't advise it for anything monetized thooo. easy to modify/alter i.e hack.Khaz2012-09-12 19:06:49
B
12
S
3
G
2
Posts: 110
Reputation: 2,435


Return to Construct 2 General

Who is online

Users browsing this forum: R0J0hound and 11 guests