External Exam Download Resources Web Applications Games Recycle Bin

Sensing


create cat and apple sprite, and add controller script to cat
The other sprite doesn't have to be an apple. As long as it is something that can fall out of the sky, it will work:




add apple (or falling object) script uses cloning
It is really important that when you create a falling speed variable, you create it For this sprite only:



Otherwise, all of your clones will be affected by the change in random speed:






questions
  1. If i turn 3 degrees 120 times, how far have i turned?
  2. What happens if the falling speed variable is declared globally (for all sprites) in this example?
  3. What happens if the 'rotate apple' thread block is combined with the other block of clone statements (the reapeat until touching edge block)?
  4. Can you improve this game?