Sorry, the main bit is the function update_types()
so your basically drawing the image called "image" to the screen at the types x and y pos.
Function update_types() For i.img= Each img i\x=i\x+i\speedx If i\x>740 Or i\x <50 Then i\speedx=i\speedx*-1 End If i\y=i\y+i\speedy If i\y>540 Or i\y<50 Then i\speedx=i\speedx*-1 End If DrawImage image,i\x,i\y Next End Function [code] If i take out all the movement crap, your left with : [code] Function update_types() For i.img= Each img DrawImage image,i\x,i\y Next End Function
so your basically drawing the image called "image" to the screen at the types x and y pos.