try to draw 1000*1000 svg grig

This commit is contained in:
Gnieark 2016-06-29 17:02:24 +02:00
parent f599309984
commit aff0657d6e

View File

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