I am making a simple game where a hand tries to catch a falling ruler. I want the person playing the game to close the hand using the spacebar. I also want the ruler to stop moving when it is touching the hand and the spacebar is pressed. I'm using the glide block for the ruler movement. I am unable to upload at this time. Any input would be appreciated.
THANKS
Offline
First I'd make two costumes for the hand, one with it open and one with it closed. Then give it this script.
Create another sprite for the ruler, although gliding probably won't work properly. Use a script like this instead, and edit it if you need to.
In the second screenshot, I changed the name of the Sprite a little. If you haven't renamed your sprites, the hand will be called Sprite 1 or Sprite 2, 3, 4 etc:
Last edited by 06dknibbs (2010-10-05 13:46:08)
Offline