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

#51 2012-12-29 12:26:26

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Hide the mouse pointer

lalala3 wrote:

Mokat wrote:

You should be able to turn the hiding off, because how would you see where you were clicking in games where the point of the game is to click objects?

Simple.
1. Don't play the game.
2. I imagine it as a setting within the project editor. That would deal with any issues quite nicely.

Edit: And before anyone tells me I'm necroposting, this is linked to from a stickied thread.

Mokat wrote:

you could press the escape key to show it again


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#52 2012-12-29 13:14:21

lalala3
Scratcher
Registered: 2008-10-03
Posts: 100+

Re: Hide the mouse pointer

Mokat wrote:

lalala3 wrote:

Mokat wrote:

You should be able to turn the hiding off, because how would you see where you were clicking in games where the point of the game is to click objects?

Simple.
1. Don't play the game.
2. I imagine it as a setting within the project editor. That would deal with any issues quite nicely.

Edit: And before anyone tells me I'm necroposting, this is linked to from a stickied thread.

Mokat wrote:

you could press the escape key to show it again

Or that.


http://img515.imageshack.us/img515/9374/signature2nt.png

Offline

 

#53 2012-12-29 15:01:53

iTweak0r
Scratcher
Registered: 2011-07-30
Posts: 100+

Re: Hide the mouse pointer

here's what would be dangerous:

when flag clicked
go to mouse
if touching stop button
   say why are you not playing my game?
   forever
      hide mouse
      move [mouse] to x: 0 y: 0

But, just having a Hide Mouse block would be OK. and it would only hide if touching the Flash Player, or ScratchStageMorph, depending on the player.


Make it in Scratch! because it's cooler when it's made in scratch
http://i.imgur.com/D4iqPHR.png

Offline

 

#54 2012-12-29 17:15:18

lalala3
Scratcher
Registered: 2008-10-03
Posts: 100+

Re: Hide the mouse pointer

iTweak0r wrote:

here's what would be dangerous:

when flag clicked
go to mouse
if touching stop button
   say why are you not playing my game?
   forever
      hide mouse
      move [mouse] to x: 0 y: 0

But, just having a Hide Mouse block would be OK. and it would only hide if touching the Flash Player, or ScratchStageMorph, depending on the player.

I was under the impression that it would not be possible to make the mouse hidden if it was not within the constraints of the player in question, and any Scratch Project I happened to be running offline that did such I would close immediately. And the hide mouse block isn't even relevant to that. It's not causing the problem. The move mouse block is the problem in that example.


http://img515.imageshack.us/img515/9374/signature2nt.png

Offline

 

#55 2012-12-29 17:34:08

taddl
Scratcher
Registered: 2009-03-08
Posts: 100+

Re: Hide the mouse pointer

Support.
And this would NOT be dangerous at all!
Things like cloud variables are WAY more dangerous!


http://blocks.scratchr.org/API.php?action=projects&type=newest&return=image&user=taddl
http://blocks.scratchr.org/API.php?user=taddl&action=projects&type=newest&return=text&num=1

Offline

 

#56 2012-12-31 14:21:56

minecraftpe123
Scratcher
Registered: 2012-11-18
Posts: 100

Re: Hide the mouse pointer

Scratch should also allow for unlimity mouse movement. for example - if you have a project that a sprite moves allow the X axis at the same rate as the mouse, it should not stop when the mouse reaches the end of the screen(minecraft is a good example of this as you can move your mouse forever right in the game but you mouse pointer does not hit the edge of the screen). Hope this comes with 2.0

MINECRAFTPE123

Offline

 

#57 2012-12-31 14:26:27

minecraftpe123
Scratcher
Registered: 2012-11-18
Posts: 100

Re: Hide the mouse pointer

lalala3 wrote:

iTweak0r wrote:

here's what would be dangerous:

when flag clicked
go to mouse
if touching stop button
   say why are you not playing my game?
   forever
      hide mouse
      move [mouse] to x: 0 y: 0

But, just having a Hide Mouse block would be OK. and it would only hide if touching the Flash Player, or ScratchStageMorph, depending on the player.

