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

#1 2009-08-23 04:04:18

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

mouse down and mouse touching black

what about a block that will tell if the mouse pointor is touching a clour so this cod happen<if<< <mouse down?> <and><mouse touching color[ black >  >>>

Offline

 

#2 2009-08-23 04:11:50

dingdong
Scratcher
Registered: 2007-08-09
Posts: 1000+

Re: mouse down and mouse touching black

that's actually a good idea, hopefully the scratch team sees this


http://img851.imageshack.us/img851/2829/superanbanner.png
click the image for my music

Offline

 

#3 2009-08-23 04:22:11

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

Re: mouse down and mouse touching black

The alternative is much harder, so I agree:

Mouse Pointer Tracker's Scripts:

When Green Flag Clicked
Forever
   go to mouse pointer
   if <touching color [ ]>
      set [touching color?] to ( )


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

 

#4 2009-08-23 05:42:16

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: mouse down and mouse touching black

yes this is correct !

Offline

 

#5 2009-08-25 03:15:36

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

Re: mouse down and mouse touching black

i new how to do it i but it wood be easer to have the blok and you wood also have to make it so the sprite is the same size as the mouse. did i spell easer right?

Last edited by leon0 (2009-08-25 03:16:02)

Offline

 

#6 2009-08-25 08:33:28

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

Re: mouse down and mouse touching black

Nice idea, if there's a block like this it should be named "Clicking color [-]?"

Last edited by technoguyx (2009-08-25 08:33:44)


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

Offline

 

#7 2009-08-25 10:02:08

TimeFreeze
Scratcher
Registered: 2008-08-11
Posts: 500+

Re: mouse down and mouse touching black

leon0 wrote:

i new how to do it i but it wood be easer to have the blok and you wood also have to make it so the sprite is the same size as the mouse. did i spell easer right?

It's easier  smile  Nice idea by the way!


There are 10 types of people in this world: Those who understand binary, and those who don't. --[insert unrelated transition]-- GRANDILOQUENCE FTW!

Offline

 

#8 2009-08-25 10:52:22

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

Re: mouse down and mouse touching black

Good idea, and maybe others as well, like:

if mouse pointer is touching edge
if mouse pointer is at x ( ) y ( )

Lets hope the Scratch Team sees this.


http://i.cr3ation.co.uk/dl/s1/gif/847032b8a331def77529b6a0384db1fe_handfingers.gif

Offline

 

#9 2009-08-30 02:04:26

leon0
Scratcher
Registered: 2009-08-03
Posts: 21

Re: mouse down and mouse touching black

WeirdF wrote:

Good idea, and maybe others as well, like:

if mouse pointer is touching edge
if mouse pointer is at x ( ) y ( )

Lets hope the Scratch Team sees this.

thers all redey a way see.
<when green flag clicked>
<if><( <mouse x> <=> what ever and its the same as mouse y )>
<{ do what ever }>
<end>
smile  ok

Offline

 

Board footer