Help, I am desperate | SoloLearn: Learn to code for FREE!


Help, I am desperate

I have been making a code. On line 143, it shows an error message, even though it has no indication why. I have tried almost everything to fix it, but still couldn't succeed. Please help :(

7/18/2019 2:02:24 PM


4 Answers

New Answer


I use debugger, found that PROJECTILES has 2 array elements, first one is a Projectile object, but the second element is an integer 0, which cause the undefined error.


Use debugger, it would help to pinpoint the problem.


Calviղ I cannot thank you enough. I was suffering for almost 2 hours now