Code​ ​the​ ​Stars​ ​in​ ​Scratch
1.​ ​Click​ ​on​ ​“Stars”​ ​and​ ​make​ ​sure​ ​you​ ​are​ ​on​ ​the​ ​“Scripts”​ ​tab
2.​ ​Drag​ ​over​ ​the​ ​“When​ ​I​ ​receive​ ​.​ ​.​ ​.”​ ​block​ ​from​ ​“Events”
3.​ ​Click​ ​on​ ​the​ ​down​ ​triangle​ ​and​ ​choose​ ​“new​ ​message.​ ​.​ ​.”
4.​ ​In​ ​the​ ​“New​ ​Message”​ ​box​ ​type,​ ​“color”​ ​and​ ​click​ ​“ok”
5.​ ​Drag​ ​over​ ​the​ ​“forever”​ ​block​ ​from​ ​“Control”
6.​ ​Drag​ ​over​ ​the​ ​“change​ ​color​ ​effect​ ​by​ ​25”​ ​box​ ​from​ ​“Looks”
7.​ ​Drag​ ​over​ ​the​ ​“when​ ​left​ ​arrow​ ​key​ ​pressed”​ ​block​ ​from​ ​“Events.”​ ​Hint:​ ​You​ ​may​ ​have​ ​to​ ​click
the​ ​down​ ​triangle​ ​to​ ​make​ ​the​ ​block​ ​read​ ​“left​ ​arrow.”
8.​ ​Drag​ ​over​ ​the​ ​“forever”​ ​block​ ​from​ ​“Events.”
9.​ ​Drag​ ​over​ ​the​ ​“broadcast​ ​color”​ ​block​ ​from​ ​“Events”
10.​ ​Test​ ​your​ ​code​ ​to​ ​see​ ​if​ ​it​ ​works!​ ​If​ ​it​ ​does​ ​not​ ​work,​ ​double​ ​check​ ​your​ ​work.​ ​If​ ​it​ ​STILL
doesn’t​ ​work,​ ​don’t​ ​get​ ​frustrated.​ ​Writing​ ​code​ ​is​ ​hard.​ ​It​ ​took​ ​me​ ​A​ ​LOT​ ​of​ ​trying​ ​to​ ​code​ ​this
Earth​ ​and​ ​Moon​ ​to​ ​orbit​ ​correctly!!

Code the stars in scratch

  • 1.
    Code​ ​the​ ​Stars​​in​ ​Scratch 1.​ ​Click​ ​on​ ​“Stars”​ ​and​ ​make​ ​sure​ ​you​ ​are​ ​on​ ​the​ ​“Scripts”​ ​tab 2.​ ​Drag​ ​over​ ​the​ ​“When​ ​I​ ​receive​ ​.​ ​.​ ​.”​ ​block​ ​from​ ​“Events”
  • 2.
    3.​ ​Click​ ​on​​the​ ​down​ ​triangle​ ​and​ ​choose​ ​“new​ ​message.​ ​.​ ​.” 4.​ ​In​ ​the​ ​“New​ ​Message”​ ​box​ ​type,​ ​“color”​ ​and​ ​click​ ​“ok”
  • 3.
    5.​ ​Drag​ ​over​​the​ ​“forever”​ ​block​ ​from​ ​“Control” 6.​ ​Drag​ ​over​ ​the​ ​“change​ ​color​ ​effect​ ​by​ ​25”​ ​box​ ​from​ ​“Looks”
  • 4.
    7.​ ​Drag​ ​over​​the​ ​“when​ ​left​ ​arrow​ ​key​ ​pressed”​ ​block​ ​from​ ​“Events.”​ ​Hint:​ ​You​ ​may​ ​have​ ​to​ ​click the​ ​down​ ​triangle​ ​to​ ​make​ ​the​ ​block​ ​read​ ​“left​ ​arrow.” 8.​ ​Drag​ ​over​ ​the​ ​“forever”​ ​block​ ​from​ ​“Events.”
  • 5.
    9.​ ​Drag​ ​over​​the​ ​“broadcast​ ​color”​ ​block​ ​from​ ​“Events” 10.​ ​Test​ ​your​ ​code​ ​to​ ​see​ ​if​ ​it​ ​works!​ ​If​ ​it​ ​does​ ​not​ ​work,​ ​double​ ​check​ ​your​ ​work.​ ​If​ ​it​ ​STILL doesn’t​ ​work,​ ​don’t​ ​get​ ​frustrated.​ ​Writing​ ​code​ ​is​ ​hard.​ ​It​ ​took​ ​me​ ​A​ ​LOT​ ​of​ ​trying​ ​to​ ​code​ ​this Earth​ ​and​ ​Moon​ ​to​ ​orbit​ ​correctly!!