Animation Cont’d. :D
Ft. Catherine, Nicole, Julia and Maria
Agenda for Today
Summary of Simple Animation Lesson
Summary of Simple Animation Lesson
Additional Tips and Tricks
Overlapping Objects
Example Code
Last Week’s Challenge Problem
> Now that you know how to make an object bounce �off of the side of the screen, can you make an object �bounce diagonally off a side of the screen?
In order to do this, we can assign a variable�to change the position of both the x and�y positions! Because we want the object to�move up after hitting the wall instead of�moving down, instead of adding values to�its position, we can increasingly subtract �from an initial position
Example Code