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

#1 2010-05-19 15:15:03

Random_Guy_123
Scratcher
Registered: 2010-05-19
Posts: 71

Wouldn't it be great if...

One day, the Scratch-cat went out for a walk in the world of programming. He went pass all kinds of different programs until he got to Scratch. He looked inside. He looked around. He knew something was missing, but what? Suddenly it came to him.
"Wouldn't it be great if there was a button saying:"
> 'Sprite (Sprite dropdown list goes here) is touching (Sprite dropdown list goes here)'.
  "After all, there already is one for colours!"
> (Colour (Colour dropdown list goes here) is touching (Colour dropdown list goes here)."

Please eleborate on this short story to say what you want next.  wink


[url]http://scratch.mit.edu/projects/Random_Guy_123/1251479http://scratch.mit.edu/static/icons/buddy/524617_med.png?t=2010-05-28+12%3A12%3A41[/url]
Ever wanted to become a worm and avoid lots of lasers and robots? Then come check out the Worm vs. Machine game you (probably haven't) been waiting for!

Offline

 

#2 2010-05-19 15:56:51

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

Re: Wouldn't it be great if...

Agreed... I'm not sure how possible it is, but hey, it would be nice  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

 

#3 2010-05-19 16:21:44

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

Re: Wouldn't it be great if...

Well, you can already accomplish such a thing, but this would make it much, much easier.

Make a variable called Sprite1TouchingSprite2

Then use this script (in Sprite 1):

When [green flag] clicked
if < touching [ sprite 2 ] >
   set Sprite1TouchingSprite2 to 1
else
   set Sprite1TouchingSprite2 to 0
end

Then, if the variable is 1, it is touching, otherwise, it's not. You can use this variable for any sprite in the project. It's a little time-consuming, but it still works just as well  smile

Offline

 

#4 2010-05-19 23:05:46

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Wouldn't it be great if...

Good idea, I support.  smile


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#5 2010-05-20 01:33:39

calebxy
Scratcher
Registered: 2009-12-31
Posts: 1000+

Re: Wouldn't it be great if...

I like it!


I'm making my own Doctor Who series!  big_smile  See the first episode here.
And please join Story Zone!  big_smile

Offline

 

#6 2010-05-20 01:42:48

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

Re: Wouldn't it be great if...

How exactly would the color drop-down list work? Would it display a column of colored squares, or would it accept text such as "red" or "blue"?


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

 

#7 2010-05-20 01:54:12

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Wouldn't it be great if...

Doesn't the color one already exist? Well, the existing one only works if one of the colors belongs to its sprite. Would it be for two colors touching, even if both colors weren't in the sprite?

At Chrischb: Probably like the color selector with some pen blocks.

The sprite one isn't that necessary, but wouldn't be bad...


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#8 2010-05-20 01:58:43

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

Re: Wouldn't it be great if...

Jonathanpb wrote:

Doesn't the color one already exist? Well, the existing one only works if one of the colors belongs to its sprite. Would it be for two colors touching, even if both colors weren't in the sprite?

From what I gather, he/she is saying that there is already a colour block, and so is asking why there can't be an "if touching sprite" block.  wink


"...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

 

#9 2010-05-20 05:09:19

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Wouldn't it be great if...

Wolfie1996 wrote:

Jonathanpb wrote:

Doesn't the color one already exist? Well, the existing one only works if one of the colors belongs to its sprite. Would it be for two colors touching, even if both colors weren't in the sprite?

From what I gather, he/she is saying that there is already a colour block, and so is asking why there can't be an "if touching sprite" block.  wink

...oops! ^_^


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#10 2010-05-20 12:28:55

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

Re: Wouldn't it be great if...

Jonathanpb wrote:

Wolfie1996 wrote:

Jonathanpb wrote:

Doesn't the color one already exist? Well, the existing one only works if one of the colors belongs to its sprite. Would it be for two colors touching, even if both colors weren't in the sprite?

From what I gather, he/she is saying that there is already a colour block, and so is asking why there can't be an "if touching sprite" block.  wink

...oops! ^_^

It's OK - we all make mistakes  big_smile ... I just blame mine on The List...  tongue


"...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

 

#11 2010-05-21 11:47:08

Random_Guy_123
Scratcher
Registered: 2010-05-19
Posts: 71

Re: Wouldn't it be great if...

Yup. Wolfie is right, again!


[url]http://scratch.mit.edu/projects/Random_Guy_123/1251479http://scratch.mit.edu/static/icons/buddy/524617_med.png?t=2010-05-28+12%3A12%3A41[/url]
Ever wanted to become a worm and avoid lots of lasers and robots? Then come check out the Worm vs. Machine game you (probably haven't) been waiting for!

Offline

 

#12 2010-05-21 11:56:14

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Wouldn't it be great if...

Hmm... I have needed this a few times! This would make some things a lot easier!


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#13 2010-05-21 12:12:51

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

Re: Wouldn't it be great if...

Random_Guy_123 wrote:

Yup. Wolfie is right, again!

*extreme happiness*  big_smile

And I agree that this block would be very useful  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-05-22 06:08:39

Random_Guy_123
Scratcher
Registered: 2010-05-19
Posts: 71

Re: Wouldn't it be great if...

I have nothing to say to that. I agreee!


[url]http://scratch.mit.edu/projects/Random_Guy_123/1251479http://scratch.mit.edu/static/icons/buddy/524617_med.png?t=2010-05-28+12%3A12%3A41[/url]
Ever wanted to become a worm and avoid lots of lasers and robots? Then come check out the Worm vs. Machine game you (probably haven't) been waiting for!

Offline

 

#15 2010-05-25 13:32:38

Random_Guy_123
Scratcher
Registered: 2010-05-19
Posts: 71

Re: Wouldn't it be great if...

I love your signature!

MathWizz wrote:

Hmm... I have needed this a few times! This would make some things a lot easier!


[url]http://scratch.mit.edu/projects/Random_Guy_123/1251479http://scratch.mit.edu/static/icons/buddy/524617_med.png?t=2010-05-28+12%3A12%3A41[/url]
Ever wanted to become a worm and avoid lots of lasers and robots? Then come check out the Worm vs. Machine game you (probably haven't) been waiting for!

Offline

 

Board footer