0% found this document useful (0 votes)
34 views2 pages

Snap!

The document summarizes an exploration of the Snap! programming environment. It includes explanations of various blocks like motion, sound, and sensing blocks. It also provides examples of scripts using these blocks to move a sprite, draw shapes, and follow the mouse. The explorer tests the behavior of scripts and blocks by modifying values and observing the output.

Uploaded by

simjh5909
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

Snap!

The document summarizes an exploration of the Snap! programming environment. It includes explanations of various blocks like motion, sound, and sensing blocks. It also provides examples of scripts using these blocks to move a sprite, draw shapes, and follow the mouse. The explorer tests the behavior of scripts and blocks by modifying values and observing the output.

Uploaded by

simjh5909
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Snap! - exploration by Jenny k.

1.1)
1. What might it do?
I think it’ll create a square.

2. Determine which category the blocks belong to.

Play note - Sound


Clear – Pen
Mouse x – Sensing
Touching _? - Sensing
Change y by 10 – Motion
Distance to x – Distancing
Point in Direction – Motion
Stop all sounds – Sound

1.2) How can you change the block input so that the sprite moves in the opposite direction?

1. Add the move (10) steps block from the motion category, add the point in direction block from the
motion category. Then change the angles to –90.

2.1) Script

2.2) What happens when you run this script?

The sprite moved while saying “hello” above the sprite. The “forever” block made it simpler for me to
control the sprite.

3.1) What value does the x position block report to you when the sprite is?

-Far right side of the stage: 250


-In the center of the stage: 0
-At the far – left side of the stage: -250

4.1)
Block explanation:

A. Move (10) steps, this block allows you to be able to tell your sprite how many steps to move.
B. Turn (15) degrees, this block gives permission to change the angle of the sprite.
C. Clear – this block allows you to clear everything you drew.
D. Pen up, this block allows your pen to stop drawing.
E. Pen down makes your sprite continue to draw.

4.2) Does the turn block change the sprites x and/or y position?

No, it doesn't change the position, it is just different directions.

4.3) Using these blocks, draw a square. Write the code (blocks) you used below.
Pen down, move (100) steps, turn (90) degrees.

5.1) What do you think the script above will do?


It will follow the mouse.

Did it follow your expectations?


-Yup, It followed the mouse.

5.2) What happens when you drag the mouse to a different part of the screen?

The sprite disappears when you drag the mouse away from the stage.

5.3) How does the program’s behavior change when you modify the go to block?

It moves 30 spaces.

6.1) D. Continuously
6.2) A. Further right on the stage
6.3) C. the sprite would alternate between saying “tiger” and “panda” forever.
6.4) A straight line.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy