ScratchData LogoScratchData
Back to ksdavidc's profile

Drop Down Title just blocks

KSksdavidc•Created September 18, 2024
Drop Down Title just blocks
0
0
3 views
View on Scratch

Instructions

Just the blocks for a classroom project. ## Green flag ### Initialize: position, direction, layer, size, graphics, costume, show/hide ### Reset direction make it gradually return to direction 90. 1. 90 - direction is how far away for 90 it is. 2. if this is less than five, turn -1/10 of this distance. 3. wait .01 to make it slow ## set up main loop broadcast "drop" ## code main loop receive "drop", ### forever loop in a forever loop, do all this #### Shake it: get bigger, turn left a little , fall. #### then same, but turn right twice as far #### then again turn left back to where it started. it should go from 90 to 45 to 135 to 90 #### reset if touching edge: ##### if touching edge, wait and reinitialize. #### hover effect: In another (nested, inside the main forever loop) forever loop, do this: ##### If touching mouse, get larger to a max position, else get smaller to a min position ## When clicked, make it drop ## Follow up: change at least 1 of these things: ### Change the fall speed, size and angles of the shake. for example a small quick shake, a bigger shaker, etc [ez] ### Hover effect: [ez] Add variables to control the max size and minimum size. Use sliders to control it. 1. max size - size is difference. 2. go 1/4 of the way ### Add another button that moves across the screen. [medium] ### Add another sprite and make the button do at least 3 new different things. [hard] ### Add variables to control the size, angles, and fall speed. [hard]

Project Details

Project ID1069181631
CreatedSeptember 18, 2024
Last ModifiedSeptember 21, 2024
SharedSeptember 18, 2024
Visibilityvisible
CommentsDisabled