Discuss Scratch

Cub56
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

stickfiregames wrote:

But if you move it around enough (turning the camera in a full circle for example) it will come off the screen. There are alternative ways to do it but they aren't as intuitive to use.

So couldn't you have it so if your cursor is near the edge it will turn you as far as you can go?

Check out Life Raft Survival, my new advanced sandbox survival game with crafting, building, transportation, weather events, tropical storms, and more!

In the game you're stranded at sea after a mysterious crash and must survive in an unforgiving tropical island environment collecting resources and crafting, in an attempt to finally be rescued.



stickfiregames
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Cub56 wrote:

stickfiregames wrote:

But if you move it around enough (turning the camera in a full circle for example) it will come off the screen. There are alternative ways to do it but they aren't as intuitive to use.

So couldn't you have it so if your cursor is near the edge it will turn you as far as you can go?
There are four styles I can think of.
  • The one actual FPS games outside of Scratch use has the camera move as the mouse moves, but that wouldn't work in Scratch since you could only turn around so far before the mouse goes off the screen.
  • Making it turn faster when the mouse is held at the edge of the screen, and stop turning when it is in the centre. I find this one the easiest to use, but I know some people don't. This uses a variant on it that is closer to actual FPS mouselook, but still not perfect.
  • Click and drag to turn. It works well for games where you don't need fast action, but it does prevent you from using the mouse click for anything else. If you hold down the mouse all the time it's actually quite similar to real FPSes, but you have to let go to reposition the mouse sometimes.
  • Arrow keys. The simplest to make, but it's harder to look at things precisely so not as good for action games.

Only the first one would really benefit from hiding the mouse. For the second and third is actually helps to see where the pointer is, and for the fourth you can just move it off the player.










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




or you just used Inspect Element, you hacker

;
Cub56
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

stickfiregames wrote:

There are four styles I can think of.
  • The one actual FPS games outside of Scratch use has the camera move as the mouse moves, but that wouldn't work in Scratch since you could only turn around so far before the mouse goes off the screen.
  • Making it turn faster when the mouse is held at the edge of the screen, and stop turning when it is in the centre. I find this one the easiest to use, but I know some people don't. This uses a variant on it that is closer to actual FPS mouselook, but still not perfect.
  • Click and drag to turn. It works well for games where you don't need fast action, but it does prevent you from using the mouse click for anything else. If you hold down the mouse all the time it's actually quite similar to real FPSes, but you have to let go to reposition the mouse sometimes.
  • Arrow keys. The simplest to make, but it's harder to look at things precisely so not as good for action games.

Only the first one would really benefit from hiding the mouse. For the second and third is actually helps to see where the pointer is, and for the fourth you can just move it off the player.

Click and drag wouldn't be very good because most FPS games use the left mouse button to shoot, space bar or something would be awkward.

Like you said, arrow keys aren't that precise.

I think the first and second examples aren't that different because you could just move the mouse as far as it will go without moving it out of the project screen.
(I haven't analysed this or anything, but I'm sure to turn around in most non Scratch first person games, you just move the mouse left and right and because it's full screen you don't have to worry about moving the mouse out of the project)

It's still the same idea though?

As per your last point isn't the crosshair usually always in the middle of the screen?

Last edited by Cub56 (May 29, 2017 20:04:11)


Check out Life Raft Survival, my new advanced sandbox survival game with crafting, building, transportation, weather events, tropical storms, and more!

In the game you're stranded at sea after a mysterious crash and must survive in an unforgiving tropical island environment collecting resources and crafting, in an attempt to finally be rescued.



Cub56
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Bump

Check out Life Raft Survival, my new advanced sandbox survival game with crafting, building, transportation, weather events, tropical storms, and more!

In the game you're stranded at sea after a mysterious crash and must survive in an unforgiving tropical island environment collecting resources and crafting, in an attempt to finally be rescued.



Blackout32
Scratcher
500+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Scratchifier wrote:

Dreamo wrote:

Scratchifier wrote:

crazykidz wrote:

The computer mouse cursor/pointer is always showing, obviously. And what if I wanted to hide it while it's hovering over the stage screen just in case I don't want to interact with it. This suggestion seems useless but it can actually be kind of useful… For example, in a 3d first person shooter (and yes there are shooters in Scratch) you shouldn't be able to see the mouse cursor, because the gun is basically the cursor.

If something like the Scratch blocks (as shown below) can be implemented then that will be great.

show mouse cursor :: control
hide mouse cursor :: control

This can also allow the possibility of custom styled mouse cursors in Scratch which will be really useful. (See one of my comments below showing the specific code to do that). There can even be a specific keyboard function that will show and/or hide the mouse cursor when being used in Scratch for people that want full control.
So yah, that's my suggestion.

No support here, sorry. I don't want people playing with my mouse.
When you're watching youtube, and you go into fullscreen the mouse disappears. This isn't much different.

Well, there is a bit of a difference. I guess I'll say support if there aren't blocks, but instead, a checkbox “Hide mouse while over the project”.

What I don't want to happen is this:

Project: Hideshowhideshowhideshowhideshow haha I found a way to break your mouse!

Cookie Clicker Project: If x position > -130 and x position < -140 and y position < -160, hide mouse. Lol I tricked you into clicking love it!

Project targeted at new scratchers: Muahaha I stole your mouse. Click love it to get it back. Use of unstoppable project trick would make this bad.

Maybe The Mouse must be touching a sprite going to the mouse?
Cub56
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Like projects with the username block or cloud data, have a message before you start the project: “This project uses the hide mouse cursor block - move mouse outside project to show it”.

