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

#1 2012-04-27 11:22:43

Atmospheric
New Scratcher
Registered: 2012-04-26
Posts: 100+

Touching Another Sprite, Then Hide?

Hi Scratchers!
I have come up with an idea, using resistance/force, a preview can be seen Here. I wanted to create it into a game, swapping mouse values. Only, I made a sprite which you are supposed to touch using the sprite (The Black Dot Who Trails Around Your Mouse) I have tried some good scripts to enable this, yet nothing seems to be working. I want it so if the Black Dot is touching a certain sprite, then the sprite should hide. Sounds easy right? But honestly, I'm having some troubles with it. It isn't actually that easy, and I've worked on Scratch the program, for quite a long while. Help is very much needed!

                          Atmospheric
                        | Latest Project |My Page | Scratch Forums |

Offline

 

#2 2012-04-27 11:46:40

Atmospheric
New Scratcher
Registered: 2012-04-26
Posts: 100+

Re: Touching Another Sprite, Then Hide?

Help Is Desperately Needed!  smile

Offline

 

#3 2012-04-27 13:08:57

PhirripSyrrip
Scratcher
Registered: 2012-02-11
Posts: 100+

Re: Touching Another Sprite, Then Hide?

...it does sound easy. why don't you upload your version of the script.
I'm not totally sure what you mean. Do you want the jotter sprite in your preview to touch another sprite, then hide?
Here's how I'd do this.

when gf clicked//for the jotter sprite
show
forever
if <touching [mouse-pointer v]?>
hide
end
end


http://i46.tinypic.com/ao03lk.png

Offline

 

#4 2012-04-27 13:13:09

PhirripSyrrip
Scratcher
Registered: 2012-02-11
Posts: 100+

Re: Touching Another Sprite, Then Hide?

sorry, instead of

<touching [mouse-pointer v]?>
I meant
<touching [sprite on screen v]?>


http://i46.tinypic.com/ao03lk.png

Offline

 

#5 2012-04-27 14:15:29

Atmospheric
New Scratcher
Registered: 2012-04-26
Posts: 100+

Re: Touching Another Sprite, Then Hide?

Thanks so much!

Offline

 

#6 2012-04-27 15:09:53

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Touching Another Sprite, Then Hide?

Atmospheric wrote:

Atmospheric
                        | Latest Project |My Page | Scratch Forums |

was that really necessary?


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#7 2012-04-27 15:44:19

PhirripSyrrip
Scratcher
Registered: 2012-02-11
Posts: 100+

Re: Touching Another Sprite, Then Hide?

joefarebrother wrote:

Atmospheric wrote:

Atmospheric
                        | Latest Project |My Page | Scratch Forums |

was that really necessary?

Was that?


http://i46.tinypic.com/ao03lk.png

Offline

 

Board footer