Bouncing Faces

ezgif.com-gif-maker.gif

This week’s goal is to get the smiley faces and sad faces from the previous week bounce when clicking in a certain area. Also, I try to let the color faded as time goes.

In this project, I tried to challenge myself to let the two faces disappear when colliding with each other. But I realized that I cannot achieve that in class since it can only identify this.smileyface but cannot identify other.smileyface.

↳Here is the link

Previous
Previous

Mirrrrror!

Next
Next

Reorganizing the code