try to draw 1000*1000 svg grig

pull/96/head
Gnieark 8 years ago
parent f599309984
commit aff0657d6e

@ -23,11 +23,11 @@ switch ($_POST['act']){
$bot2Exists = false;
foreach($bots as $bot){
if($bot['id'] == $_POST['bot1']){
$_SESSION['bots'][]=new TronPlayer($bot['id'],1,1);
$_SESSION['bots'][]=new TronPlayer($bot['id'],500,10,'y+');
$bot1Exists =true;
}
if($bot['id'] == $_POST['bot2']){
$_SESSION['bots'][]=new TronPlayer($bot['id'],998,998);
$_SESSION['bots'][]=new TronPlayer($bot['id'],500,989,'y-');
$bot2Exists =true;
}
if ($bot1Exists && $bot2Exists){

Loading…
Cancel
Save