var load_list=[{class:"block",name:"shop_spear_bcg",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=406;objects[obj_name].y=50;objects[obj_name].width=305;objects[obj_name].height=390;objects[obj_name].interactive=true;",code1:"objects[obj_name].texture=gres.shop_player_bcg.texture;"},{class:"sprite",name:"shop_player_bcg",code0:"objects[obj_name].x=31;objects[obj_name].y=50;objects[obj_name].width=305;objects[obj_name].height=390;objects[obj_name].interactive=true;",code1:"",image_format:"png"},{class:"image",name:"cards_bcg",image_format:"png"},{class:"sprite",name:"desktop",code0:"objects[obj_name].x=-10;objects[obj_name].y=-10;objects[obj_name].width=820.000065104167;objects[obj_name].height=470;objects[obj_name].visible=false;",code1:"app.stage.addChild(objects[obj_name]);",image_format:"png"},{class:"block",name:"parallax",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].visible=true;objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].width=800;objects[obj_name].height=450;objects[obj_name].x=400;objects[obj_name].y=225;",code1:"app.stage.addChild(objects[obj_name]);"},{class:"block",name:"game_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].x=400;objects[obj_name].y=225;",code1:"objects[obj_name].addChild(objects.platform1);objects[obj_name].addChild(objects.platform2);objects[obj_name].addChild(objects.s_obj0);objects[obj_name].addChild(objects.s_obj1);objects[obj_name].addChild(objects.s_obj2);objects[obj_name].addChild(objects.player1);objects[obj_name].addChild(objects.player2);objects.projectiles.forEach(p=>objects[obj_name].addChild(p));objects[obj_name].addChild(objects.fire);objects.blood.forEach(p=>objects[obj_name].addChild(p));objects[obj_name].addChild(objects.lightning);objects[obj_name].addChild(objects.collision_drawer);app.stage.addChild(objects[obj_name]);"},{class:"block",name:"rain_cont",code0:"objects[obj_name]=new PIXI.ParticleContainer(100, { scale: false, position: true, rotation: true, uvs: false, alpha: true,});objects[obj_name].x=0;objects[obj_name].y=0;",code1:"for (let i = 0; i < objects.rain_drops.length; i++) {objects.rain_drops[i].x=irnd(0,800);objects.rain_drops[i].y=irnd(0,-450);objects.rain_drops[i].dx=0;objects.rain_drops[i].dy=1;objects[obj_name].addChild(objects.rain_drops[i]);}app.stage.addChild(objects[obj_name]);"},{class:"block",name:"start_game_cover",code0:"objects[obj_name]=new PIXI.Sprite(PIXI.Texture.WHITE);objects[obj_name].visible=false;objects[obj_name].sx=objects[obj_name].x=0;objects[obj_name].sy=objects[obj_name].y=0;objects[obj_name].width=800;objects[obj_name].height=450;objects[obj_name].base_alpha=objects[obj_name].alpha=0.50196;objects[obj_name].tint=0X684062;",code1:"app.stage.addChild(objects[obj_name]);"},{class:"cont",name:"mb_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].sx=objects[obj_name].x=100;objects[obj_name].sy=objects[obj_name].y=290;",code1:"objects[obj_name].addChild(objects.pb_bcg);objects[obj_name].addChild(objects.lbb_bcg);objects[obj_name].addChild(objects.rb_bcg);objects[obj_name].addChild(objects.cb_bcg);app.stage.addChild(objects[obj_name]);"},{class:"sprite",name:"lbb_bcg",code0:"objects[obj_name].x=10;objects[obj_name].y=10;objects[obj_name].width=120.00009765625;objects[obj_name].height=159.99990234375;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){main_menu.lb_button_down()};objects[obj_name].pointerover=function(){this.tint=0x51f2ff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"sprite",name:"pb_bcg",code0:"objects[obj_name].x=315;objects[obj_name].y=10;objects[obj_name].width=120;objects[obj_name].height=160;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){main_menu.pb_down()};objects[obj_name].pointerover=function(){this.tint=0x55ff22};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"",image_format:"png"},{class:"sprite",name:"rb_bcg",code0:"objects[obj_name].x=165;objects[obj_name].y=10;objects[obj_name].width=120;objects[obj_name].height=160;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){main_menu.rules_button_down()};objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].pointerover=function(){this.tint=0xff55ff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"",image_format:"png"},{class:"sprite",name:"cb_bcg",code0:"objects[obj_name].x=470;objects[obj_name].y=10;objects[obj_name].width=120.00009765625;objects[obj_name].height=160;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){main_menu.shop_button_down()};objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].pointerover=function(){this.tint=0xff55ff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"",image_format:"png"},{class:"sprite",name:"game_title",code0:"objects[obj_name].x=objects[obj_name].sx=10;objects[obj_name].y=objects[obj_name].sy=0;objects[obj_name].width=793;objects[obj_name].height=300.0001953125;objects[obj_name].visible=false;",code1:"app.stage.addChild(objects[obj_name]);",image_format:"png"},{class:"block",name:"common_code",code0:"document.body.style.backgroundColor = 'rgb(70, 70, 70)';app.renderer.backgroundColor = 0X223244;",code1:""},{class:"sprite",name:"id_bcg",code0:"objects[obj_name].x=10;objects[obj_name].y=10;objects[obj_name].width=320.9412109375;objects[obj_name].height=180;objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"block",name:"id_name",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 25,align: 'center'});objects[obj_name].anchor.set(0.5,0);objects[obj_name].x=220;objects[obj_name].y=80;objects[obj_name].base_tint=objects[obj_name].tint=0XFFFFFF;",code1:""},{class:"block",name:"id_rating",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 25,align: 'center'});objects[obj_name].anchor.set(0.5,0);objects[obj_name].x=220;objects[obj_name].y=115;objects[obj_name].base_tint=objects[obj_name].tint=0XFFFF00;",code1:""},{class:"block",name:"id_avatar",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].sx=objects[obj_name].x=30;objects[obj_name].sy=objects[obj_name].y=60;objects[obj_name].width=100.293961588542;objects[obj_name].height=100;",code1:""},{class:"cont",name:"id_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=true;objects[obj_name].sx=objects[obj_name].x=230;objects[obj_name].sy=objects[obj_name].y=-10;",code1:"objects[obj_name].addChild(objects.id_bcg);objects[obj_name].addChild(objects.id_avatar);objects[obj_name].addChild(objects.id_name);objects[obj_name].addChild(objects.id_rating);objects[obj_name].addChild(objects.id_loup);app.stage.addChild(objects[obj_name]);"},{class:"sprite",name:"id_loup",code0:"objects[obj_name].sx=objects[obj_name].x=90;objects[obj_name].sy=objects[obj_name].y=123;objects[obj_name].width=80.2352783203125;objects[obj_name].height=80;objects[obj_name].anchor.set(0.5,0.5);",code1:"",image_format:"png"},{class:"block",name:"players_online",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 24.92,align: 'center'});objects[obj_name].anchor.set(0.5,0);objects[obj_name].sx=objects[obj_name].x=385;objects[obj_name].sy=objects[obj_name].y=420;objects[obj_name].base_tint=objects[obj_name].tint=0XBDD7EE;",code1:"app.stage.addChild(objects[obj_name]);"},{class:"block",name:"cards_menu_header",code0:"objects[obj_name]=new PIXI.BitmapText(['Здесь можно сыграть онлайн','Here you can play online'][LANG], {fontName: 'mfont',fontSize: 24.92,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].sx=objects[obj_name].x=400;objects[obj_name].sy=objects[obj_name].y=20;objects[obj_name].visible=false;",code1:"app.stage.addChild(objects[obj_name]);"},{class:"image",name:"mini_player_card",image_format:"png"},{class:"block",name:"cards_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].x=10;objects[obj_name].y=40;",code1:"for (let i=0;i{c.alpha=1;c.tint=c.base_tint})};",code1:"objects[obj_name].addChild(objects.timer_bcg);objects[obj_name].addChild(objects.timer_text);app.stage.addChild(objects[obj_name]);"},{class:"sprite",name:"big_message_bcg",code0:"objects[obj_name].x=10;objects[obj_name].y=10;objects[obj_name].width=400.999869791667;objects[obj_name].height=274.99990234375;objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"block",name:"big_message_text",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 24.92,align: 'center'});objects[obj_name].anchor.set(0.5,0);objects[obj_name].maxWidth=320;objects[obj_name].x=210;objects[obj_name].y=30;objects[obj_name].base_tint=objects[obj_name].tint=0XFFFF00;",code1:""},{class:"cont",name:"big_message_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].sx=objects[obj_name].x=180;objects[obj_name].sy=objects[obj_name].y=0;objects[obj_name].show=function(){this.children.forEach(c=>{c.alpha=1;c.tint=c.base_tint})};",code1:"objects[obj_name].addChild(objects.big_message_bcg);objects[obj_name].addChild(objects.big_message_text);objects[obj_name].addChild(objects.close_big_message);objects[obj_name].addChild(objects.big_message_text2);app.stage.addChild(objects[obj_name]);"},{class:"sprite",name:"close_big_message",code0:"objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].x=120;objects[obj_name].y=180;objects[obj_name].width=181;objects[obj_name].height=70;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].pointerover=function(){this.tint=0x55ffff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};objects[obj_name].pointerdown=function(){big_message.close()}; ",code1:"",image_format:"png"},{class:"block",name:"big_message_text2",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 24.92,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].maxWidth=318;objects[obj_name].x=209;objects[obj_name].y=147;objects[obj_name].base_tint=objects[obj_name].tint=0XFFE699;",code1:""},{class:"array",name:"bonus_cards",size:"4",code0:"var num=n;objects[obj_name][num]=new bonus_card_class();objects[obj_name][num].width=80;objects[obj_name][num].height=80;objects[obj_name][num].visible=false;objects[obj_name][num].y=num*70+100;",code1:"for (let i=0;i<4;i++)app.stage.addChild(objects[obj_name][i]);"},{class:"image",name:"life_level_bcg",image_format:"png"},{class:"image",name:"life_level_front",image_format:"png"},{class:"image",name:"life_level_frame",image_format:"png"},{class:"block",name:"guide_line",code0:"objects[obj_name]=new PIXI.Graphics();objects[obj_name].visible=true;",code1:"app.stage.addChild(objects[obj_name]);"},{class:"array",name:"projectiles",size:"50",code0:"var num=n;objects[obj_name][num]=new projectile_class();",code1:""},{class:"block",name:"platform1",code0:"objects[obj_name]=new PIXI.Sprite();",code1:""},{class:"block",name:"player1",code0:"objects[obj_name]=new player_class('player1');objects[obj_name].sx=objects[obj_name].x=21;objects[obj_name].sy=objects[obj_name].y=290;",code1:""},{class:"block",name:"player2",code0:"objects[obj_name]=new player_class('player2');objects[obj_name].sx=objects[obj_name].x=501;objects[obj_name].sy=objects[obj_name].y=290;objects[obj_name].scale_x=-1;",code1:""},{class:"block",name:"platform2",code0:"objects[obj_name]=new PIXI.Sprite();",code1:""},{class:"block",name:"s_obj0",code0:"objects[obj_name]=new PIXI.Sprite();",code1:""},{class:"block",name:"s_obj1",code0:"objects[obj_name]=new PIXI.Sprite();",code1:""},{class:"block",name:"fire",code0:"let tex_arr = [];for (let i=0;i<32;i++) tex_arr.push(gres['fire'+i].texture);objects[obj_name]=new PIXI.AnimatedSprite(tex_arr );objects[obj_name].width=110;objects[obj_name].height=100;objects[obj_name].started_time=0;objects[obj_name].ready=true;objects[obj_name].visible=false;",code1:""},{class:"image",name:"projectile_freeze",image_format:"png"},{class:"image",name:"projectile_fire",image_format:"png"},{class:"block",name:"shop_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].sx=objects[obj_name].x=0;objects[obj_name].sy=objects[obj_name].y=0;",code1:"objects[obj_name].addChild(objects.shop_player_bcg);objects[obj_name].addChild(objects.shop_spear_bcg);objects[obj_name].addChild(objects.shop_info);objects[obj_name].addChild(objects.shop_player);objects[obj_name].addChild(objects.shop_spear);objects[obj_name].addChild(objects.shop_player_prv);objects[obj_name].addChild(objects.shop_player_next);objects[obj_name].addChild(objects.shop_spear_prv);objects[obj_name].addChild(objects.shop_spear_next);objects[obj_name].addChild(objects.shop_buy_player_button);objects[obj_name].addChild(objects.shop_buy_spear_button);objects[obj_name].addChild(objects.shop_balance);objects[obj_name].addChild(objects.shop_player_info);objects[obj_name].addChild(objects.shop_spear_price);objects[obj_name].addChild(objects.shop_spear_info);objects[obj_name].addChild(objects.shop_player_title);objects[obj_name].addChild(objects.shop_spear_title);objects[obj_name].addChild(objects.shop_back_button);app.stage.addChild(objects[obj_name]);"},{class:"block",name:"shop_player",code0:"objects[obj_name]=new player_class('shop_player');objects[obj_name].sx=objects[obj_name].x=99 - 30;objects[obj_name].sy=objects[obj_name].y=112 - 45;objects[obj_name].life_level_bcg.visible=false;objects[obj_name].life_level_front.visible=false;objects[obj_name].life_level_frame.visible=false;objects[obj_name].scale_xy=1.2;",code1:""},{class:"block",name:"shop_player_info",code0:"objects[obj_name]=new PIXI.BitmapText('Цена: 30$', {fontName: 'mfont',fontSize: 32.04,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].maxWidth=150;objects[obj_name].x=176;objects[obj_name].y=305;objects[obj_name].base_tint=objects[obj_name].tint=0XFD9800;",code1:""},{class:"block",name:"shop_balance",code0:"objects[obj_name]=new PIXI.BitmapText('Баланс: 150$', {fontName: 'mfont',fontSize: 49.84,align: 'right'});objects[obj_name].anchor.set(1,0.5);objects[obj_name].maxWidth=310;objects[obj_name].x=790;objects[obj_name].y=30;objects[obj_name].base_tint=objects[obj_name].tint=0XFFE699;",code1:""},{class:"cont",name:"power_buttons_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].sx=objects[obj_name].x=190;objects[obj_name].sy=objects[obj_name].y=344;",code1:"objects[obj_name].addChild(objects.upg_button_frame);objects[obj_name].addChild(objects.freeze_button);objects[obj_name].addChild(objects.fire_button);objects[obj_name].addChild(objects.lightning_button);objects[obj_name].addChild(objects.freeze_text);objects[obj_name].addChild(objects.fire_text);objects[obj_name].addChild(objects.lightning_text);objects[obj_name].addChild(objects.message_button);app.stage.addChild(objects[obj_name]);"},{class:"sprite",name:"freeze_button",code0:"objects[obj_name].x=objects[obj_name].sx=90;objects[obj_name].y=objects[obj_name].sy=26;objects[obj_name].width=80;objects[obj_name].height=84;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){power_buttons.down('freeze')};objects[obj_name].pointerover=function(){this.tint=0x55ffff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"block",name:"freeze_text",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 18.69,align: 'center'});objects[obj_name].x=objects[obj_name].sx=147;objects[obj_name].y=objects[obj_name].sy=86;objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].base_tint=objects[obj_name].tint=0XFFFF00;",code1:""},{class:"sprite",name:"fire_button",code0:"objects[obj_name].x=objects[obj_name].sx=170;objects[obj_name].y=objects[obj_name].sy=26;objects[obj_name].width=80;objects[obj_name].height=84;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){power_buttons.down('fire')};objects[obj_name].pointerover=function(){this.tint=0x55ffff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"sprite",name:"lightning_button",code0:"objects[obj_name].x=objects[obj_name].sx=250;objects[obj_name].y=objects[obj_name].sy=26;objects[obj_name].width=80;objects[obj_name].height=84;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){power_buttons.down('lightning')};objects[obj_name].pointerover=function(){this.tint=0x55ffff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"block",name:"fire_text",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 18.69,align: 'center'});objects[obj_name].x=objects[obj_name].sx=227;objects[obj_name].y=objects[obj_name].sy=86;objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].base_tint=objects[obj_name].tint=0XFFFF00;",code1:""},{class:"block",name:"lightning_text",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 18.69,align: 'center'});objects[obj_name].x=objects[obj_name].sx=307;objects[obj_name].y=objects[obj_name].sy=89;objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].base_tint=objects[obj_name].tint=0XFFFF00;",code1:""},{class:"sprite",name:"upg_button_frame",code0:"objects[obj_name].x=objects[obj_name].sx=10;objects[obj_name].y=objects[obj_name].sy=26;objects[obj_name].width=80;objects[obj_name].height=84;objects[obj_name].visible=false;",code1:"",image_format:"png"},{class:"sprite",name:"message_button",code0:"objects[obj_name].x=objects[obj_name].sx=330;objects[obj_name].y=objects[obj_name].sy=26;objects[obj_name].width=80;objects[obj_name].height=84;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){stickers.show_panel()};objects[obj_name].pointerover=function(){this.tint=0x55ffff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"block",name:"shop_player_title",code0:"objects[obj_name]=new PIXI.BitmapText('CA', {fontName: 'mfont',fontSize: 24.92,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].maxWidth=173.99990234375;objects[obj_name].x=179;objects[obj_name].y=84;objects[obj_name].base_tint=objects[obj_name].tint=0XF2F2F2;",code1:""},{class:"image",name:"projectile_lightning",image_format:"png"},{class:"image",name:"lightning0",image_format:"png"},{class:"image",name:"lightning1",image_format:"png"},{class:"image",name:"lightning2",image_format:"png"},{class:"array",name:"blood",size:"50",code0:"var num=n;objects[obj_name][num]=new PIXI.Sprite(gres.blood_pic.texture);objects[obj_name][num].anchor.set(0.5,0.5);objects[obj_name][num].visible=false;objects[obj_name][num].width=100;objects[obj_name][num].height=100;",code1:""},{class:"sprite",name:"blood_pic",code0:"objects[obj_name].x=256;objects[obj_name].y=325;objects[obj_name].width=50;objects[obj_name].height=50;objects[obj_name].anchor.set(0.5,0.5);",code1:"",image_format:"png"},{class:"block",name:"lightning",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].width=150;objects[obj_name].height=450;objects[obj_name].anchor.set(0.5,0);",code1:""},{class:"block",name:"sbg_button",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].sx=objects[obj_name].x=691;objects[obj_name].sy=objects[obj_name].y=340;objects[obj_name].width=109.999788411458;objects[obj_name].height=110;objects[obj_name].visible=false;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerdown=function(){game.stop_button_down()};objects[obj_name].pointerover=function(){this.tint=0x55ffff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"objects[obj_name].texture=objects.back_button.texture;app.stage.addChild(objects[obj_name]);"},{class:"block",name:"collision_drawer",code0:"objects[obj_name]=new PIXI.Graphics();",code1:""},{class:"array",name:"rain_drops",size:"20",code0:"var num=n;objects[obj_name][num]=new PIXI.Sprite(gres.rain_drop.texture);objects[obj_name][num].anchor.set(0.5,0.5);objects[obj_name][num].width=50;objects[obj_name][num].height=50;",code1:""},{class:"image",name:"rain_drop",image_format:"png"},{class:"sprite",name:"shop_back_button",code0:"objects[obj_name].x=694;objects[obj_name].y=341;objects[obj_name].width=110;objects[obj_name].height=110;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=shop.back_down.bind(shop);objects[obj_name].pointerover=function(){this.tint=0x990066};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"",image_format:"png"},{class:"block",name:"shop_spear",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].sx=objects[obj_name].x=560;objects[obj_name].sy=objects[obj_name].y=172;objects[obj_name].scale_xy=0.25;objects[obj_name].rotation=0.785;objects[obj_name].anchor.set(0.5,0.5);",code1:""},{class:"block",name:"shop_spear_title",code0:"objects[obj_name]=new PIXI.BitmapText('CA', {fontName: 'mfont',fontSize: 28.48,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].maxWidth=173.99990234375;objects[obj_name].x=559;objects[obj_name].y=84;objects[obj_name].base_tint=objects[obj_name].tint=0XFFFFFF;",code1:""},{class:"block",name:"shop_spear_prv",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=377;objects[obj_name].y=140;objects[obj_name].width=80;objects[obj_name].height=80;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=shop.change_spear_down.bind(shop,-1);objects[obj_name].pointerover=function(){this.tint=0x990066};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"objects[obj_name].texture=gres.shop_player_prv.texture;"},{class:"block",name:"shop_spear_next",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=656;objects[obj_name].y=140;objects[obj_name].width=79.9998942057292;objects[obj_name].height=80;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=shop.change_spear_down.bind(shop,1);objects[obj_name].pointerover=function(){this.tint=0x990066};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"objects[obj_name].texture=gres.shop_player_next.texture;"},{class:"sprite",name:"shop_buy_player_button",code0:"objects[obj_name].x=45;objects[obj_name].y=350;objects[obj_name].width=280.99990234375;objects[obj_name].height=80;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=shop.player_buy_down.bind(shop);objects[obj_name].pointerover=function(){this.tint=0x55ffff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"",image_format:"png"},{class:"block",name:"shop_buy_spear_button",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=422;objects[obj_name].y=350;objects[obj_name].width=275;objects[obj_name].height=80;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=shop.spear_buy_down.bind(shop);objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].pointerover=function(){this.tint=0x55ffff};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"objects[obj_name].texture=gres.shop_buy_player_button.texture;"},{class:"block",name:"shop_spear_info",code0:"objects[obj_name]=new PIXI.BitmapText('Цена: 30$', {fontName: 'mfont',fontSize: 21.36,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].maxWidth=273.9998046875;objects[obj_name].x=554;objects[obj_name].y=324;objects[obj_name].base_tint=objects[obj_name].tint=0XFFFF00;",code1:""},{class:"block",name:"shop_info",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 28.48,align: 'center'});objects[obj_name].anchor.set(0.5,0);objects[obj_name].x=370;objects[obj_name].y=10;objects[obj_name].show_time=0;objects[obj_name].visible=false;objects[obj_name].tint=0XFFFF00;",code1:""},{class:"sprite",name:"shop_player_next",code0:"objects[obj_name].x=278;objects[obj_name].y=140;objects[obj_name].width=79.9998942057292;objects[obj_name].height=80;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=shop.change_player_down.bind(shop,1);objects[obj_name].pointerover=function(){this.tint=0x990066};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"",image_format:"png"},{class:"sprite",name:"shop_player_prv",code0:"objects[obj_name].x=0;objects[obj_name].y=140;objects[obj_name].width=80;objects[obj_name].height=80;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=shop.change_player_down.bind(shop,-1);objects[obj_name].pointerover=function(){this.tint=0x990066};objects[obj_name].pointerout=function(){this.tint=this.base_tint};",code1:"",image_format:"png"},{class:"block",name:"shop_spear_price",code0:"objects[obj_name]=new PIXI.BitmapText('Цена: 30$', {fontName: 'mfont',fontSize: 32.04,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].maxWidth=273.9998046875;objects[obj_name].x=558;objects[obj_name].y=272;objects[obj_name].base_tint=objects[obj_name].tint=0XFD9800;",code1:""},{class:"block",name:"s_obj2",code0:"objects[obj_name]=new PIXI.Sprite();",code1:""},{class:"block",name:"bonus0",code0:"objects[obj_name]=new PIXI.Sprite();",code1:""},{class:"block",name:"bonus1",code0:"objects[obj_name]=new PIXI.Sprite();",code1:""},{class:"block",name:"bonus2",code0:"objects[obj_name]=new PIXI.Sprite();",code1:""},{class:"sprite",name:"guide_line_base",code0:"objects[obj_name].width=300;objects[obj_name].height=29.7143310546875;objects[obj_name].anchor.set(0,0.5);objects[obj_name].x=400;objects[obj_name].y=225;",code1:"",image_format:"png"},{class:"sprite",name:"guide_line_tip",code0:"objects[obj_name].width=60;objects[obj_name].height=59.7857218424479;objects[obj_name].anchor.set(0.5,0.5);",code1:"",image_format:"png"},{class:"sprite",name:"invite_bcg",code0:"objects[obj_name].x=10;objects[obj_name].y=10;objects[obj_name].width=280.00009765625;objects[obj_name].height=400.000130208333;objects[obj_name].interactive=true;objects[obj_name].pointerover = function(){cards_menu.pover=1};objects[obj_name].pointerout = function(){cards_menu.pover=0};objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;",code1:"",image_format:"png"},{class:"block",name:"invite_name",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 25,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].x=150;objects[obj_name].y=248;objects[obj_name].maxWidth=224.99990234375;objects[obj_name].base_tint=objects[obj_name].tint=0XFFE699;",code1:""},{class:"block",name:"invite_rating",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 25,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].x=150;objects[obj_name].y=287;objects[obj_name].base_tint=objects[obj_name].tint=0XE2F0D9;",code1:""},{class:"block",name:"invite_avatar",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].sx=objects[obj_name].x=80;objects[obj_name].sy=objects[obj_name].y=80;objects[obj_name].width=140.00009765625;objects[obj_name].height=140;",code1:""},{class:"cont",name:"invite_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].sx=objects[obj_name].x=251;objects[obj_name].sy=objects[obj_name].y=-10;",code1:"objects[obj_name].addChild(objects.invite_bcg);objects[obj_name].addChild(objects.invite_avatar);objects[obj_name].addChild(objects.invite_name);objects[obj_name].addChild(objects.invite_rating);objects[obj_name].addChild(objects.invite_button);objects[obj_name].addChild(objects.invite_close);objects[obj_name].addChild(objects.invite_button_title);app.stage.addChild(objects[obj_name]);"},{class:"sprite",name:"invite_button",code0:"objects[obj_name].x=25;objects[obj_name].y=310;objects[obj_name].width=250;objects[obj_name].height=80;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=function(){cards_menu.send_invite()};objects[obj_name].pointerover=function(){this.tint=0x444444};objects[obj_name].pointerout=function(){this.tint=this.base_tint};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"block",name:"invite_button_title",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 42.72});objects[obj_name].anchor.set(0.5,0.6);objects[obj_name].x=150;objects[obj_name].y=354;objects[obj_name].base_tint=objects[obj_name].tint=0X3F3F3F;",code1:""},{class:"sprite",name:"invite_close",code0:"objects[obj_name].x=213;objects[obj_name].y=16;objects[obj_name].width=65;objects[obj_name].height=70;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=function(){cards_menu.hide_invite_dialog()};objects[obj_name].pointerover=function(){this.tint=0x117444};objects[obj_name].pointerout=function(){this.tint=this.base_tint};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"sprite",name:"stickers_bcg",code0:"objects[obj_name].x=10;objects[obj_name].y=10;objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"block",name:"sticker_0",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=30;objects[obj_name].y=70;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_0'].texture;",code1:""},{class:"block",name:"sticker_1",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=100;objects[obj_name].y=70;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_1'].texture;",code1:""},{class:"block",name:"sticker_2",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=170;objects[obj_name].y=70;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_2'].texture;",code1:""},{class:"block",name:"sticker_3",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=240;objects[obj_name].y=70;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_3'].texture;",code1:""},{class:"block",name:"sticker_4",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=30;objects[obj_name].y=140;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_4'].texture;",code1:""},{class:"block",name:"sticker_5",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=100;objects[obj_name].y=140;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_5'].texture;",code1:""},{class:"block",name:"sticker_6",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=170;objects[obj_name].y=140;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_6'].texture;",code1:""},{class:"block",name:"sticker_7",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=240;objects[obj_name].y=140;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_7'].texture;",code1:""},{class:"block",name:"sticker_8",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=30;objects[obj_name].y=210;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_8'].texture;",code1:""},{class:"block",name:"sticker_9",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=100;objects[obj_name].y=210;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_9'].texture;",code1:""},{class:"block",name:"sticker_10",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=170;objects[obj_name].y=210;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_10'].texture;",code1:""},{class:"block",name:"sticker_11",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=240;objects[obj_name].y=210;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_11'].texture;",code1:""},{class:"block",name:"sticker_12",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=30;objects[obj_name].y=280;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_12'].texture;",code1:""},{class:"block",name:"sticker_13",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=100;objects[obj_name].y=280;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_13'].texture;",code1:""},{class:"block",name:"sticker_14",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=170;objects[obj_name].y=280;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_14'].texture;",code1:""},{class:"block",name:"sticker_15",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].x=240;objects[obj_name].y=280;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].texture=game_res.resources['sticker_texture_15'].texture;",code1:""},{class:"cont",name:"stickers_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].ready=true;objects[obj_name].sx=objects[obj_name].x=230;objects[obj_name].sy=objects[obj_name].y=60;",code1:"app.stage.addChild(objects[obj_name]);objects[obj_name].addChild(objects.stickers_bcg);objects[obj_name].addChild(objects.close_stickers);objects[obj_name].addChild(objects.text6);for (var z=0;z<16;z++) {objects[obj_name].addChild(objects['sticker_'+z]);objects['sticker_'+z].width=70;objects['sticker_'+z].height=70;objects['sticker_'+z].interactive=true;objects['sticker_'+z].buttonMode=true;const id=z;objects['sticker_'+id].pointerover=function(){this.tint=0xFF6666};objects['sticker_'+id].pointerout=function(){this.tint=this.base_tint};objects['sticker_'+id].pointerdown=function(){stickers.send(id)};}objects[obj_name].show=function(){this.children.forEach(c=>{c.alpha=1;c.tint=c.base_tint})};"},{class:"block",name:"text6",code0:"objects[obj_name]=new PIXI.BitmapText(['Отправить стикер','Send sticker'][LANG], {fontName: 'mfont',fontSize: 25,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].x=140;objects[obj_name].y=45;objects[obj_name].base_tint=objects[obj_name].tint=0XBDD7EE;",code1:""},{class:"sprite",name:"close_stickers",code0:"objects[obj_name].buttonMode=true;objects[obj_name].interactive=true;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].pointerdown=()=>{stickers.hide_panel()};objects[obj_name].x=260;objects[obj_name].y=20;",code1:"objects[obj_name].pointerover=function(){this.tint=0xff0000};objects[obj_name].pointerout=function(){this.tint=0xffffff};",image_format:"png"},{class:"sprite",name:"req_bcg",code0:"objects[obj_name].x=10;objects[obj_name].y=10;objects[obj_name].width=360.947395833333;objects[obj_name].height=219.99990234375;objects[obj_name].base_tint=objects[obj_name].tint;objects[obj_name].interactive=true;",code1:"",image_format:"png"},{class:"block",name:"req_name",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 25,align: 'center'});objects[obj_name].anchor.set(0.5,0);objects[obj_name].x=251;objects[obj_name].y=73;objects[obj_name].base_tint=objects[obj_name].tint=0XFFC000;",code1:""},{class:"block",name:"req_rating",code0:"objects[obj_name]=new PIXI.BitmapText('', {fontName: 'mfont',fontSize: 30,align: 'center'});objects[obj_name].anchor.set(0.5,0);objects[obj_name].x=251;objects[obj_name].y=117;objects[obj_name].base_tint=objects[obj_name].tint=0XFFFF00;",code1:""},{class:"block",name:"req_avatar",code0:"objects[obj_name]=new PIXI.Sprite();objects[obj_name].sx=objects[obj_name].x=50;objects[obj_name].sy=objects[obj_name].y=70;objects[obj_name].width=90.2368489583333;objects[obj_name].height=80;",code1:""},{class:"cont",name:"req_cont",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;objects[obj_name].sx=objects[obj_name].x=210;objects[obj_name].sy=objects[obj_name].y=-10;",code1:"objects[obj_name].addChild(objects.req_bcg);objects[obj_name].addChild(objects.req_title);objects[obj_name].addChild(objects.req_avatar);objects[obj_name].addChild(objects.req_name);objects[obj_name].addChild(objects.req_rating);objects[obj_name].addChild(objects.req_ok);objects[obj_name].addChild(objects.req_deny);app.stage.addChild(objects[obj_name]);"},{class:"sprite",name:"req_ok",code0:"objects[obj_name].x=20;objects[obj_name].y=145;objects[obj_name].width=170.447347005208;objects[obj_name].height=75;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=function(){req_dialog.accept()};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"sprite",name:"req_deny",code0:"objects[obj_name].x=190;objects[obj_name].y=145;objects[obj_name].width=170.4474609375;objects[obj_name].height=75;objects[obj_name].interactive=true;objects[obj_name].buttonMode=true;objects[obj_name].pointerdown=function(){req_dialog.reject()};objects[obj_name].base_tint=objects[obj_name].tint;",code1:"",image_format:"png"},{class:"block",name:"req_title",code0:"objects[obj_name]=new PIXI.BitmapText(['Приглашение','Invitation'][LANG], {fontName: 'mfont',fontSize: 25,align: 'center'});objects[obj_name].anchor.set(0.5,0);objects[obj_name].x=191;objects[obj_name].y=30;objects[obj_name].base_tint=objects[obj_name].tint=0XFFC000;",code1:""},{class:"block",name:"guide_line",code0:"objects[obj_name]=new PIXI.Container();objects[obj_name].visible=false;",code1:"objects[obj_name].addChild(objects.guide_line_base);objects[obj_name].addChild(objects.guide_line_tip);app.stage.addChild(objects[obj_name]);"},{class:"image",name:"hand1",image_format:"png"},{class:"sprite",name:"hand",code0:"objects[obj_name].x=objects[obj_name].sx=10;objects[obj_name].y=objects[obj_name].sy=280;objects[obj_name].width=150;objects[obj_name].height=160;objects[obj_name].visible=false;",code1:"app.stage.addChild(objects[obj_name]);",image_format:"png"},{class:"image",name:"freeze_bonus_bcg",image_format:"png"},{class:"image",name:"fire_bonus_bcg",image_format:"png"},{class:"image",name:"lightning_bonus_bcg",image_format:"png"},{class:"image",name:"money_bonus_bcg",image_format:"png"},{class:"block",name:"loading_info",code0:"objects[obj_name]=new PIXI.BitmapText(['Загружаем...','Loading...'][LANG], {fontName: 'mfont',fontSize: 24.92,align: 'center'});objects[obj_name].anchor.set(0.5,0.5);objects[obj_name].sx=objects[obj_name].x=400;objects[obj_name].sy=objects[obj_name].y=220;objects[obj_name].visible=false;",code1:"app.stage.addChild(objects[obj_name]);"}];