ScratchData LogoScratchData
Back to AlSweigart's profile

Ball Chase

ALAlSweigart•Created September 2, 2020
Ball Chase
32
22
629 views
View on Scratch

Instructions

This is a demo. Just click the Green Flag and watch. You can also adjust the ball speed with the slider. Click No Draw Mode to get rid of the lines and just watch the balls move around.

Description

The sprites Ball1 to Ball5 each head towards the next ball in the list and away from the previous ball in the list. For example, Ball3 heads towards Ball5 but away from Ball2. These simple rules produces interesting movement behavior. The lines drawn by the balls shows you their movement path. (The zig zag is caused by the minor movement towards and away from the two different balls they chase and run away from.)

Project Details

Project ID422224549
CreatedSeptember 2, 2020
Last ModifiedSeptember 2, 2020
SharedSeptember 2, 2020
Visibilityvisible
CommentsAllowed