Check out Life Raft Survival, my new advanced sandbox survival game with crafting, building, transportation, weather events, tropical storms, and more!

In the game you're stranded at sea after a mysterious crash and must survive in an unforgiving tropical island environment collecting resources and crafting, in an attempt to finally be rescued.



googolplexianth
Scratcher
9 posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Personally I agree, it would be useful to be able to hide a mouse pointer and make your own, such as.

[v] mouse pointer
googolplexianth
Scratcher
9 posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Personally I agree, it would be useful to be able to hide a mouse pointer and make your own, such as.

 
[hide v] mouse pointer : Control
finn55
Scratcher
79 posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

googolplexianth wrote:

Personally I agree, it would be useful to be able to hide a mouse pointer and make your own, such as.

[v] mouse pointer

googolplexianth wrote:

Personally I agree, it would be useful to be able to hide a mouse pointer and make your own, such as.

 
[hide v] mouse pointer : Control
THis iS rEally a biT cOmpliCatEd foR sUch a siMple fEatUre
ThE orIgiN fOr tHIs ideA is sO cReatOrs can mAke somEthing cOoL like their oWn cursOr respOndiNg to ButtOns oN thEir proJecT

Last edited by finn55 (Sept. 30, 2017 15:52:18)


Oh hello there.

I' am not so much active niow.

kumquats have retreated.
finn55
Scratcher
79 posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

ChocolatePi wrote:

Support if there's a message box:
This project wants to hide the mouse pointer.

If the user selected ‘deny’, it would disable all ‘hide mouse pointer’ blocks.
This would be painful to creators as it may seem malicious, Chrome also adds an “allow this page to hide cursor” message

Last edited by finn55 (Sept. 30, 2017 16:09:35)


Oh hello there.

I' am not so much active niow.

kumquats have retreated.
Charles12310
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Support, but only if it's optional.

[show v] mouse pointer :: sensing

[hide v] mouse pointer :: sensing

<mouse pointer showing? :: sensing >


A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
-ShadowOfTheFuture-
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Support.

<Insert uncreative signature here>









██       ██  ██            ██  ██       ██
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
███ ███ ██ ████ ██ ███ ███
█████████ █████ █████ █████████

“Though the seasons come and go, and sunshine turns to snow, we will always have tomorrow up ahead.”
Cub56
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

The no support reasoning is kind of invalid. In almost all regular games it doesn't show the mouse cursor on top of the game, especially in first person games like Minecraft and FPS games - the crosshair shows what you're looking at and it would seem weird to see the cursor.

In some of my FPS games people thought the game was “buggy” because the cursor was showing as well as the crosshair.

This feature couldn't be abused and wouldn't allow the user to “lose” where their mouse was because moving it out of the project area would show the cursor.

Check out Life Raft Survival, my new advanced sandbox survival game with crafting, building, transportation, weather events, tropical storms, and more!

In the game you're stranded at sea after a mysterious crash and must survive in an unforgiving tropical island environment collecting resources and crafting, in an attempt to finally be rescued.



aking_
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

I actually really like this idea. Support.

Throws up the deuces and walks out like a G
crusty_sweater
Scratcher
1 post

The ability to hide the mouse cursor/pointer when hovering over the stage screen

hide mousepointer
show mousepointer
gotdunkedonsans
Scratcher
11 posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

To hide the mouse you can download a chrome extension. here's the link to one. https://chrome.google.com/webstore/detail/cursor-hider/hndobfpbhbcbbpojgobjkmkjngcbeddg?hl=en

Gotdunkedonsans
Charles12310
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

gotdunkedonsans wrote:

To hide the mouse you can download a chrome extension. here's the link to one. https://chrome.google.com/webstore/detail/cursor-hider/hndobfpbhbcbbpojgobjkmkjngcbeddg?hl=en
That works for outside of Scratch. The user is suggesting to hide the mouse in a project.


A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
Sean222
Scratcher
12 posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

I think that the project should have initial control over the mouse visibility, but you can force disable these blocks

Check out my Work in progress shooter here.
Ideas and feedback appreciated!
Cub56
Scratcher
1000+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

Just as a summary for the reasons why I support and to counter the reasons why people aren't supporting:

  • This could not be abused. By moving the mouse outside of the project screen, the cursor would reappear - so there would be no point in troll “I can hide your mouse” projects.
  • This would be essential for many games. FPS or first person games in general would feel very counter-intuitive to have the cursor showing as well as the crosshairs or whatever - it could be confusing and also not look great.



Check out Life Raft Survival, my new advanced sandbox survival game with crafting, building, transportation, weather events, tropical storms, and more!

In the game you're stranded at sea after a mysterious crash and must survive in an unforgiving tropical island environment collecting resources and crafting, in an attempt to finally be rescued.



--Waterfall--
Scratcher
500+ posts

The ability to hide the mouse cursor/pointer when hovering over the stage screen

TimothyLawyer wrote:

It has been suggested before. The way I think this could be done is as a stage setting. By default the setting is off (the way it is now). But when turned on, a button appears next to the full screen button above the stage. This button toggles the visibility of the mouse cursor on the stage. By default, the mouse is shown. But if the user of a project clicks the toggle button, then the mouse pointer is hidden when on the stage. No matter what the setting, the mouse is always shown when outside the stage or in the bar above the stage.
Yeah, I like this idea more Makes more sense.


Powered by DjangoBB