My AJAX Tests

0 favourites
  • Okay thanks

    But I a non-programmer so ....

    hope that someone comes up with a step by step tutor

    for highscores ... I mean how wont be placed on a top 10

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Well this isn't a forum for php. There are thousand of tutorials on php. Just Google it. And for the Construct 2 side, you can see how it is done from my examples in the .capx files. I might post it on my website sometime but dont know when.

  • working but what is this? :)

  • What do you mean what is this? The examples are AJAX tests in Construct 2. The first one you can save and load variables to and from a database. The second example is a register example, showing you how to use forms to register or login using php. With this you can create a lot of variables to save games, high scores, chat, and a lot more.

  • I understand that this is not a php forum. I show you a case for analysis. a physician joins an address and together make a machine to dialysate. each one by itself can not do it. this is the same, someone who knows php, alone can not do the entire project, as someone who only knows too C2 and php, may not take the project forward. therefore if you know both, please post your entire project.

  • Well, I have posted the php and the .capx for both examples. I can't write all the php for these examples. If you know php then you will understand it. If you don't, then you should learn it. It does take some work to get these examples working, but in the end it will be worth it.

  • Hi ..

    I see but where did you post the php file

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • They are here:

    scirra.com/forum/topic45040.html

  • will move forward on your page, using the example of the variables?

  • Well, right now, all I'm doing is working on my back end. I will continue it when I have the time.

  • Quick question:

    I'm trying to preview this locally and have XAMPP set up, trying to request "http://localhost/folder/file.php" as an example but it always triggers the 'on error' event rather than 'on completed'.

    Is there anything else I should be doing? Do I need to add anything to my script for previewing or anything? Any help would be greatly appreciated!

    Thanks.

  • You are not calling something right. Are you familiar with PHP? Make sure all the code is right and make sure the right data is being sent and retrieved.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ah it's okay, sorted it - stupid mistake my end :) Thanks for your help!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)