Closed ROODAY closed 10 years ago
I commented out the lines in update() where you update all the members of the pBullet array and it stopped crashing. Interesting...
Does it fire a bullet? Maybe it's trying to put in too many items in the array at the same time?
Yes it is firing a bullet. I did notice these things:
Push the commit, we can all work from there
Upon firing a bullet, the game tab freezes, leaving no errors in the console. AFAIK, this can only be caused by an infinite loop or too many objects at once. I'm not sure which is the issue here.