Shoot 'em up game creation lesson 5 (Visual Basic)

Channel:
Subscribers:
64,099
Published on ● Video Link: https://www.youtube.com/watch?v=ISk9uE66xH0



Duration: 18:27
1,261 views
15


In this tutorial we fix a potential future bug by limiting the array size of missileArray to 5. We create 5 missile picturebox objects at the beginning of the game and change their positions during the game, instead of adding a new picturebox element to the array (and making the array bigger and bigger) everytime we shoot - since the array will get too big and slow down the program.







Tags:
array troubleshooting visual basic