Hi there,
I have created a few games now, and love Stencyl! However, my intention is to integrate this with an existing website (not any of the ones that are supported).
What I want to do is have all my games, and when users play them and reach the end of a level, or save.... submit the score to the website to store this in a database (so that we can have scoreboards.
I have tried numerous ways of doing this, such as "Visit URL" and basically getting the logged in username. I can also POST out a string of data to store in a database. But I need it to be hack proof, and with this method, any script kiddie could find out the POST strings and cheat their score.
I need my website to send the game a security token or something (this isn't a problem), however I need my game to interpret this, attach the username and score, and then send it back. If the website verifies the token.... it updates the score.
I have established the best way of doing this is for the game to read the HTTP cookie of the website it's installed on and generate a random number on the game to act as a security token.
However.... please someone help..... how do I access HTTP cookies from within the game editor?