subject

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'

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
What type of file does a cookie place on web site visitors' computers so that web site managers can customize their sites to their visitors' preferences?
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
question
Computers and Technology, 23.06.2019 08:00
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
question
Computers and Technology, 24.06.2019 02:30
How to apply the fly in effect to objects on a slide
Answers: 1
You know the right answer?
P2 laser works as intended but P1 laser does not function, it kills itself when it fires and doesn't...
Questions
question
Physics, 10.12.2019 04:31
question
Mathematics, 10.12.2019 04:31
question
Mathematics, 10.12.2019 04:31
Questions on the website: 13722361