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?
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
Somebody?
I need to stay that way in php
$test = array("test1" => array(1 => 1),"teste2" => array(2 => 1, 2 => 2),"teste3" => array(3 => 1, 3 => 3));
i try send a string, but not sucessful
Develop games in your browser. Powerful, performant & highly capable.
I did so
list = {1:1, 2:2, 3:3, 4:4, 5:5}
<php
$ list = $ _GET ['list'];
$ test = var_dump (json_decode ($ list));
echo $ test [0]
But it did not work. There appeared nothing
would not have anything like a HashMap?
Personally, I'm doing an application that sends a variable to a server via ajax. There is the possibility of sending a list of variables?
I did not find anything about how to create a WebStorage.
Can you explain?
Ok
I'll try to do something with it. If you can not I come here again
I'll try to explain otherwise
Assuming a game where the player needs to pick up several diamonds. At the end of the game he can catch all. His final score was 100 points. So, I want the final result is shown on the screen, and also generating a report to a file containing the information that player
Hello,
I'm new to construct and need some information.
I need to generate a report according to some gaming action.
For example:
The amount of points a player.
Got it?
Thanks and I look forward response
Member since 2 Apr, 2012