CAS CS 111 Lecture Notes - Lecture 2: Mit Media Lab
CAS CS 111 verified notes
2/38View all
Document Summary
Makes it easy to create animations, games, etc. Sprites perform actions and interact with each other on the stage. At the start, there is a single cat sprite on the stage. You can add and remove sprites, and change their costumes. Clicking on the sprite from the list below the stage shows you the scripts for that sprite (if any). The shape of a building block indicates where it can go. Right-click a building block to get help on that type of block. Statements have bumps and/or notches that allow you to stack them. An input area that takes a value (hello!, 10, 15, etc. ) Clicking on any statement in a script executes the script. When rearranging blocks, dragging a statement drags it and any other statements below it in the stack. Flow of control = the order in which statements are executed.