How Do You Animate Sprites?

How Do You Animate Sprites?

<p>How do you animate sprites?</p><p>App Inventor images sprites are provided specifically for animation. Check out the following examples: Example 1. How do you move a sprite down, smoothly, at 100 pixels a second</p><p>An ImageSprite's speed, pixels/second, is actually determined by two properties. The Interval property specifies how often the sprite will be moved-- it is similar to the TimerInterval property of the Clock component. The Speed property specifies how many pixels the sprite will move each interval (the property is misnamed). In this example, the sprite moves 5 pixels per 50 ms, or 1 pixel per 10 ms, which is 100 pixels/second.</p><p>A Sprite's Heading property specifies the direction it moves. As shown below, a Heading of 270 degrees will move the sprite down.</p><p>Watch YouTube Video: https://www.youtube.com/watch?v=yddwRnVWdwU</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us