b781rev's Forum Posts

  • 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.

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

  • If you have experience in php, there is a thread about AJAX and php:

    Here

  • They are here:

    scirra.com/forum/topic45040.html

  • 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.

  • 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.

  • 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.

  • I think I have the capx posted on here somewhere. It might be on the other forum I posted. I'm pretty sure this is the file:

    4shared.com/file/885mRUrE/ajaxsave.html

    The php is on another forum I posted, but it don't go into great detail. You might have to write your own.

  • You can also leave your comments on my page:

    Shaddow Gamez

  • For which one? The AJAX load and save or the AJAX register?

  • I'm still not understanding what you mean. Can you register with the example? Can you login using the login details you registered with? All the AJAX example is doing is registering the member. I'm not destroying or saving any sessions with it. I'm only using it as an example. My real registration page will be up soon.

  • What do you mean it loads the data into a new session?

  • What is it saying when you try to register? I just used it and it worked. I'm also doing a lot of work on my website and the databases so maybe that is a problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have been playing around with the AJAX capabilities in Construct 2 and found it very interesting for when it's time to create my game. I've made two programs with it, both don't look that great but do work.

    This one you can register on my site(which I just started making) via AJAX:

    peepelz.com/index.php

    And this one you can load and save variables in a database via AJAX. If you go to this one though, make sure you hit L first. I have to figure out the bug in it.

    peepelz.com/index.php

  • Here is a register example:

    peepelz.com/index.php