Project Description: This project uses variables for both storing/remembering data and controlling the flow of the program/execution. I used variables like rocketspeed, Earth, Mars, Sun, and the rocket. The orientations of the planets and stars as well as their distances are approximate ratios from the ones of our actual solar system. The rocket's speed can be controlled by a variable slider on the stage. When the ship reaches Mars, it should land and stay on Mars until launched back to Earth (by clicking a “To Earth” launch button). After landing back on Earth, the ship should stay on Earth for the duration of the simulation. If the rockets path hits the Sun, it will explode, as the Sun will grow bigger and their will be an explosion sound effect.
Project Link: https://scratch.mit.edu/projects/1158603018