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.

Newcomers DBPro Corner / Adding Array for different rotations around the sun?

Author
Message
Lytewolf
15
Years of Service
User Offline
Joined: 4th Dec 2008
Location: Montreal Canada
Posted: 30th Dec 2008 14:55
Hi,

I recently stumbled on this coding

http://forum.thegamecreators.com/?m=forum_view&t=61145&b=7

which enabled me to create a moving sphere around a textured sun. My question is to create multiple spheres moving around the sun at different radiuses and speed, could it be used with storing values in arrays?

currently the coding looks like this.






LW

Hi!
Not_Maindric
17
Years of Service
User Offline
Joined: 10th Jul 2007
Location: Omaha, NE
Posted: 30th Dec 2008 17:39
1) Not to be nip picky, but it it Radii, not radiuses.

2) Can't you just make anther set of variable (Or turn what you have to arrays) and change those values and put them in your code?

Login to post a reply

Server time is: 2024-09-28 00:21:19
Your offset time is: 2024-09-28 00:21:19