Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / moving multiple objects

Author
Message
Iconik
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location:
Posted: 10th May 2009 08:13
Hi, is there anyway to move multiple object whos id's are between to numbers simontaneously?

Thanks in advance.
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 10th May 2009 14:57
Why do you want to do that? If it's because you want less code, you could use a 'for' block, if you don't already know what that is.

That will move all sprites who's id's are between the first sprite number and the last sprite number, inclusive, one after another. It will look like they are moving at the same time, if that's what you're asking for.

#ifdef _DEBUG
FixBugs(All);
#endif
Iconik
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location:
Posted: 11th May 2009 02:28
cheers, I already knew about "for" just for some unkown reason didnt think of it.

Login to post a reply

Server time is: 2024-11-25 12:29:59
Your offset time is: 2024-11-25 12:29:59