ScratchData LogoScratchData
Back to kriblo_test's profile

The Video Sensing is broken... but can be fixed ;)

KRkriblo_test•Created August 19, 2020
The Video Sensing is broken... but can be fixed ;)
1
1
69 views
View on Scratch

Instructions

A simple project to test the Video Sensing extension. See inside: In a forever loop the two visible variables are set: video motion on the stage, and video motion on the sprite. At least for me, on my laptop and my phone, it's not working at the moment. The video motion on the sprite is always zero. In other projects I've tested, the sprite video motion is erratic, but mostly zero. Let me know what happens on your end: (1) Do you see yourself in the project screen when you click the green flag? (2) Does the variable "video sensing - motion on stage" show anything but zero when you move? (3) Does the variable "video sensing - motion on sprite" show anything but zero when you move? For reference, check out @Scratchteam's project Save the Mini-Figs (not working for me): https://scratch.mit.edu/projects/10123832

Description

Reported bug: https://scratch.mit.edu/discuss/topic/432713/ Message from the Scratch Team on this matter: "The short answer is yes, there's a known issue that we have planned to work on soon where sprites aren't returning values correctly until you interact with them in certain ways, like clicking them or having them use a say block (there are also a few others.) We've planned to do this work sometime soon. Sorry for any inconvenience in the meantime." Huge thanks! @RokCoder came up with the solution: https://scratch.mit.edu/studios/25643089/comments/#comments-94890946 "Clicking the sprite will activate the video sensing. A more subtle way to activate it is "say 'something'" immediately followed by "say ''" either in the sprite initialisation or "when I start as a clone" block. Does seem like they've broken code that makes it start automatically." In this project I've put an Activate custom block in the sprite, triggered by a broadcast when the stage is clicked.

Project Details

Project ID418765686
CreatedAugust 19, 2020
Last ModifiedAugust 20, 2020
SharedAugust 19, 2020
Visibilityvisible
CommentsAllowed