I hate being a n00b.
I'm working on a simple, sprite-based 2D game in which I want about 10 or 20 of the same image to be placed at random points on the screen. I've never been good with arrays, and I imagine that arrays are how I'm going to have to go about doing this. I've included a very, VERY basic snippit that shows how I'm positioning the one I have to work with. Basically, I need to use an array for two things:
1) Create multiple copies of one image, i.e.
dim g(20)
load image "grave.bmp",g
2) Use only a few lines of code to create a random position for each of those images.
Anyone help? I'll be glad to include you in the 'credits.' Thanks!
I will eat your flesh.
