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.
yup, both working. <img src="smileys/smiley20.gif" border="0" align="middle" />
I am very attentive to your website. Face prompted friendship
hello friend, I have reviewed your website all the time, to see how you go. peepelz.com/index.php. I see that you very quickly.
Nice work with saving variables in the second example!
Registration isn't working. Should I get an email or just use the user/pass entered?
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.
apparently you can register, but it loads the data into a new session.
Leave a message with the following information:
User = Mail = habiplayhtr@yahoo.com habiplay pasword = 12345
Received it? .
What do you mean it loads the data into a new session?
data does not load the previous session
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.
Develop games in your browser. Powerful, performant & highly capable.
Hi
looks as It could be used for a top10 list
Would really love a step by step tutor or sample file
Nice work
<img src="smileys/smiley1.gif" border="0" align="middle" />
For which one? The AJAX load and save or the AJAX register?
You can also leave your comments on my page:
Shaddow Gamez
Well I was mostly thinking of the save and load
after game over I got a score, if the score is among
the the 10 best then
...let a player insert his name
...show the top 10
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.