1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7150],{97150:function(e,t,i){i.r(t),i.d(t,{default:function(){return g}});var s=i(82260),a=i.n(s),n=[{items:[{title:"Senior Product Manager",name:"Zinka PiukoviÄ"},{title:"Product Manager",name:"Tatjana IvoÅ¡eviÄ"},{title:"Product Manager",name:"Zoran GrÄiÄ"},{title:"Product Manager",name:"Csongor Farkas"}]},{items:[{title:"Lead Designer",name:"Jovana ŽivkoviÄ"}]},{items:[{title:"Frontend Developer",name:"SaÅ¡a BakiÄ"},{title:"Frontend Developer",name:"Mladen Konkolj"}]},{items:[{title:"Software Architect",name:"Vojislav ZeliÄ"},{title:"Senior Software Developer",name:"Kristijan KanalaÅ¡"},{title:"Backend Developer",name:"Stevan Kazi"},{title:"Backend Developer",name:"Nemanja GligoriÄ"},{title:"Backend Developer",name:"Karolina Bicok"}]}];class h extends a().Scene{init(e){}preload(){this.load.setBaseURL("/hr-invaders/"),this.load.image("background","assets/background.png"),this.load.image("title","assets/credits/title.png"),this.load.image("cta","assets/credits/cta.png"),this.load.image("button_back_to_menu","assets/credits/button_back_to_menu.png")}create(){this.add.tileSprite(this.cameras.main.width/2,this.cameras.main.height/2,this.cameras.main.width,this.cameras.main.height,"background"),this.add.sprite(this.game.config.width/2,150,"title");let e=150;n.forEach(t=>{e+=100;let i=175*t.items.length,s=this.game.config.width/2-i/2;t.items.forEach((t,i)=>{let a=Math.round(s+175*i);this.add.text(a,e,t.name,{fontFamily:"Arial",fontStyle:"bold",fontSize:"18px",fixedWidth:175,align:"center"}),this.add.text(a,e+30,t.title,{fontFamily:"Arial",fontSize:"14px",fixedWidth:175,align:"center"})})}),this.add.sprite(this.game.config.width/2,150+100*n.length+150,"cta").setInteractive({useHandCursor:!0}).on("pointerup",()=>{window.location.href="https://poslovi.infostud.com/poslodavac/infostud-grupa/1067"}),this.add.sprite(this.game.config.width/2,150+100*n.length+225,"button_back_to_menu").setInteractive({useHandCursor:!0}).on("pointerup",()=>{this.scene.start("MainMenuScene")})}update(e,t){}constructor(){super({key:"CreditsScene"})}}let d,r=0;class o extends a().Scene{init(e){}preload(){this.load.setBaseURL("/hr-invaders/"),this.load.image("background","assets/background.png"),this.load.image("player","assets/player.png"),this.load.image("player_laser","assets/player_laser.png"),this.load.image("enemy_laser","assets/enemy_laser.png"),this.load.image("enemy_1","assets/enemy_1.png"),this.load.image("enemy_2","assets/enemy_2.png"),this.load.image("enemy_3","assets/enemy_3.png"),this.load.image("enemy_4","assets/enemy_4.png"),this.load.image("enemy_5","assets/enemy_5.png"),this.load.image("cloud_1","assets/cloud_1.png"),this.load.image("cloud_2","assets/cloud_2.png"),this.load.image("cloud_3","assets/cloud_3.png"),this.load.image("cloud_4","assets/cloud_4.png"),this.load.image("cloud_5","assets/cloud_5.png")}create(){this.keyLeft=this.input.keyboard.addKey(a().Input.Keyboard.KeyCodes.LEFT),this.keyRight=this.input.keyboard.addKey(a().Input.Keyboard.KeyCodes.RIGHT),this.keyFire=this.input.keyboard.addKey(a().Input.Keyboard.KeyCodes.Z),this.add.tileSprite(this.cameras.main.width/2,this.cameras.main.height/2,this.cameras.main.width,this.cameras.main.height,"background"),this.player=this.physics.add.sprite(this.game.config.width/2,this.game.config.height-100,"player"),this.player.scale=.75,this.player.depth=10,this.enemies=this.physics.add.group();let e=this.physics.add.group({key:"enemy_1",frameQuantity:10});this.enemies.addMultiple(e.getChildren());let t=this.physics.add.group({key:"enemy_2",frameQuantity:10});this.enemies.addMultiple(t.getChildren());let i=this.physics.add.group({key:"enemy_3",frameQuantity:10});this.enemies.addMultiple(i.getChildren());let s=this.physics.add.group({key:"enemy_4",frameQuantity:10});if(this.enemies.addMultiple(s.getChildren()),this.game.config.height>800){let e=this.physics.add.group({key:"enemy_5",frameQuantity:10});this.enemies.addMultiple(e.getChildren())}a().Actions.GridAlign(this.enemies.getChildren(),{width:10,height:5,cellWidth:100,cellHeight:100,x:this.game.config.width/2-500,y:100,position:a().Display.Align.CENTER}),this.enemies.scaleXY(-.25,-.25),this.enemies.setDepth(10),this.fireFromRandomEnemy(),d=this.add.text(20,20,"Score: 0",{fontFamily:"Arial",fontSize:"14px"})}fireFromRandomEnemy(){let e=this.enemies.getChildren();if(0===e.length)return;let t=a().Math.Between(0,e.length-1),i=e[t],s=this.physics.add.sprite(i.x,i.y,"enemy_laser");s.angle=180,s.setVelocityY(500),s.depth=0,this.physics.add.collider(s,this.player,(e,t)=>{e.destroy(),t.destroy();let i=this.physics.add.sprite(t.x,t.y,`cloud_${a().Math.Between(1,5)}`);this.tweens.add({targets:i,alpha:0,duration:500,ease:"Power2"}),this.time.delayedCall(500,()=>{i.destroy()}),this.time.delayedCall(1500,()=>{this.scene.start("MainMenuScene")})}),this.time.delayedCall(2e3,this.fireFromRandomEnemy,[],this)}update(e,t){if(this.keyLeft.isDown&&(this.player.x-=.75*t),this.keyRight.isDown&&(this.player.x+=.75*t),this.player.x>=this.game.config.width-100?this.player.x=this.game.config.width-100:this.player.x<=100&&(this.player.x=100),"right"===this.enemyMovementDirection?this.enemies.incX(.05*t):this.enemies.incX(-(.05*t*1)),this.enemies.getChildren().forEac
1h(e=>{if(e.x>=this.game.config.width-100){this.enemyMovementDirection="left";return}if(e.x<=100){this.enemyMovementDirection="right";return}}),this.keyFire.isDown&&e-this.lastFireTime>=500){this.lastFireTime=e;let t=this.physics.add.sprite(this.player.x,this.player.y,"player_laser");t.setVelocityY(-500),t.setAngularVelocity(1e3),t.depth=0,this.physics.add.collider(t,this.enemies,(e,t)=>{"enemy_3"===t.texture.key?r+=200:r+=100,d.text="Score: "+r,e.destroy(),t.destroy();let i=this.physics.add.sprite(t.x,t.y,`cloud_${a().Math.Between(1,5)}`);i.setAngularVelocity(100),this.tweens.add({targets:i,alpha:0,duration:500,ease:"Power2"}),this.time.delayedCall(500,()=>{i.destroy()})})}0!==this.enemies.getChildren().length||this.winConditionTriggered||(this.winConditionTriggered=!0,this.time.delayedCall(1500,()=>{this.scene.start("MainMenuScene")}))}constructor(){super({key:"GameScene"}),this.enemyMovementDirection="right",this.lastFireTime=0,this.winConditionTriggered=!1}}class l extends a().Scene{init(e){}preload(){this.load.setBaseURL("/hr-invaders/"),this.load.image("background","assets/background.png"),this.load.image("logo","assets/main_menu/logo.png"),this.load.image("button_play","assets/main_menu/button_play.png"),this.load.image("button_credits","assets/main_menu/button_credits.png"),this.load.image("controls","assets/main_menu/controls.png")}create(){this.add.tileSprite(this.cameras.main.width/2,this.cameras.main.height/2,this.cameras.main.width,this.cameras.main.height,"background"),this.add.sprite(this.game.config.width/2,this.game.config.height/2-200,"logo"),this.add.sprite(this.game.config.width/2,this.game.config.height/2-50,"button_play").setInteractive({useHandCursor:!0}).on("pointerup",()=>{this.scene.start("GameScene")}),this.add.sprite(this.game.config.width/2,this.game.config.height/2-0,"button_credits").setInteractive({useHandCursor:!0}).on("pointerup",()=>{this.scene.start("CreditsScene")}),this.add.sprite(this.game.config.width/2,this.game.config.height/2+150,"controls")}update(e,t){}constructor(){super({key:"MainMenuScene"})}}let m={title:"HR Invaders",type:a().AUTO,width:window.innerWidth,height:screen.availHeight,scene:[l,o,h],physics:{default:"arcade",arcade:{debug:!1}}};class c extends a().Game{constructor(){super(m)}}var g=c}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.