3d-игры

  • ХабрахабрФото Создание браузерных 3d-игр с нуля на чистом html, css и js. Часть 2/2

    Создание браузерных 3d-игр с нуля на чистом html, css и js. Часть 2/2

    // 1 уровень mapArray[0] = [ //основание [0,0,1000,0,180,0,2000,200,"#F0C0FF"], [0,0,-1000,0,0,0,2000,200,"#F0C0FF"], [1000,0,0,0,-90,0,2000,200,"#F0C0FF"], [-1000,0,0,0,90,0,2000,200,"#F0C0FF"], [0,100,0,90,0,0,2000,2000,"#EEEEEE"], //1 [-700,0,-800,0,180,0,600,200,"#F0C0FF"], [-700,0,-700,0,0,0,600,200,"#F0C0FF"], [-400,0,-750,0,90,0,100,200,"#F0C0FF"], //2 [100,0,-800,0,180,0,600,200,"#F0C0FF"], [50,0,-700,0,0,0,500,200,"#F0C0FF"], [400,0,-550,0,90,0,500,200,"#F0C0FF"], [-200,0,-750,0,-90,0,100,200,"#F0C0FF"], [300,0,-500,0,-90,0,400,200,"#F0C0FF"], [350,0,-300,0,0,0,100,200,"#F0C0FF"], //3 [700,0,-800,0,180,0,200,200,"#F0C0FF"], [700,0,500,0,0,0,200,200,"#F0C0FF"], [700,0,-150,0,90,0,1100,200,"#F0C0FF"], [600,0,-150,0,-90,0,1300,200,"#F0C0FF"], [800,0,-750,0,90,0,100,200,"#F0C0FF"], [800,0,450,0,90,0,100,200,"#F0C0FF"], [750,0,400,0,180,0,100,200,"#F0C0FF"], [750,0,-700,0,0,0,100,200,"#F0C0FF"], //4 [850,0,-100,0,180,0,300,200,"#F0C0FF"], [850,0,0,0,0,0,300,200,"#F0C0FF"], //5 [400,0,300,0,90,0,800,200,"#F0C0FF"], [300,0,300,0,-90,0,800,200,"#F0C0FF"], [350,0,-100,0,180,0,100,200,"#F0C0FF"], //6 [400,0,800,0,0,0,800,200,"#F0C0FF"], [450,0,700,0,180,0,700,200,"#F0C0FF"], [800,0,750,0,90,0,100,200,"#F0C0FF"], [100,0,550,0,90,0,300,200,"#F0C0FF"], [0,0,650,0,-90,0,300,200,"#F0C0FF"], [-100,0,500,0,0,0,200,200,"#F0C0FF"], [-100,0,400,0,180,0,400,200,"#F0C0FF"], [-200,0,750,0,90,0,500,200,"#F0C0FF"], [-300,0,700,0,-90,0,600,200,"#F0C0FF"], //7 [100,0,-250,0,90,0,900,200,"#F0C0FF"], [0,0,-300,0,-90,0,800,200,"#F0C0FF"], [-350,0,200,0,0,0,900,200,"#F0C0FF"], [-350,0,100,0,180,0,700,200,"#F0C0FF"], [-700,0,-50,0,90,0,300,200,"#F0C0FF"], [-800,0,0,0,-90,0,400,200,"#F0C0FF"], [-750,0,-200,0,180,0,100,200,"#F0C0FF"], //8 [-500,0,600,0,90,0,800,200,"#F0C0FF"], [-600,0,600,0,-90,0,800,200,"#F0C0FF"],…

    Читать далее »


Кнопка «Наверх»