This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-05-26 05:24:28

polarted
Scratcher
Registered: 2007-05-26
Posts: 1

i need help!

I'm making an animation and i want it to be like one of those 'do not press' things. The problem is that i can tell its first command to wait until its clicked but after that it wont say anything or will just say it without having to be clicked. does anyone know how to get it to say each individual thing separatley after being clicked each time?

Offline

 

#2 2007-05-26 13:34:22

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: i need help!

I don't understand what you are trying to do.
If you can state clearly what you want to have happen, you are at least halfway to programming it.

Offline

 

#3 2007-05-26 18:11:50

mres
Scratch Team
Registered: 2007-03-08
Posts: 48

Re: i need help!

Do you mean that you want the sprite to do (or say) something different each time it is clicked?

Try putting the following command:
waituntil [[touching? mouse-pointer] and [mouse-down?]]
between each thing you want your sprite to do.

Then, each time you click on the sprite, it will do the next thing.

Is that what you meant?

Mitch Resnick
MIT Scratch Team

Offline

 

#4 2007-06-08 22:43:33

Graham
Scratcher
Registered: 2007-04-06
Posts: 53

Re: i need help!

I have made a 'Don't Press The Button' project.  Maybe you could just look at the scripts for that.


Mini Game heaven: http://scratch.mit.edu/projects/Graham/20856 Don't press the Button: http://scratch.mit.edu/projects/Graham/3167 and Army Ants: http://scratch.mit.edu/projects/Graham/1059

Offline

 

#5 2007-06-09 02:53:58

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: i need help!

Mitch,

You forgot to include a
   wait until not mouse-down
in your instructions.  If you omit that, one button press could run through several actions.

Offline

 

Board footer