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

#1 2010-06-22 15:44:07

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Sprite clicked

I think that there should be a way to pick which sprite is clicked without going on that sprite. Something like this:

http://i45.tinypic.com/2vwsbch.jpg

and you can select it like this:

http://i47.tinypic.com/2uj080j.jpg

This would be very useful for a game that I am working on at the moment and I am pretty sure that it could help others too.


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#2 2010-06-22 15:53:54

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: Sprite clicked

That would be a useful block to have  smile

But for now, a simple workaround which might help with your game would be.


Sprite 1's scripts:

[blocks]
<when[ Sprite 1 ]clicked>
<broadcast[ Sprite 1 Clicked
[/blocks]

and Sprite 2's Scripts:

[blocks]
<when I receive[ Sprite 1 Clicked
[/blocks]
And then the rest of the script.


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#3 2010-06-22 16:08:15

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Sprite clicked

Great idea. You can already sort of do something to the same effect, as 06dknibbs mentioned. Another way to do it is something to this effect:

http://i46.tinypic.com/bf1fvb.gif

would be on the thing that does something when something else is clicked, and

http://i49.tinypic.com/dra3qf.gif

would be on the sprite that should be clicked.

Of course, that's a lot of work, and 06dknibbs' method is a lot easier  smile  But I definitely support this block.

Offline

 

#4 2010-06-22 17:33:40

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Sprite clicked

06dknibbs' method is the one I am using at the moment. But it can be a bit annoying at times.


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#5 2010-06-23 02:00:24

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Sprite clicked

Great idea!  yikes

I support.  smile


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#6 2010-06-23 04:39:26

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Sprite clicked

I support.

06dknibbs wrote:

That would be a useful block to have  smile

But for now, a simple workaround which might help with your game would be.


Sprite 1's scripts:

[blocks]
<when[ Sprite 1 ]clicked>
<broadcast[ Sprite 1 Clicked
[/blocks]

and Sprite 2's Scripts:

[blocks]
<when I receive[ Sprite 1 Clicked
[/blocks]
And then the rest of the script.

As I have said before...

I wrote:

There is one huge problem with that though.

BROADCASTS LAG LIKE [removed]!!!!!!!!!!!!!!!!!!!!!


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#7 2010-06-23 11:57:00

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Re: Sprite clicked

Nice idea!  smile

I support.


-End Transmission-

Offline

 

#8 2010-06-23 12:02:23

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Sprite clicked

What does braodcasts lag like mean?



I also have another idea.

http://i46.tinypic.com/1z20r4h.jpg

It then has a selection of the broadcasts you have put.
What do you think?

Last edited by melikecheese (2010-06-23 12:08:08)


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#9 2010-06-25 12:54:11

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Sprite clicked

I love making all these different blocks using paint!!!


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#10 2010-06-25 12:58:02

coka
Scratcher
Registered: 2007-11-03
Posts: 1000+

Re: Sprite clicked

Yeah, it's a really good idea. Seeing that Scratch is meant for beginners, it would clean up all that extra scripting.


http://i42.tinypic.com/2rot8c2.png

Offline

 

#11 2010-06-25 14:10:49

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Sprite clicked

I support! It's a cool idea  big_smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#12 2010-06-27 15:26:51

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Sprite clicked

What will me putting my ideas here actually do?


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#13 2010-06-27 15:32:49

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Sprite clicked

melikecheese wrote:

What will me putting my ideas here actually do?

People discuss them, and if a Scratch Team member sees it, and likes it, they might see if they can include it in the next version of Scratch  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#14 2010-06-27 15:37:36

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Sprite clicked

melikecheese wrote:

What does braodcasts lag like mean?

There's something like a 0.07 second delay between the broadcast and the when I receive block starting.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#15 2010-06-27 16:22:06

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Sprite clicked

And those can really add up after a while...  hmm

Offline

 

#16 2010-07-02 14:13:42

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Sprite clicked

Oh, that's what is making one of my projects not work very well. Thanks!


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

Board footer