Payson
Period 7
Lab #1
Write a script where 6 sprites start at the center of the screen. When the green flag is clicked, the sprites should use the glide command to go to a given location. When done, the sprites should form a hexagon. You might need to do some math to figure out the coordinates.
My solution involved moving the sprite in intervals of one hundred. I put the sprite on the right at (0,200),the one below it at (100,-100), and so on. One difficulty I had with the lab was getting my hexagon to have equal distance between the sprites. I ended up having a squished hexagon but a hexagon none the less.
Create your own sprite. You can use the drawing tools given in scratch. Create at least two costumes for the sprite. The sprite should change costume at least three times when the script is run. Create at least two stage backdrops using the following tools (located in bottom left corner.) Write a script that moves a sprite across a the screen and changes the background when it reaches about the middle of the screen.
My solution involved linking the arrow keys to costume changes and background changes. This way, right arrow would make my sprite step right and the background would change. I did by choosing multiple backgrounds and setting the command to "next background" every time the arrow keys were pressed so it would cycle through.
Click HERE to return to Scratch labs.