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

#1 2011-10-20 21:43:44

voop556
New Scratcher
Registered: 2011-10-20
Posts: 3

Need some help!

In my previous post, "Need some help with user interaction." (http://scratch.mit.edu/forums/viewtopic.php?id=78315), I explained how I was doing a project, and I had one sprite moving around randomly, and I wanted to be able to click that sprite, and have another sprite appear and move, and thanks to MoreGamesNow for giving me the answer, but now I need to know how to stop the first sprite from moving when you click it.

Offline

 

#2 2011-10-21 00:37:37

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Need some help!

Hm...not knowing how MoreGamesNow first solved it...

When flag clicked
forever
    point in direction (pick random 0 to 360)
    set [magnitude] to (pick random 0 to 200)
    repeat (20)
        move (magnitude/20)
        if [touching mouse-pointer] and [mouse down?]
            broadcast [show]
            stop script
        end if
    end repeat
end forever


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2011-10-26 14:36:33

3D_Mario
New Scratcher
Registered: 2011-10-10
Posts: 100+

Re: Need some help!

I would be really happy to help, but I don't really know...  neutral

Offline

 

#4 2011-10-26 14:59:19

fungirl123
Scratcher
Registered: 2011-10-09
Posts: 1000+

Re: Need some help!

voop556 wrote:

In my previous post, "Need some help with user interaction." (http://scratch.mit.edu/forums/viewtopic.php?id=78315), I explained how I was doing a project, and I had one sprite moving around randomly, and I wanted to be able to click that sprite, and have another sprite appear and move, and thanks to MoreGamesNow for giving me the answer, but now I need to know how to stop the first sprite from moving when you click it.

I'VE GOT IT! I'm going to make a project showing you then give you the link, just a sec.


http://www.thebrag.com/wp-content/uploads/2011/06/GroupLove_General1_IMG_9057.jpg

Offline

 

#5 2011-10-26 15:18:01

fungirl123
Scratcher
Registered: 2011-10-09
Posts: 1000+

Re: Need some help!

fungirl123 wrote:

voop556 wrote:

In my previous post, "Need some help with user interaction." (http://scratch.mit.edu/forums/viewtopic.php?id=78315), I explained how I was doing a project, and I had one sprite moving around randomly, and I wanted to be able to click that sprite, and have another sprite appear and move, and thanks to MoreGamesNow for giving me the answer, but now I need to know how to stop the first sprite from moving when you click it.

I'VE GOT IT! I'm going to make a project showing you then give you the link, just a sec.

Here it is! Hope this helps! http://scratch.mit.edu/projects/fungirl123/2105833


http://www.thebrag.com/wp-content/uploads/2011/06/GroupLove_General1_IMG_9057.jpg

Offline

 

Board footer