Creates a land, given a procedure that gets connected lands when the Scratchy program starts. The get-lands callbacks for different lands can include each land in the other’s lists. The lands available in the Scratchy world include the all of the lands reachable from the one given to run .Switches the Scratchy world view to this land.
constructor
[landland][imageimage][ [xx][yy][key-callbackkey-callback][mouse-callbackmouse-callback][message-callbackmessage-callback]])image:convertible?Creates a sprite that is initially in land.The key-callback function is called in a fresh thread for any key press or release in the Scratchy world, where the initial boolean argument is #t for a key press and #f for a key release.
The mouse-callback function is called in a fresh thread for a mouse click on the sprite.
The message-callback function is called in a fresh thread for a tell or broadcast call.
Moves the sprite in the direction of its current orientation.Changes the sprite’s location in the X direction.Changes the sprite’s location in the Y direction.Sets the sprite’s location in the X direction.Sets the sprite’s location in the Y direction.Gets the sprite’s location in the X direction.Gets the sprite’s location in the Y direction.Changes the sprite’s orientation by turning it counter-clockwise.Sets the sprite’s orientation.method
(send a-sprite change-size amount)→void?
amount:real?Changes the sprite’s size as a factor of its original size by adding amount to the current factor.Makes the sprite visible.Makes the sprite invisible.image:convertible?Sets the sprite’s image.Sets the sprite’s speech balloon to show v.Removes the sprite’s speech balloon, if any.Calls other-sprite’s message callback with v in a new thread.Returns the sprite’s land.