The troposphere is where all the plants and animals live.
Most of the earth's weather happens in the troposphere.
The air is relatively warm and there is a lot of water in the air.
It gets colder as you go up...
when flag clicked
When flag clicked
intro
switch backdrop to [Intro v]
go to x () y()
say [Let's explore the layers of the atmosphere!] for (2) seconds
glide (2) secs to x () y (180)
when flag clicked
intro
define intro
switch backdrop to [Your Backdrop v]
go to x (0) y (-100)
say [Let's explore the layers of the atmosphere!] for (2) seconds
glide (2) secs to x () y (180)
define intro
set [flying v] to [false] // Add this block
switch backdrop to [Your Backdrop v]
go to x (0) y (-100)
say [Let's explore the layers of the atmosphere!] for (2) seconds
glide (2) secs to x () y (180)
define intro
set [flying v] to [false]
switch backdrop to [Your Backdrop v]
go to x (0) y (-100)
say [Let's explore the layers of the atmosphere!] for (2) seconds
set [flying v] to [true] // Add this block
glide (2) secs to x () y (180)
when flag clicked
forever
if < > then
else
(flying) = [true]
switch costume to [rocketship-a v](If you're using a different sprite, the names of your costumes will be different.)
wait (0.1) secs
switch costume to [rocketship-b v]
wait (0.1) secs
switch costume to [rocketship-c v]
wait (0.1) secs
switch costume to [rocketship-d v]
wait (0.1) secs
switch costume to [rocketship-e v](Or the name of a non-flying costume.)
when flag clicked
forever
if < (flying) = [true] > then
switch costume to [rocketship-a v]
wait (0.1) secs
switch costume to [rocketship-b v]
wait (0.1) secs
switch costume to [rocketship-c v]
wait (0.1) secs
switch costume to [rocketship-d v]
wait (0.1) secs
else
switch costume to [rocketship-e v]
end
define intro
set [flying v] to [false] // Add this block
switch backdrop to [Your Backdrop v]
go to x (0) y (-100)
say [Let's explore the layers of the atmosphere!] for (2) seconds
set [flying v] to [true] // Add this block
glide (2) secs to x () y (180)
when flag clicked
intro
troposphere // Add this block
define troposphere
switch backdrop to [Troposphere v]
go to x(-150) y(180)
point in direction ()
glide (2) secs to x (90) y(-90)
repeat ()
turn left () degrees
wait (0.1) seconds
repeat (10)
turn left () degrees
wait (0.1) seconds
Rotate left:
270 + the angle you're facing = total degrees
Rotate right:
90 - the angle you're facing = total degrees
repeat (10)
turn left (14.2) degrees
wait (0.1) seconds
set [flying v] to [false]
define troposphere
switch backdrop to [troposphere v]
set [Temperature v] to [?] // add this block to your code
define troposphere
switch backdrop to [troposphere v]
set [Temperature v] to [?]
set [Minimum Altitude v] to [?] // add this block
set [Maximum Altitude v] to [?] // add this block
define intro
hide variable [Temperature v] // add this block
hide variable [Minimum Altitude v] // add this block
hide variable [Maximum Altitude v] // add this block
define troposphere
switch backdrop to [troposphere v]
set [Temperature v] to [?]
set [Minimum Altitude v] to [?]
set [Maximum Altitude v] to [?]
show variable [Temperature v] // add this block
show variable [Minimum Altitude v] // add this block
show variable [Maximum Altitude v] // add this block
say [The troposphere is where all the plants and animals live.] for (2) seconds
speak [Most of the earth's weather occurs in the troposphere.] :: tts
play sound [Record your voice v] until done
when backdrop switches to [intro v]Use the wait block to have it appear when you want it to. You can use this same technique to add sprites to other layers also.
hide
when backdrop switches to [troposphere v]
wait (3) seconds
go to x (240) y (90)
show
glide (4) secs to x (-240) y (90)
hide
set [flying v] to [true]
repeat ()How cold is it at the top of the troposphere? How many times should you repeat this?
change y by ()
change [Temperature v] by (-1)
repeat (80)
change y by (3)
change [Temperature v] by (-1)
when flag clicked
intro
troposphere
stratosphere // add this block
define stratosphere
switch backdrop to [stratosphere v]
set [Temperature v] to [?]
set [Minimum Altitude v] to [?]
set [Maximum Altitude v] to [?]
go to x () y ()Where will you fly to?
glide (2) secs to x () y ()
say [] for (2) seconds
repeat (40)
change y by (3)
change [Temperature v] by (1)
end
repeat (20)
change y by (3) // Get all the way to the mesosphere
when flag clickedHow many do you want to make?
hide
when backdrop switches to [mesosphere v]
wait (2) seconds // Delay while the rocket flies in?
repeat ()
create clone of [myself v]
wait (pick random (0.5) to (1)) seconds>
when i start as a clone
show
go to x() y()
glide (0.5) secs to [random position v]
delete this clone
when i start as a clone
set [ghost v] effect to (0)
repeat (5)
change [ghost v] effect by (20)
wait (0.1) seconds
when flag clicked
hide
end
when backdrop switches to [mesosphere v]
wait (2) seconds // Delay while the rocket flies in?
repeat ()
create clone of [myself v]
wait (pick random (0.5) to (1)) seconds>
when i start as a clone
show
go to x() y()
glide (0.5) secs to [random position v]
delete this clone
when i start as a clone
set [ghost v] effect to (0)
repeat (5)
change [ghost v] effect by (20)
wait (0.1) seconds
repeat (60)
change y by (3)