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

#1 2008-12-22 22:59:08

m44
Scratcher
Registered: 2008-02-04
Posts: 500+

mouse options

i think there should be some options for the mouse like hide and show. and the speed of the mouse (how many pixels it covers). the last direction it moved. and a moving test.

any other ideas?

Last edited by m44 (2008-12-22 23:39:14)


METAL SLUG is out!!! (here) and M44's BESTShttp://img708.imageshack.us/img708/6673/msbanner.jpg

Offline

 

#2 2008-12-22 23:29:21

ferret10
Scratcher
Registered: 2008-04-21
Posts: 58

Re: mouse options

maybe a left/right click sensor


A must-see animation about the Scratch cat! http://scratch.mit.edu/projects/ferret10/364723 ¡uʍopǝpısdn ǝdʎʇ uɐɔ ı

Offline

 

#3 2008-12-23 00:13:09

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Re: mouse options

Changing the mouse's attributes is tricky to do when your app is cross-platform/Java. Hide/show of the cursor should be straightforward enough, though, and would definitely be nice for when you want a sprite to "become" the cursor.

Offline

 

#4 2008-12-23 00:14:29

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Re: mouse options

And yeah, right-click sensing would be awesome, too.  smile

Offline

 

#5 2008-12-23 20:15:24

m44
Scratcher
Registered: 2008-02-04
Posts: 500+

Re: mouse options

it would be cool in 1.4


METAL SLUG is out!!! (here) and M44's BESTShttp://img708.imageshack.us/img708/6673/msbanner.jpg

Offline

 

#6 2008-12-23 20:32:17

herey
Scratcher
Registered: 2008-06-26
Posts: 100+

Re: mouse options

ferret10 wrote:

maybe a left/right click sensor

yeah that would be nice but mac mice don't have right mouse buttons.

Offline

 

#7 2008-12-23 20:38:11

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Re: mouse options

herey wrote:

yeah that would be nice but mac mice don't have right mouse buttons.

Two (and more) mouse buttons have been supported by the Mac OS for many years, and they've been shipping with multi-button mice since 2005. Even if you've got a single-button mouse still, most apps will recognize a Control-click as being the right mouse button.

Last edited by mrweston (2008-12-23 20:39:28)

Offline

 

#8 2008-12-24 04:37:49

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: mouse options

this rpoject calculates the mouse speed:

http://scratch.mit.edu/projects/JSOlabs/361745


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#9 2008-12-24 04:46:49

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: mouse options

my ScriptWorks music player detects mouse movment and 'hides' some stuff if the mouse isint moved for about 5 seconds. and im sure using the same technic and some trig u can work out the direction, and right click is possible, see my paint project (glitchy online though)

Offline

 

#10 2008-12-24 18:01:11

m44
Scratcher
Registered: 2008-02-04
Posts: 500+

Re: mouse options

yambanshee wrote:

my ScriptWorks music player detects mouse movment and 'hides' some stuff if the mouse isint moved for about 5 seconds. and im sure using the same technic and some trig u can work out the direction, and right click is possible, see my paint project (glitchy online though)

oh


METAL SLUG is out!!! (here) and M44's BESTShttp://img708.imageshack.us/img708/6673/msbanner.jpg

Offline

 

#11 2008-12-25 17:57:39

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: mouse options

All the ideas listed above have been out into one project...
http://scratch.mit.edu/projects/bhz/362968

Offline

 

#12 2008-12-28 21:58:51

m44
Scratcher
Registered: 2008-02-04
Posts: 500+

Re: mouse options

bhz wrote:

All the ideas listed above have been out into one project...
http://scratch.mit.edu/projects/bhz/362968

not hide/show


METAL SLUG is out!!! (here) and M44's BESTShttp://img708.imageshack.us/img708/6673/msbanner.jpg

Offline

 

#13 2008-12-29 11:16:11

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: mouse options

Yeah it wasn't that long ago that I had similar ideas like this. In result I had this idea. Well first you know how theres a stage/sprite on the left of the sprites thats always there. Well there would also be a mouse one. You could change the costume or show or hide it, and just like the stage, not ALL of the blocks would show. Like for example just these:

-From motion, there would only be the direction blocks.
-From looks, as far as I know there would be every single one.
-From sound, again there would be everything.
-From pen, there would be everything, which reminds me, with this mouse sprite idea, this would help because the mouse would automatically draw if you put the script in, instead of making another sprite.
-From control, there would be everything except When mouse clicked.
-From sensing, there would be everything though in the touching boolean block, there would be no "mouse-pointer" option.
-From numbers and variables finally, there would be everything.

So in general MOST of the blocks will be able to be used by the mouse sprite, but not all. Tell me what you think  smile

Last edited by Lucario621 (2008-12-29 11:16:33)


http://i.imgur.com/WBkM2QQ.png

Offline

 

#14 2008-12-29 23:29:51

m44
Scratcher
Registered: 2008-02-04
Posts: 500+

Re: mouse options

sounds like a good idea.


METAL SLUG is out!!! (here) and M44's BESTShttp://img708.imageshack.us/img708/6673/msbanner.jpg

Offline

 

#15 2009-01-02 15:23:58

m44
Scratcher
Registered: 2008-02-04
Posts: 500+

Re: mouse options

all of it


METAL SLUG is out!!! (here) and M44's BESTShttp://img708.imageshack.us/img708/6673/msbanner.jpg

Offline

 

#16 2009-01-02 15:48:54

jamie
Scratcher
Registered: 2007-03-28
Posts: 100+

Re: mouse options

herey wrote:

ferret10 wrote:

maybe a left/right click sensor

yeah that would be nice but mac mice don't have right mouse buttons.

Ummm yes it does. I have a mac.

http://img83.imageshack.us/img83/3456/picture2hl2.png

Voila! Right-click menu!  smile

The annoying thing is that you have to turn it on in the settings app though.

Last edited by jamie (2009-01-02 15:50:01)


Check out my flash game site at http://subgaming.net/

Offline

 

#17 2009-01-02 16:04:00

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: mouse options

jamie wrote:

herey wrote:

ferret10 wrote:

maybe a left/right click sensor

yeah that would be nice but mac mice don't have right mouse buttons.

Ummm yes it does. I have a mac.

http://img83.imageshack.us/img83/3456/picture2hl2.png

Voila! Right-click menu!  smile

The annoying thing is that you have to turn it on in the settings app though.

Some macs don't and require you to hold control and click to access right-click functions.

Offline

 

#18 2009-01-02 18:58:21

726961
Scratcher
Registered: 2008-11-26
Posts: 100+

Re: mouse options

maybe even scripting for the mouse?


http://scratch.mit.edu/projects/726961/604658 play it now! or else...

Offline

 

#19 2009-01-02 23:56:34

techy
Scratcher
Registered: 2008-12-17
Posts: 100+

Re: mouse options

herey wrote:

ferret10 wrote:

maybe a left/right click sensor

yeah that would be nice but mac mice don't have right mouse buttons.

Apple-Cilck(Command-Click) is right click for mac...


Guppy Inc. making projects famous!
http://web-geeks.com/techy.gifhttp://web-geeks.com/grid.gifhttp://web-geeks.com/challenge.gif

Offline

 

Board footer