Create Your Own Computer Game

Things to Try

Week 2

  1. Open your project by finding it inside your own folder, which is within the Create Your Own Computer Game folder.

  2. Practice making a character bounce — or stop, or change color, or whatever you want — when it hits another character. Use the OnTouching field in the Rules tab of the backpack of the moving character for this purpose.

  3. Try making the behavior differ, depending on which character it touches. Use touchedturtle for this purpose. For example:

        if touchedturtle = "joe [right 180].

  4. Try the “When this, do that” box at the bottom of the Rules tab. A right click will give you an option to add or delete rules. For example, when the x-coordinate is bigger than 300, turn around. To do this, write

        xcor > 300

    in the When field, and

       right 180

    in the What field.

  5. Try inventing a procedures of your own (or two of them...or three...). A procedure in the Procedures tab on the right is available to all characters. A procedure in the Procedures tab of a backpack is available only to that character. Look at a Sample project for models of what procedure definitions look like.

  6. Make your own buttons and sliders. These will be easy, once you get a little practice. The important thing is that you can’t type English: everything you type must be a MicroWorlds procedure, variable, or name. These can be either built-in ones or ones that you define.