Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Snap Programming

Similar presentations


Presentation on theme: "Introduction to Snap Programming"— Presentation transcript:

1 Introduction to Snap Programming
Scratch Programming

2

3

4 Control= Hat Block: and C Block =Motion Blocks

5 Login Signup Reset password New imports Open Export Save Import tools
Save as libraries Costumes Sounds Login Signup Reset password

6

7

8 Snap Programming Vocabulary
A program consisting of one or more scripts, each of which is made of blocks. 2, Script A series of instructions run from top to bottom in the program also the script is used to animate, control and change the looks of a sprite or background 3. Sprite A user defined object (character) in Snap Programming 4 Scripts area You drag blocks in, snap them together in a sequence in this area.

9 Snap Programming Vocabulary
5. Blocks palette area that contains the basic blocks for programming your sprites (left column). 6. Stage where you see your stories, games, and animations come to life. (right column) 7. Code refers to the commands that a programmer writes to make a program. Code can be used to make a program. In scratch, the word "code" will be used to refer to scripts.

10 Snap Programming Vocabulary 8. Sequence
arrangement in which things follow in logical order or a recurrent (repeating) pattern. 9. Algorithm is a self-contained sequence of actions to be performed. You drag blocks in, snap them together in a sequence in this area.

11

12 What is Snap Programming?
A Snap! program consists of one or more scripts, each of which is made of blocks.

13 Parts of the Snap programming window.

14 Two Main types of blocks
1.At the top of the script is a hat block, which indicates when the script should be carried out. Hat block names typically start with the word “when”; 2. The other blocks are command blocks: For example, this block tells the sprite to move ten steps. 3. C-shaped blocks can be put in a script in two ways

15 E-shaped” blocks with more than one C-shaped slot, only the first slot will wrap around existing blocks in a script, and only if that C-shaped slot is empty before wrapping

16 Just below the stage is the “new sprite” button
Just below the stage is the “new sprite” button Click the button to add a new sprite to the stage. The new sprite will appear in a random position on the stage, facing in a random direction, with a random color. Try putting one of the following scripts in each sprite’s scripting area: Snap Playground

17

18 Add a Slide Title - 5

19


Download ppt "Introduction to Snap Programming"

Similar presentations


Ads by Google