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

#1 2007-12-19 16:01:42

Kingoflego
Scratcher
Registered: 2007-07-15
Posts: 78

Mouse speed

There should be a block called mouse speed that tells how fast you move the mouse.


What if this were not a hypothetical question?
My featured games: Geometry Land. (Hopefully more soon!)

Offline

 

#2 2007-12-19 23:14:30

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Mouse speed

I beleve there is a way to identicate the speed of the mouse poitner. I have seen some people manage it. I have no idea how.  sad


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#3 2007-12-20 01:20:13

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Mouse speed

You could record the position of the mouse pointer, wait 0.02 seconds, and measure the distance between where it was and where it is.  Depending on how often you computer updates the mouse position, you may have to wait a bit longer, but probably never more than 0.1 seconds.

Offline

 

#4 2007-12-22 19:11:38

Kingoflego
Scratcher
Registered: 2007-07-15
Posts: 78

Re: Mouse speed

http://scratch.mit.edu/projects/Kingoflego/71415


What if this were not a hypothetical question?
My featured games: Geometry Land. (Hopefully more soon!)

Offline

 

#5 2007-12-24 12:48:12

Kingoflego
Scratcher
Registered: 2007-07-15
Posts: 78

Re: Mouse speed

http://scratch.mit.edu/projects/Kingoflego/72200


What if this were not a hypothetical question?
My featured games: Geometry Land. (Hopefully more soon!)

Offline

 

Board footer