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 in parameters

Author
Message
paulrobson
9
Years of Service
User Offline
Joined: 22nd Nov 2014
Location: Norfolk, England
Posted: 2nd Feb 2019 22:31
Is this possible ? Can you access query string or command line parameters (it should be possible, theoretically to make this cross platform as you could have demo.exe -name fred -count 42 and https://somewhere.agk.com/index.html?name=fred&count=42
I can't see how to do it ?
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 2nd Feb 2019 22:37
Can't do it, but has been asked for many times

Best you can do is read from a config file when initializing
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 2nd Feb 2019 22:52
Have a look at the attached example. It uses comms to communicate between .exe's

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-26 14:52:58
Your offset time is: 2024-04-26 14:52:58