This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-05-06 14:42:25

addy107
Scratcher
Registered: 2009-01-10
Posts: 94

I want a basic orbit thing

I want to have have a galaxy Just an earth orbiting the sun  and orbiting the earth is a moon k?


*Knock knock*/Whos there?/Scratch!/Scratch who?/Scratch Cat!

Offline

 

#2 2010-05-09 11:29:23

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: I want a basic orbit thing

Well, you might try this: Make a sun sprite and then an earth sprite. On the earth sprite, set the costume center somewhere away from the planet. Then on the earth script, set it to go to the sun's location and forever turn 1 degree. Then make a moon and set the costume center somewhere far from the image of the moon. Then on the scripts write a code that calculates the points on the circle with a radius of the lenght of the earth sprite, and have the moon go to that location and forever turn 1 degree. It's a bit complicated, but it should work.


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#3 2010-05-09 14:27:31

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: I want a basic orbit thing

Ooh! Pick me! Pick me!  tongue  I uploaded a basic model to my test account... Iz pwiddy  big_smile

Earth/Moon/Sun Base Model


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#4 2010-05-09 16:15:42

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: I want a basic orbit thing

Nice! I have a sudden urge to dowload... and add more planets! (Try stamping the moon... it looks really cool!)

Last edited by greenflash (2010-05-09 16:29:31)


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#5 2010-05-10 14:16:46

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: I want a basic orbit thing

greenflash wrote:

Nice! I have a sudden urge to dowload... and add more planets! (Try stamping the moon... it looks really cool!)

So it does  big_smile  And thanks!  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

Board footer