ScratchData LogoScratchData
Back to danielperez's profile

Smoothed Motion Example

DAdanielperez•Created May 18, 2013
Smoothed Motion Example
1
1
48 views
View on Scratch

Instructions

Move the parrot by keyboard arrows.

Description

I seted variables: Xspeed & Yspeed. Setting bounds: Forever: If Xspeed & Yspeed are larger than 10 then set Xspeed & Yspeed to 10. Movement: Forever: If a keyboard arrow has clicked then change Xspeed or Yspeed by 1 or -1. Friction: Forever: if not a keyboard arrow has clicked and Xspeed or Yspeed larger / smaller than 0 then change Xspeed or Yspeed by -1 or 1. And finally: Forever: Change x position of the parrot by Xspeed and Change y position of the parrot by Yspeed. And then I added some rotate.

Project Details

Project ID10304253
CreatedMay 18, 2013
Last ModifiedDecember 26, 2013
SharedMay 19, 2013
Visibilityvisible
CommentsAllowed