Quote: "It's a great game idea ! "
Thanks
I was hoping some people would test that high score script, but it is still waiting.
Once I know I have it secure, then I can move it from the free web host to my primary web host.
It appears as if people are more afraid of my script than I am of their injections to it.
I am more excited about having leader boards for my HTML5 builds than I am about this game title.
I am anxious to modify this script for Instant Payment Notifications to automate electronic delivery.
The thought being that a User-Key would replace the game title, so each file would have their purchase history, rather than game scores.
Log-In credentials/security-pin entered in the redemption page would ensure that the path is not being used by someone other than the authorized user.
Then the user could access that file to display Redemption-Keys for each purchase to enter into the app for redemption (copy/paste key into app).
All GET data passed could be encrypted, so that none of it would be readable, or usable, by any unauthorized recipient/user.
May sound nuts, or like a lot of work, but I want the HTML5 builds to do with OpenBrowser() what the PC builds are doing with the HTTP commands.
Please, let me know if I have overlooked anything... thanks.
EDIT
Okay, now I am confused, but going to get to the bottom of it with experimentation.
All this time I was under the impression that the HTML5 builds would not be able to use the HTTP commands.
However, while searching the forums, I have found threads that say the HTTP will work with the HTML5 builds, and other saying it won't.
If the GetHTTPFile() will work with HTML, then I can use POST instead of GET to pass the variables, which is a game changer.
The documentation says that the SendHHTPRequest() ...
Quote: "Does not work when exported to HTML5 "
The documentation says the same thing about the SendHTTPFile() command, but does not say that about the GetHTTPFile() command.
While the documentation says that about SendHTTPRequest(), it does not say that about the SendHTTPRequestASync() command.
Nothing saying that GetHTTPResponse( ) command will not work with HTML5 either. (this will be the biggest game changer if this works)
So, I will be doing a lot of experimenting with HTML5 and the HTTP command list to find out exactly what the limitations are, and how I can work around them.
With a little luck, I will be introducing a unique HTML5 experience that has nothing to do with this game, but will be truly unique.
EDIT
EUREKA !
I can confirm that variables can be passed from HTML5 to server via POST, and that an HTTP response can be received via HTML5 builds !!!
Sometimes I am getting a trailing character or two (not sure why), but I hope to work around that if I can't resolve it.
Now the real work begins. ( HTML5 --> HTTP --> PHP --> HTTP --> HTML5 adventure to be continued... )
Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1