The code example above doesn't particularly use any graphics memory (apart from the standard buffers), because you don't load or create any images. So you don't need to free any images.
Having said that, you will get faster code if you create a small number of images of the colors used (blue, red, green, orange etc) and then select them at random.
Also, Blitz will clear up everything when it exits.
You can simplify your code (and probably make it a little faster) by using Rand() in place of Int(Rnd()), as it equates to the same thing.
Having said that, you will get faster code if you create a small number of images of the colors used (blue, red, green, orange etc) and then select them at random.
Also, Blitz will clear up everything when it exits.
You can simplify your code (and probably make it a little faster) by using Rand() in place of Int(Rnd()), as it equates to the same thing.