Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Workshop

Quiz

1. What does the Sprite class use to make multiple animations possible?

2. Which update method in Animation makes changes to the position of a sprite?

3. Which Animation method makes changes to animation frames?

Answers

1. A List variable

2. ModifyPosition()

3. None; that hasn’t been done yet!x

Exercises

There are so many possibilities with the examples in this hour that it’s hard to decide where to begin! It goes without saying that you should create your own new animation class and try it out in combination with other animations at the same time. See what interesting combinations you can come up with! What about combining a Spin with a ReverseSpin at the same time?


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial