Computers and Technology

P2 laser works as intended but P1 laser does not function, it kills itself when it fires and doesn't deal damage to any P2 tank. }
for(var laserIndex1 = 0; laserIndex1 < p1laserFollowerList. length; laserIndex1++)
{
if(p1laserFollowerList[laserIndex1] .isTouching(p2TankBase) && p2Invicible == false)
{
p2CurrentHealth -= 3.5;
p2Invicible = true;
setTimeout(function()
{
p2Invicible = false;
}, 1500);
}
}
for(var laserIndex2 = 0; laserIndex2 < p2laserFollowerList. length; laserIndex2++)
{
if(p2laserFollowerList[laserIndex2] .isTouching(p1TankBase) && p1Invicible == false)
{
p1CurrentHealth -= 3.5;
p1Invicible = true;
setTimeout(function()
{
p1Invicible = false;
}, 1500);
}
}


P2 laser works as intended but P1 laser does not function, it kills itself when it fires and doesn'
P2 laser works as intended but P1 laser does not function, it kills itself when it fires and doesn'

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:30, ParallelUniverse
Which of the statements below is true? the formatting, standard, and drawing commands are unavailable. the formatting, standard, and drawing commands have been used. the formatting, standard, and drawing toolbars are displayed. the formatting, standard, and drawing toolbars are hidden.
Answers: 1
image
Computers and Technology, 22.06.2019 10:00, kimmmmmmy333
According to alisa miller foreign news bureaus
Answers: 3
image
Computers and Technology, 23.06.2019 08:00, hernandez09297
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
image
Computers and Technology, 23.06.2019 13:30, Gearyjames8
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
Do you know the correct answer?
P2 laser works as intended but P1 laser does not function, it kills itself when it fires and doesn't...

Questions in other subjects:

Konu
Mathematics, 04.03.2021 14:00
Konu
Mathematics, 04.03.2021 14:00