I second the request - how would one go about sharing the levels through the game?
So that when other players log to the game there is a section of custom levels
Thanks a lot - VERY helpful! :)
Just to note that lines 2-5 in your MySQL codearen't recognized as correct SQL code.
Are they important? can you update how should they look now?
I think I figured it out... the other domains I chose were http, while 000webhost is https.
Also, when I use the MY 000webhost address, the get scores button works just as intended, while the submit button submits the score, and it is being saved (as can be seen if I press get scores again), but there's no on-screen text indicating the score has been saved (no feedback to the player). However if I change the domain address to the original one, the feedback upon submitting a score DOES work.
weird stuff...
Apparently it's because of the webserver I chose? I originally used infinityfree site and it wouldn't work with construct. However, when I created a site using the ooowebhost and did everything EXACTLY the same it does work with construct...anyone can guess why?
SO everything works fine, until I open the .capx example project and substitute your domain address with mine... then the results just won't load :(
yes, I have the right address, and yes I remembered the trailing '/'.
and yes, when I type my domain in the browser with 'getscores.php' at the end I do get the results loaded...
Why is it not working from within construct? :'(
Thanks for a FANTASTIC tut! (upvoted and favorited:-))
Thanks for this short and nice guide :)
Member since 2 Oct, 2020