Find the two bat sprites, one with wings up the other with wings down. Have the sprite change costume from one to the other, hence creating the illusion of flying.
Upon reading this task i made a mistake and had the impression that we were to use 2 bat sprites and have them switch between costumes, this is why i have used to bats in my example. both sprites had similar scripts however they differed in terms of which costumes they would change to.
Sprite number one had this script:
while sprite two had this script:
the following set of snapshots demonstrate how the sprites change from one costume top another, and glide across the screen. the switching of costumes and the gliding feature are what allow the bats to display/seem like they are actually flying.
No comments:
Post a Comment