Download presentation
Presentation is loading. Please wait.
Published byWinfred Sherman Modified over 9 years ago
1
Scratch Programming
2
Objectives for Today Finish your online design math problem. Name the basic terms used in Scratch. Create the beginning of a simple program in Scratch. – SOLs addressed: problem solving and critical thinking
3
Why Math??? We did some problem solving because that is what programming a microprocessor based system does. Number cruncher
4
The cornrow activity can’t be done without doing the tutorial and thinking about what you are doing. You must plan Write in your report your answers Author of the software Audrey Bennett
5
Go to the software-csdt.rpi.educsdt.rpi.edu Do this: Click on the default image Use the middle braid of the default image Put in iterate = 20, X = -100, Y = 100, Starting Angle = 12, Translate = 70, Rotate = -7, Dilate = 95. Best to do starting angle last (because there is no way you could have know that you would need that starting angle ahead of time). Click add braid button reposition that new braid
6
We looked at sorting and divide and conquer algorithms last time Should have given you some idea of how a process has to be developed to get the computer to do what you want it to do.
7
Programming is one of the creative processes that can transform ideas into reality Used in gaming Used in health field Used in engineering Used in tax preparation Used in business Used in cell phone apps The list goes on
8
We are going to use Scratch Allows for tinkering because the syntax isn’t restrictive What is syntax???? Scratch has blocks of text that make up the commands so it is easy to learn and it is fun
9
What is Scratch? Although Scratch is programming, it is not used in industry. A few languages that are used in industry—Java, C, C++ but the basic constructs used in Scratch are also used in “industrial strength” languages. Watch video
10
First project Will be similar to name.sb— let’s take a looklet’s take a look Any character you use in scratch is called a sprite—like the kitty and the letters in the example
11
Open here This window opens Scratch Basics How to choose a Sprite from a file
12
Scratch Basics How to paint your own sprite Opens up paint And you can make Your own sprite
13
Scratch Basics Each sprite has its own scripts. Click on sprite and program it This is for the letter C Its highlighted
14
Scratch Basics You can right click any block and select help to get more information on how to use it.
15
Scratch Basics How to go to full screen mode and back Then there is an arrow on the full screen that you click to go back
16
Scratch Basics How to switch back and forth between sprites by clicking on them
17
Scratch Basics X and Y coordinates on the screen are shown on the bottom right below the stage
18
Scratch Basics Save in the proper location (the default is to save in the Scratch Projects folder (C:\\Program Files\Scratch\Projects)). You need to save to a jump drive. If you lose your projects it is not my fault you didn’t protect it
19
Scratch basics Let’s model: Link to ScratchLink to Scratch Move _ steps If on edge, bounce Forever Turn _ degrees Change color effect by _ When the green flag is clicked it plays
20
Scratch Basics You should not be scared to just try and experiment. You can’t break the computer by dragging the wrong block. Use the ScratchGettingStarted.pdf found on my website for beginner help
21
Name Rubric-download it Do you have?Points Possible YesNoPoint earned Have a separate sprite for each letter of your name.10 Have at least 3 different interesting behaviors for the letters in your name. 10 All the letters have a behavior8 Use the “when green flag clicked” block6 Use the “forever” block6 Have your name reinitialize itself when the green flag is clicked. In other words, all the letters will start off in the right location facing the correct way. 4 TOTAL:20
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.