how 2 move group of sprites at same time
November 16th 2005, 06:54 PM

RANKN67


how do i make a group of created sprites move all at the same time?
Actually, I lied before.You can do it.But it's
impossible to explain.Either that or I'm just mean!(edit - or ignorant!)
impossible to explain.Either that or I'm just mean!(edit - or ignorant!)

You'd have to do something like this:
move(&sprite1, 2, 300, 1);
move(&sprite2, 2, 300, 1);
move(&sprite3, 2, 300, 1);
move(&sprite4, 2, 300, 1);
move_stop(&sprite5, 2, 300, 1);
The trick is to use 'move' for all movements except the last, or longest, move.
move(&sprite1, 2, 300, 1);
move(&sprite2, 2, 300, 1);
move(&sprite3, 2, 300, 1);
move(&sprite4, 2, 300, 1);
move_stop(&sprite5, 2, 300, 1);
The trick is to use 'move' for all movements except the last, or longest, move.