Discuss Scratch

DevanWolf
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

Since there is only
<color[#ff0000]is touching[#0000ff]?>
and
<touching[ v]?>
But how about a color is touching an object/sprite:
<color[#ff0000]is touching[ v]?>
For example if a sprite's red color touches the mouse pointer will bounce away from it:
when flag clicked
forever
if<color[#ff0000]is touching[mouse-pointer v]?>then
point towards[mouse-pointer v]
turn right(180)degrees
end
if on[edge v], bounce::motion
move(10)steps
or move until the black color of Sprite1 touches the entire part of Sprite2:
when flag clicked
set x to(-120)
repeat until<color[#000000]is touching[Sprite2 v]?>
change x by(5)
end
shake hands::custom
or move until the cat's orange color reaches the edge of the stage:
when flag clicked
set x to(-120)
repeat until<color[#FAA41A]is touching[edge v]?>
change x by(2)
end
say[I've reached the edge!]

Last edited by DevanWolf (Sept. 6, 2014 14:31:51)

stickfiregames
Scratcher
1000+ posts

New block: <color [] is touching [Sprite v]>

Yes! Support! I have wanted this block so many times…










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
-PRO-
Scratcher
500+ posts

New block: <color [] is touching [Sprite v]>

What about:
<touching color [#ff0088] ?>
That already is created.

jaboyc
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

I agree! I've always wanted this block!

Check out my amazing game, Scratch Party! I worked so hard on making this so please check it out!

if <(You are cool?)=[true]> then
say [Scratch Party is awesome!]
forever
play Scratch Party! ::custom
end
end
KingOfAwesome58219
Scratcher
1000+ posts

New block: <color [] is touching [Sprite v]>

-PRO- wrote:

What about:
<touching color [#ff0088] ?>
That already is created.
That wouldn't work for the mousepointer
Anyway, support.



DevanWolf
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

epicsandwich123
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

support! this will be easier for new scratchers, although i do think it has been mentioned before

ever wanted some awesome sening blocks? http://scratch.mit.edu/discuss/topic/45738/
how about copying and pasting? http://scratch.mit.edu/discuss/topic/41980/

#sorry, but games coming soon. check my old account, awesomegames123!
StartFromScratch101
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

SUPPORTS!

Renovating…
DevanWolf
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

grokblah
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

To see if a color on a sprite is touching the mouse pointer I would try using a small sprite that follows the mouse. What do you think of this?

when green flag clicked
hide
forever
go to front
go to [mouse-pointer v]
if <<touching [Sprite1 v] ?> and <touching color [#ff0088]>> then
broadcast [touching Sprite1 v]
end
end
DevanWolf
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

grokblah wrote:

To see if a color on a sprite is touching the mouse pointer I would try using a small sprite that follows the mouse. What do you think of this?

when green flag clicked
hide
forever
go to front
go to [mouse-pointer v]
if <<touching [Sprite1 v] ?> and <touching color [#ff0088]>> then
broadcast [touching Sprite1 v]
end
end
I don't know? Maybe that workaround doesn't work as much as the block I'm suggesting.
snaps1
Scratcher
66 posts

New block: <color [] is touching [Sprite v]>

This Is Better:
<i am touching [ v]::sensing
Like:
if <i am touching [jackolope v]::sensing>
say [I touched a jackolope. v] until done::sound
end
Cool! Think About It.

Last edited by snaps1 (April 15, 2015 21:54:36)


Just Rolling Around!

( [roll v] and [laugh v])
;
matey1234
Scratcher
1000+ posts

New block: <color [] is touching [Sprite v]>

Support.

snaps1 wrote:

This Is Better:
<i am touching [ v]::sensing
Like:
if <i am touching [jackolope v]::sensing>
say [I touched a jackolope. v] until done::sound
end
Cool! Think About It.
if <touching [sprite v] ?> then

say [I am touching sprite] for (2) secs
end

Last edited by matey1234 (April 16, 2015 09:45:45)


| Artist | Gamer | Roleplayer | Weirdo | Lazy |

snaps1
Scratcher
66 posts

New block: <color [] is touching [Sprite v]>

matey1234 wrote:

Support.

snaps1 wrote:

This Is Better:
<i am touching [ v]::sensing
Like:
if <i am touching [jackolope v]::sensing>
say [I touched a jackolope. v] until done::sound
end
Cool! Think About It.
if <i am touching [sprite1 v] ?::sensing> then

say [I am touching sprite1.] for (2) secs
end
That Is True corret.

Last edited by snaps1 (April 16, 2015 13:10:35)


Just Rolling Around!

( [roll v] and [laugh v])
;
GlaceonGamer
Scratcher
30 posts

New block: <color [] is touching [Sprite v]>

support

when green flag clicked
set [Hugs v] to [0 ]
forever

change [Hugs v] by (1)
end
cwkethan1508
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

I support
Catgirl555
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

Support

A signature is a small piece of text that is attached to your posts. In it, you can enter just about anything you like. Perhaps you would like to enter your favourite quote or your star sign. It's up to you! In your signature you can use BBCode if it is allowed in this particular forum. You can see the features that are allowed/enabled listed below whenever you edit your signature.








gamebuilder2000
Scratcher
2 posts

New block: <color [] is touching [Sprite v]>

would
<color [#fdc69d] is touching <touching [ Sprite] ?> ?>

work?

but it Doesn't so SUPPORT

Last edited by gamebuilder2000 (May 25, 2017 22:20:16)

orochi67
Scratcher
100+ posts

New block: <color [] is touching [Sprite v]>

stickfiregames wrote:

Yes! Support! I have wanted this block so many times…
this scratcher read my mind… nothing much to read. Support.

。。。こんにちは。あたしはオロチシクツシです。ここが好きです。また、あたしはちょっと日本を話します。お休みなさい。ZZZ…
ColinMedia6
Scratcher
43 posts

New block: <color [] is touching [Sprite v]>

if <color [#8e76b7] is touching sprite [Dani v] ?> then
don't hide

end
This and Don't Hide blocks are better.

Powered by DjangoBB

Standard | Mobile