Raspberry_Pi_Education_Manual

Notes:

Hands on: the Pollination Project

This is the storyboard of my pollination project. I added two more costumes to my bee sprite to show it carrying pollen and I have drawn a flower sprite with some stamens in blue. But I didn’t want to stop there. I wanted the bee to visit the second flower – a female – from the other side of the screen, so I copied all four costumes for the bee sprite and flipped them horizontally. I also copied, flipped and edited the male flower to create a female flower sprite. I have given it two costumes. One shows the stigma without pollen and the other with pollen. Let’s have a look at the resulting animation.

1

2

1.  A bee flies towards a male flower.

2.  The bee pauses to suck up nectar and collect pollen.

3

4

3.  The bee then flies off with pollen from the flower’s stamens.

4.  The bee flies toward the female flower.

5

6

5.  The bee sucks nectar and this time deposits pollen.

6.  The bee flies off leaving pollen on the stigma.

I also decided that I only wanted one flower on screen at a time. So, I had to add scripts to make my flowers disappear and appear at the right points in the animation. I used the Looks blocks “show” and “hide” for this.

A beginner’s guide to Scratch

21

Made with FlippingBook flipbook maker