Witty.ca - Graham's Professional Archives

  • Home
  • My Blog
  • Book Blog
    • Blog to Book
    • About
    • Contact
    • Links
      • Career Links in Fredericton
        • Job Hunting Tips
        • That's so 2010!
          • Old Home
            • Teaching Software>
              • Google Sketchup (free)
                • OpenOffice.org (free)
                  • Scratch (free)>
                    • Scratch (Scripts 1 & 2)
                      • Scratch (Script 3)
                        • Scratch (Frogger)
                          • Scratch (Frogger 2)
                            • Scratch (Frogger 3)
                              • Scratch (Frogger 4)
                                • Scratch (Rapids)
                                  • Notes for Teachers>
                                    • Teaching Scratch
                                      • Scratch Pop Quiz
                                        • Scratch Pop Quiz Marks
                                    • Middle School>
                                      • Literacy
                                        • Social Studies 6
                                          • Social Studies 7>
                                            • Online Test - Canada at Confederation
                                          • About>
                                            • About Mr. Rich
                                              • About Technology Education

                                            Script 3 includes:

                                              a)  moving around and turning
                                                    if touching the color of the fence
                                              b)  if touching the color of the fence, also:
                                                      -  - make a sound
                                                      -  - change it's costume
                                              c)  after touching the fence, backup
                                              d)  draw with a pen
                                              e)  if touching the actual fence (not color)

                                            Scratch Cat (from http://nagelelo.wikispaces.com)

                                            About these Tutorials

                                            A brief explanation of ownership and rights is found on the Script 1&2 page.  If you use these tutorials, please let me know.

                                            About Scratch

                                            Scratch is an entry-level  free and open source software programming environment developed by MIT.

                                            Cat-inside-a-Fence
                                            (Script #3)

                                            Simple, but there's still problems!
                                            • Shrink the cat down
                                            • Draw a fence
                                            • Drag-and-drop the script.



                                            Script #3a

                                            Picture
                                            What could you do to improve this script? 


                                            Did your cat get stuck?  
                                            Try #3c (below).








                                            on youtube

                                            Script #3b

                                            Now add SOUND
                                            so that the cat makes a noise 
                                            IF it is TOUCHING the fence.

                                            • Select the Cat Object

                                            • Select the Sound tab

                                            • Import a sound file
                                              (Lots of sounds there!)




                                            • Select the Scripts tab


                                            • Select the Sound palette





                                            Picture
                                            Picture
                                            Picture
                                            Picture
                                            • Which block should you insert into your script????




                                            Now, can you do the same process, except now using COSTUMES, so that the cat will change to a butterfly IF it TOUCHES the fence.




                                            Picture




                                            answer (sound & costume blocks)

                                            Script #3c

                                            We need to fix the cat getting stuck and spinning on the fence.

                                            Let's make the cat BACKUP FIRST if it is touching the fence.

                                            How did we make the cat go forward?

                                            So, how can we change this to make the cat go backwards?













                                            Picture
                                            answer

                                            Script #3d

                                            Now, add the pen, so that a trail is left behind the cat.
                                            • Where would you add these pieces?
                                            Picture
                                            Picture
                                            answer



                                            Script #3e

                                            Let's change how we "sense" the fence!

                                            • remove "touching color"


                                            • replace it with "touching ^ "


                                            • click the black triangle to change it to
                                              "touching fence"

                                            Now, run the script.
                                            What difference did this make?
                                            Is the pen pattern different?
                                               

                                            Picture
                                            Picture
                                            Picture
                                            answer







                                            When you are completely done, the teacher will instruct you to click here.

                                            Copyright © Graham Rich 2010-2011.   Site made using Weebly.com.