More Scratch. We’re going to get intractions working between sprites. Here’s an example that has the cat bounce on the trampoline (no, it doesn’t work here!):

Here’s the code for the cat:

Here’s the code for the trampoline:

We’ll look at how this code works tonight, and you can try it out in your own projects!

Nick Grattan.

About these ads