snoopy_balloons_starter2
Project Description
Snoopy Balloons Starter, 2025b.Feb28
Instructions:
Let's make Snoopy & Woodstock dance back and forth with balloons. Please don't use green flag events: sprites must instead respond to clicks or receiving "getReady" and/or "travel" if they wish.
Snoopy and "s.balloon" already can move a little.
Extra fun: a broadcast message could be added so balloons could respond:
--floatUp: tilt up, string hangs down, float up using the "change Y by" small positive number. Make them float right or left by using "change X by" depending upon the wind.
--Give more balloons to Woodstock. (Could too many balloons make Woodstock float away!?)
--What if balloons can be popped when poked? Get points?
Extra credit: use pen tools to re-draw strings from moving balloons to snoopy's hand instead of using the pre-drawn strings.
Extra-Extra credit: keep the balloons within constant distance of Snoopy's (or Wodstock's hands).
[ ]PPS: it would be fun to animate Snoopy and Woodstack's feet! (And hands!)
Hmmm:
--Snap! has the ability to glue sprites together like unity3D and Alice (Java) "vehicles," which would make the balloon part of this project easy. See "Nesting Sprites and Anchors" in Manual pg.10
--Snap! has polymorphic functions (locals called by global or parents) see Manual pg.75: should balloons be "permanent" (pg.3) clones of a generic balloon? Should snoopy & woodstock be "permanent" clones of a generic mover sprite?
--[ ] If I had different publishable artwork, this would be puttable onto youtube w/o (c) strike.
Plans/Issues: from mtry I learned
[ ] bug: released balloons keep flying up.
[ ] annoyance: balloons, (how) can a global block get access to their local "balloon_FaveDirection" ?? Perhaps blue sensor "[ v] of [ v]" or controls call or ask?
Notes & Credits:
Project by Mike Roam, 2022 Nov 19. (From my photo of a special suitcase.)
Thinking about the wind:
I'm giving each balloon a favorite angle so they don't overlap too much.
Wind turns the balloon from its favorite direction, and the balloon also turns between (-gusty to gusty) degrees. NOTE: the "seeMore" eyeglasses toggle hide/show of wind variables.
Revisions:
[x] has flat balloons for popping.
Jan 2025: converted to Snap! with windWobble as reporter instead of command. Has global "moveASmallStep" and local checkWalls. (Alternative to checkWalls is fancier global reporter "reverse_dX...") At startup, Balloons wait .02 second before jumping to Snoopy so snoopy can be at good startpos.
"S" key makes S balloon float up, and the "seeMore" eyeglasses toggle hide/show for wind variables and "Faster" button.
Dec 2023: added a "wobbleWithWind" block in the "S" balloon. I've revised all the starter balloons to have a favorite direction, and the wind tips the balloon from that direction, going to the left or right depending how the wind is blowing. NOTE: in Scratch all balloons wanted same name for their local "balloonFaveDirection" variable so the wobble code block could be copied use the var. For Snap! just calling reporter!
Jan 2023: I've removed the confusing snoopyHandX & Y and merely use "goto(Snoopy)!" This works because Snoopy's location has its center (registration point) where his hand is, while balloon locations are at the end of their string away from the balloon. This means that telling a balloon to "go to Snoopy" causes the end of the string to be at Snoopy's hand. Handy! It also means that turning a balloon causes it to rotate around Snoopy's hand, as if the string is tight. Cool!
Teacher note to self: if trying to be offset, "go to [snoopy]" could instead use the
"go to x: offsetX + ((x position) of (snoopy)) y: offsetY + ( y position) of (snoopy))
with offset variables
Snoopy and Woodstock are © (c) Peanuts Worldwide, (The suitcase from late 1960s, says (c) United Features Syndicate.)
Converted by Snapinator from M.Roam's Scratch project https://scratch.mit.edu/projects/764525957/
version 2025b.feb28
Created February 28, 2025
Last updated February 28, 2025
Shared February 28, 2025