Today we worked on our first Adobe Flash project. We used a template provided from our Wiki site that had several characters on it, including a bunny and a carrot. We removed everything except the bunny and carrot. We started by developing code to show the carrot moving in a certain direction on it's own and to stop at the edge of the window. We then modified the bunny to be controlled by the user by using arrows on the keyboard. After that we developed code that if the carrot collides with the bunny its returns to it's starting point. Every time the bunny eats (collides) with carrot, it receives a point.
0 comments:
Post a Comment