Good night, I'm a beginner in the game creation part, and I'm trying to learn how to create the communication between the game and the server, but using Construct 2, I'm in trouble because it seems the game is not looking information on the server.
<?phpheader('Access-Control-Allow-Origin:*');echo'<?xmlversion="1.0" encoding="UTF-8" ?>';
echo '<root>';
echo '<Pergunta id="Pergunta"> Quem nasceu primeiro ? </Pergunta>';
echo '<Pergunta id="RespostaA"> O Ovo </Pergunta>';
echo '<Pergunta id="RespostaB"> A Galinha </Pergunta>';
echo '<Pergunta id="RespostaC"> Os Dinossauros </Pergunta>';
echo '<Pergunta id="RespostaD"> A minha Avó </Pergunta>';
echo '</root>';
?>
The above code is the code in php, where it should fetch the server and stream in the game.
This type of game I'm doing through a youtube video, however, in the video lesson it worked, I did it some 3 times, and decided to come and ask for help here. I ask for your help, for I am anxious to make this mistake. Thank you in advance. The channel is this: desKompliKa Courses