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

1,332 views · Published 29 June 2013 · 18:27 · Indexed 29 October 2026

Channel: Magic Monk · 2013 · Science & Technology

Watch on YouTube

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.

More from this channel