I found a fix. What i did is i made 2 more array list for the dead aliens and bullets to store the index into. Afther the loops have ended i made 2 extra loops to delete the aliens and bullets.
...
Type: Posts; User: The_pizzaguy
I found a fix. What i did is i made 2 more array list for the dead aliens and bullets to store the index into. Afther the loops have ended i made 2 extra loops to delete the aliens and bullets.
...
Thanks XD
I hadnt thought of that yet thank you
When a bullit bullit hits a alien it creates this error :
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at...