Upon adding the script my bat moved across the entire screen, switching between it's costumes, making it a moving animation. here are some snapshots of what happened to my sprite, as the pictures below demonstrate my bat did move back and forth across the screen, whilst changing costumes:
A Little Info :P
Hi all :)
This is my IST Blog. It will be used a documentation of all my progress this year :)
This is my IST Blog. It will be used a documentation of all my progress this year :)
Tuesday, October 25, 2011
Moving animations
Various features can be included in a designers script so that their sprite/s, seem to move like a moving animation. I have used a bat as my example, and in doing so needed to choose to different costumes for my sprite:
Next i added a scripts so that my sprite will switch between it's two costumes. Then a number of motion instructions were added so that the movement is continuous. The script looked like this when completed:
Upon adding the script my bat moved across the entire screen, switching between it's costumes, making it a moving animation. here are some snapshots of what happened to my sprite, as the pictures below demonstrate my bat did move back and forth across the screen, whilst changing costumes:
Upon adding the script my bat moved across the entire screen, switching between it's costumes, making it a moving animation. here are some snapshots of what happened to my sprite, as the pictures below demonstrate my bat did move back and forth across the screen, whilst changing costumes:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment