Just use a for loop. To make it efficient, you will need to structure your media, ie
Sprites 1-400 are static and don't need physics applied.
401-1400 are enemies
1401-1800 Are objects that need physics
etc...
That way you can run a for check on specific groups, like
For i=401 to 1400
if sprite collision(i,groundsprite)=0
paste sprite i,x,y-1
endif
next i
@Thecomet
I was referencing relativity of points of reference. Here is an example:
If you wake up in a train that is on a perfect smooth, straight track with no doors, cracks in the wall, or windows, how will you know if you are moving?
The answer, you won't until the train turns or something like that.
Similarly, UP is a reference to what is above something from a specific frame of reference. If I look at someone falling upside down, to me they are falling down. However, to them they are falling towards their head, which is up to them. If THEY were to wake up falling upside down is a dark cave (so they can't see anything else), how would they know if they are falling or flying? Again they can't.
Also, gravity pulls everything to the center of MASS. Again, though, it is a frame of reference thing. If you are using the Earth as the frame of reference, heading towards the top of the planet is up and the bottom is down, rather than towards the center for down and the atmosphere for up.
Summing up: I was just being a smart a$$ with frames of reference.
Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose