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 19:40
Solve the following javafx application: write a javafx application that analyzes a word. the user would type the word in a text field, and the application provides three buttons for the following: - one button, when clicked, displays the length of the word.- another button, when clicked, displays the number of vowels in the word.- another button, when clicked, displays the number of uppercase letters in the word(use the gridpane or hbox and vbox to organize the gui controls).
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Ineed to know the anwser to all these questions
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
question
Computers and Technology, 24.06.2019 18:30
Dereck works for long hours on his computer.  he frequently experiences physical strain by the end of the day because he does not follow an important rule of ergonomics with respect to the use of keyboards.  which of the following actions of dereck could lead to physical strain? a.  placing the keyboard exactly in front of him while typingb.  keeping hands and wrists straight while typingc.  using wrist pads throughout the dayd.  pounding at the keys on the keyboard while typinge.  resting his hands on the keyboard when he is not typing
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
Mathematics, 18.03.2021 01:00
question
Mathematics, 18.03.2021 01:00
question
Mathematics, 18.03.2021 01:00
question
Mathematics, 18.03.2021 01:00
question
Social Studies, 18.03.2021 01:00
question
Mathematics, 18.03.2021 01:00
question
Mathematics, 18.03.2021 01:00
question
Mathematics, 18.03.2021 01:00
question
Mathematics, 18.03.2021 01:00
Questions on the website: 13722367