switch-from-happy-to-sad.gif

Download the program

How To:

Create two objects, such as a ball and a paddle:

collide-2

To let the ball collide with the paddle you will need physics bricks. Here is the script for the ball:

collide-3

For the paddle you will have to implement this one:

collide-4