I was under the impression that it would not be possible to make the mouse hidden if it was not within the constraints of the player in question, and any Scratch Project I happened to be running offline that did such I would close immediately. And the hide mouse block isn't even relevant to that. It's not causing the problem. The move mouse block is the problem in that example.

If scratch was to allow for hiding the mouse that would be it, the mouse would be stuck in the game menu until the user presses the Esc key. The mouse pointer would never be able to therefor reach the stop button as it is not in the game window.
Also scratch would not allow for setting pointer position.

No danger then.

Offline

 

#58 2012-12-31 15:27:52

Tbtemplex97
Scratcher
Registered: 2011-11-12
Posts: 100+

Re: Hide the mouse pointer

How about a block that says

Hide mouse point until esc Key pressed

Last edited by Tbtemplex97 (2012-12-31 15:28:21)


Online Status: http://blocks.scratchr.org/API.php?action=onlineStatus&user=Tbtemplex97
Darkspace Coming Soon!, Try the Singleplayer Demo

Offline

 

#59 2012-12-31 16:47:31

lalala3
Scratcher
Registered: 2008-10-03
Posts: 100+

Re: Hide the mouse pointer

minecraftpe123 wrote:

lalala3 wrote:

iTweak0r wrote:

here's what would be dangerous:

when flag clicked
go to mouse
if touching stop button
   say why are you not playing my game?
   forever
      hide mouse
      move [mouse] to x: 0 y: 0

But, just having a Hide Mouse block would be OK. and it would only hide if touching the Flash Player, or ScratchStageMorph, depending on the player.

I was under the impression that it would not be possible to make the mouse hidden if it was not within the constraints of the player in question, and any Scratch Project I happened to be running offline that did such I would close immediately. And the hide mouse block isn't even relevant to that. It's not causing the problem. The move mouse block is the problem in that example.

If scratch was to allow for hiding the mouse that would be it, the mouse would be stuck in the game menu until the user presses the Esc key. The mouse pointer would never be able to therefor reach the stop button as it is not in the game window.
Also scratch would not allow for setting pointer position.
Exactly my point.
No danger then.

No. I did not mean that the user would be unable to move the mouse from the screen, I meant that I knew of no way to have the mouse pointer hidden if it was outside the player. As in, I was under the impression the way computers/programming languages work means that it's impossible to code in something that would hide the mouse pointer even outside of the player. It just shows automatically when your mouse leaves the window, no matter what the programmer tried to do. I said nothing about forcing the mouse pointer to remain within the Scratch player's window.


http://img515.imageshack.us/img515/9374/signature2nt.png

Offline

 

#60 2012-12-31 20:25:29

iTweak0r
Scratcher
Registered: 2011-07-30
Posts: 100+

Re: Hide the mouse pointer

But i said: "Just having a Hide Mouse block would be ok."

Also, it should show the mouse even if it is hidden when pressing ctrl or on the topbar, like virtualbox does.


Make it in Scratch! because it's cooler when it's made in scratch
http://i.imgur.com/D4iqPHR.png

Offline

 

#61 2013-01-01 04:35:04

soniku3
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Hide the mouse pointer

Support , also , scratch 2.0 has a ''box'' above the player in fullscreen and non-fullscreen. So , nothing in danger.


internet's all about cats today.

Offline

 

#62 2013-01-01 10:59:07

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Hide the mouse pointer

Hide mouse pointer = OK
Move mouse pointer = NO NO NO!!!


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#63 2013-04-23 09:19:42

Failord
Scratcher
Registered: 2012-01-07
Posts: 53

Re: Hide the mouse pointer

Gravitation wrote:

If only when touching project and not the green flag bar, I support. Otherwise this could be abused.  hmm

Yes, if a Scratcher doesn't make their own cursor, there would be no way to tell where the cursor IS. My solution? Make the sprite layer able to go OVER the cursor. But then again, that would spawn new problems, so...

No support.

...And my "solution" won't really work either.

Last edited by Failord (2013-04-23 09:20:26)

Offline

 

Board footer