Historical forum-msg-id-134753-edit, Revision 2

Original date:2020-02-09 03:12:20 Edited by: Maccuq Subject: Re: Shooting Multiple Bullets

Thank you. However I had to fix a couple of things. Like putting the for loop in between the begin and end drawing functions. 

Yes, sorry i had no way to test my code and it was not the thing you asked about so i overlooked that.

Also, when the last bullet of the array is done, there is a subscript value out of bounds error. 
Value 1 is out of bounds, reading from a sequence length of 0 in subscript #1 of "bullets" 

This statement is not true. Copy my code without changing anything (don't remove continue) except from moving BeginDraw/EndDraw functions outside for loop :)

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu