Code Club’s Desert Race Game – with physical controls

Playing Desert Race with a Makey Makey

IMG_1822_small

Equipment

Tin Foil
Cardboard
A banana
A courgette
Wire (about 4 metres)
Makey Makey
Desert Race game
Tape (gaffer or something quite strong)

Simple Diagram

Simple wiring diagram for Desert Race.
Simple wiring diagram for Desert Race.

Setting up the game

  1. This is a pretty easy conversion – all you need to do is change the keypress on the lion to “when W key pressed” to allow for the limited key inputs on the makey makey:

    What to change the lion script to in scratch.
    The updated script on the lion sprite.
  2. If you have completed the bonus challenge to add boosts to the game, you could extend this and make another input using the makey makey, something else conductive (like more fruit) and a piece of wire!

Setting up the controllers

  1. To make the foot pads, cut some cardboard in tin foil, big enough for 2 little feet to fit on (or big feet if you’re making it for big kids!).
  2. Using some tape, secure a length of wire, stripped of insulation at both ends, to the cardboad, the wire needs to be around 1 metre in length, to allow it to reach the makey makey and the foot pad on the floor.
  3. Cover the cardboard with some glue (I used spray mount) and cover the whole of one side of the cardboard (but not the bare wire) glue. Cover the cardboard with tin foil. Making sure that the wire you secured to the cardboard is touching the tin foil (and not covered in glue!).
  4. Attach the wires from one of the foot pads to the W key on the makey makey (the lion pad) and the other to the A key on the makey makey for the parrot, remember which pad is connnected to which key (I marked my pads with a lion and parrot image to make it easier).
  5. Next take your items of fruit of vegetable (it’s fruit just for novelty value) and insert some wire (again about a metre and stripped at both ends) directly into the flesh of the fruit. Sercure the wire with some tape so it won’t fall out the fruit too easily.
  6. Attach the wires from both pieces of fruit to ground on the makey makey.
  7. Plug in the makey makey to your computer running the scratch game Desert Race (with the updated key press as above).
  8. Now just press start and with shoes and socks off, hold the fruit in your hand and run/jump up and down on the foot pad to make your character go! The faster you run or jump, the faster the character will move!
  9. And finally, don’t forget to explain how the Makey Makey uses electrical current and creating a circuit to make the characters move!

 

 

 

15 thoughts on “Code Club’s Desert Race Game – with physical controls”

  1. Hi, I think your blog might be having browser compatibility issues.
    When I look at your blog site in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, awesome blog!

  2. I’m now not positive the place you are getting your information, but great topic.
    I needs to spend some time studying more or understanding more.
    Thanks for magnificent information I was searching for this information for
    my mission.

  3. Your shoes might not be the first business you think of bearing in mind you begin learning to
    drive, but wearing the incorrect footwear while driving can not isolated create it
    harder, but it can plus be dangerous. Driving instructors tell
    learners should wear something when a flat
    but thin sole, because you desire to be skillful to atmosphere the car respond to what youre doing.

  4. Unquestionably imagine that which yyou stated. Your favorite justification appeared to be on the nnet the simplest thing to bear in mind of.
    I say to you, I definitely get irked whilst other people consider concrns that they just do nnot realize about.
    You managed to hit the nail upon the top and alao outlined out the entire thing with no need side
    effect , folks can take a signal. Will likely be again to get more.
    Thank you

  5. There is a nervousness and hesitation involved whenever you meet someone personally.

    You don’t have to worry about friends and family choosing who does be considered a great match for
    you. These sites can really be real handy if you’re looking for anyone
    whose rates of interest are quite similar with you.

  6. Caan I simply say what a comfort to uncover a person that genuinely understands
    what they are discussing over the internet. You certainly realize how
    to brng an issue to light and make it important. A
    llot more people need to check tis out and understand
    this sidde of the story. I was surprised that you aren’t more popuylar given that you surely
    possess the gift.

Leave a Reply

Your email address will not be published. Required fields are marked *