ScratchData LogoScratchData
Back to Paddle2SeeFixIt's profile

Click Motion with Obstacles

PAPaddle2SeeFixIt•Created January 25, 2010
Click Motion with Obstacles
3
2
348 views
View on Scratch

Description

A demonstration project for funnyman1120 to show how to set up character movement to the position of the last mouse click but halt at obstacles. I'm using a hidden sprite called Walk Point to mark the position where the mouse was clicked. It sends a broadcast message to the cat to tell it to start walking. The cat walks until it is close to the target or until it hits the sprite called Obstacles. If it hits Obstacles, it backs up some to get off the sprite and complains bitterly. I hope you find it useful :)

Project Details

Project ID859599
CreatedJanuary 25, 2010
Last ModifiedJanuary 25, 2010
SharedJanuary 25, 2010
Visibilityvisible
CommentsAllowed