madduccino / coding.space

The Coding Space Projects
11 stars 22 forks source link

Paint in Scratch more difficult with Scratch update #163

Open hallpell opened 3 years ago

hallpell commented 3 years ago

Sometime between when the Paint untutorial was created and now, Scratch was updated which causes the project to be a bit more difficult to create. When editing a project (not in full screen mode), the drag-and-drop functionality of sprites has higher precedence than the Scratch code, so if you click and hold down it drags the "pen" sprite without drawing a line behind it.

One possible approach is to just communicate that the project will need to get tested in the full screen mode. This feels sloppy, but is easy to do.

I also poked around and have this as a slight modification to do. However, this ends up being quite specific (the sprite needs to be "hollow" so the click doesn't activate drag-and-drop, and it needs to hide as well so it doesn't get "picked up" to start drag-and-drop). These specifics are important, teach about fairly unimportant ideas (how much precedence does Scratch's drag-and-drop have is not something we need to cover at Level 3 Scratch), and would lead to an overly prescriptive tutorial.

Wowfunhappy commented 2 years ago

For what it's worth, I've been dealing with this by telling students "the pen only works properly in full screen mode."

This doesn't feel too sloppy to me. It's a broad statement about how Scratch works, and not a specific quirk of the paint project.

madduccino commented 1 year ago

@Wowfunhappy @hallpell another option is to tell them to hide the sprite when the mouse is down so that Scratch can detect you're clicking the stage.

https://scratch.mit.edu/projects/766041914/editor/