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 / Sprite in a circle

Author
Message
tripleF
18
Years of Service
User Offline
Joined: 4th Jun 2006
Location:
Posted: 21st Aug 2006 22:50
Hi, im doing a 2d space shooter, im wanting to move some of the alien waves in circle.I wondered what is the best way to move a sprite in
a circle.
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Aug 2006 23:53
Some pseudo code :



Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
tripleF
18
Years of Service
User Offline
Joined: 4th Jun 2006
Location:
Posted: 22nd Aug 2006 01:12
Cheers
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 23rd Aug 2006 20:20 Edited at: 23rd Aug 2006 20:20
Or maybe this?

Needs to be in a loop of course. Just not sure if DO and LOOP work in DGSDK, as I don't have it. Because of that, this code may not even work. You should get the main idea though.

Login to post a reply

Server time is: 2024-06-17 05:08:02
Your offset time is: 2024-06-17 05:08:02