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 :( https://code.sololearn.com/WZZqmUzplNfz
7/18/2019 2:02:24 PM
Airree4 Answers
New AnswerI 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.
https://content.screencast.com/users/cv2k10/folders/Jing/media/ba728a64-ef13-49a3-894f-a65b5aaa14d5/2019-07-18_2237%20sl%20debugger.png
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message