Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
How do I do to get the variable test?
<?php
$test = 1;
if ($_GET['mode']=="save") {
$score = $_GET['score'];
}
?>
I'm not getting the Ajax.LastData
Actually I want to send a variable to the php and see if it is equal to the variable test. If yes it is, if not he sends to construct a message. How can I do this?
Develop games in your browser. Powerful, performant & highly capable.
Are you making a cross-domain request? If so have you checked the manual section on it?