Create Your Own Computer Game

Things to Try

Week 3

  1. Experiment with setpos to get a character to move to a precise location on the screen. See item #3 below for an example of including this automatically in what happens when the game begins.

  2. Experiment with everyone to get all your characters to do something at the same time (more or less). See item #3 below for an example of including this automatically in what happens when the game begins.

  3. Try making a character respond to the arrow keys, using the info in the How do I? packet. Unfortunately this info is a bit out-of-date. Instead of typing forever [steer] in the Command window, it is better to put it into a Startup procedure in the Procedures window. Also, if you have more than one character, you need to tell the computer which character is being steered. For example:

    to startup
      forever [fido, steer]
      everyone [clickon]
    end


  4. Create a second level or scene by creating a new page. You can start with a new blank page, or you can duplicate an existing one and then change it. Go back and forth between the pages. Name them so you can remember which is which. Experiment with interesting transitions.

  5. Consider including sound in your game, especially if you play an instrument. If you don’t, you can still record your own sounds, or import them from elsewhere.