1 / 19

Introduction to Snap Programming

Introduction to Snap Programming. Scratch Programming. Control= Hat Block: and C Block =Motion Blocks. Login Signup Reset password. New imports Open Export Save Import tools Save as libraries Costumes

jackieb
Download Presentation

Introduction to Snap Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Snap Programming Scratch Programming

  2. Control= Hat Block: and C Block =Motion Blocks

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

  4. Snap Programming Vocabulary Snap Programming 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 4Scripts area You drag blocks in, snap them together in a sequence in this area.

  5. 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.

  6. 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.

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

  8. Parts of the Snap programming window.

  9. 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

  10. 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

  11. 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: https://snap.berkeley.edu/snapsource/snap.html Snap Playground

  12. Add a Slide Title - 5

More Related