ScratchData LogoScratchData
Back to RSC_Bk20's profile

Bedroom Objects

RSRSC_Bk20•Created April 6, 2021
Bedroom Objects
0
0
15 views
View on Scratch

Instructions

The Cat on the bed post follows the movement of the little Mouse. A number of objects are given coordinates in the book (p.11). They are hidden until you click the button to show or hide them. You can then say where the objects are by describing their position in the room e.g. the slippers are at the foot of the bed. The show/ hide button is too big. Use code to set its size to 40% or set its size under the stage, without using code.

Description

The button code is controlled by the 'objects visible' variable which at start is set to 'false' (because the objects are not visible). The button has two short ON/ OFF scripts. One sets the variable to 'true' the second script sets the variable back to 'false'. The scripts also send a 'message' to each object to either 'show' or 'hide' itself. Click 'See inside' and click each sprite to see the code for yourself. Based on 'Mouse in the Bedroom' at https://scratch.mit.edu/projects/433564571 Se also 'Cat Pounce on Mouse' at https://scratch.mit.edu/projects/428747943

Project Details

Project ID511761004
CreatedApril 6, 2021
Last ModifiedApril 10, 2021
SharedApril 6, 2021
Visibilityvisible
CommentsAllowed