Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Passing variables from HTML5 to the AGK2

Author
Message
tigme
7
Years of Service
User Offline
Joined: 14th Jun 2017
Location: Kleinmond
Posted: 1st Aug 2017 15:00
Is there a way to pass variables from HTML5 to the AGK2?

I Would like to know if I can dynamically control an app by passing variables to the AGK2 engine? Might be as simple as lives = 3, continue = 1, username = "NAME", session = "EAE23423AF"

I tried using google to search for information and the AppGameKit manuals.

Thanks for any advice.
--
Rudolph Thomas
pinete
13
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 5th Aug 2017 07:41
Hi!
yes you can do it using the HTTP commands.
https://www.appgamekit.com/documentation/Reference/HTTP.htm
More specifically this one:
https://www.appgamekit.com/documentation/Reference/HTTP/SendHTTPRequest.htm
There are a lot of examples in the forum.

Login to post a reply

Server time is: 2024-09-30 05:33:09
Your offset time is: 2024-09-30 05:33:09