Discuss Scratch

HTMKing_
Scratcher
6 posts

Hiding the cursor.

Hello! I was making an OS emulator and I came to a dead, dead end for a couple sprites that would have been AWESOME - I could not hide the cursor(not the cursor on my OS, the cursor on your screen(my goodness, this is confusing!))! I thought about it for a while and came up whith the idea of a hide or show cursor block! It would look like this(Somewhat around this):

hide cursor
show cursor

Pretty much all it does is what it says. It might ask in a pop up if you want to hide the cursor. I think those would be in the sensing or control section, never thought about that.

I know the odds of me actually getting what I want right now are 0.00000000000000000000000000001% , but I wanted to do this anyway.

Reply in the comments and remember:

define SCRATCH ON
if <key [AWESOME] pressed?> then
Get [Dubstep Puppy]
end
JavierR100
Scratcher
500+ posts

Hiding the cursor.

No support,

HTMKing_ wrote:

It might ask in a pop up if you want to hide the cursor.
What if this happen?
when green flag clicked
say [HAHAHAH! YOU FALLED ON MY TRAP!]
forever
hide cursor :: grey
end
cs156175
Scratcher
1000+ posts

Hiding the cursor.

JavierR100 wrote:

No support,

HTMKing_ wrote:

It might ask in a pop up if you want to hide the cursor.
What if this happen?
when green flag clicked
say [HAHAHAH! YOU FALLED ON MY TRAP!]
forever
hide cursor :: grey
end
when your mouse moved out of the project box it would re-appear.
HTMKing_
Scratcher
6 posts

Hiding the cursor.

cs156175 wrote:

JavierR100 wrote:

No support,

HTMKing_ wrote:

It might ask in a pop up if you want to hide the cursor.
What if this happen?
when green flag clicked
say [HAHAHAH! YOU FALLED ON MY TRAP!]
forever
hide cursor :: grey
end
when your mouse moved out of the project box it would re-appear.

Yup. On most applications, pressing Escape or Tab (Whichever one) would realease the cursor.
Besides, they could press somthing like NO and REMEMBER THIS on the popup!

Last edited by HTMKing_ (July 31, 2016 23:13:23)

Candylanguagegirl
Scratcher
1000+ posts

Hiding the cursor.

Support, this would be nice for makes custom cursors and could also make some really fun games!
JavierR100
Scratcher
500+ posts

Hiding the cursor.

Oh well, i´ve seen an duplicate of this, but i change to support anyways.
Just_Ciaran
Scratcher
100+ posts

Hiding the cursor.

Well I've made this same sort of topic yesterday and here's the link but I guess since you have got more people replying maybe you could put some other details that I had originally done. Link

Last edited by Just_Ciaran (Aug. 1, 2016 15:05:35)

LP_Play
Scratcher
1000+ posts

Hiding the cursor.

Semi support, assuming that the block would not be allowed to be put in a forever loop and exiting the project would force the cursor to reappear, support then.
HTMKing_
Scratcher
6 posts

Hiding the cursor.

LP_Play wrote:

Semi support, assuming that the block would not be allowed to be put in a forever loop and exiting the project would force the cursor to reappear, support then.

Like I said, on some javascript thingies, pressing esc or tab(Or something else) would release the cursor until you click the project again.
LP_Play
Scratcher
1000+ posts

Hiding the cursor.

HTMKing_ wrote:

LP_Play wrote:

Semi support, assuming that the block would not be allowed to be put in a forever loop and exiting the project would force the cursor to reappear, support then.

Like I said, on some javascript thingies, pressing esc or tab(Or something else) would release the cursor until you click the project again.
Then support.
Candylanguagegirl
Scratcher
1000+ posts

Hiding the cursor.

Or what if we just had a ‘go back one layer’ thingy that would function for the cursor? Because if the cursor is hidden, you couldn't make stuff follow it anyway, so custom cursors wouldn't be possible.
HTMKing_
Scratcher
6 posts

Hiding the cursor.

Candylanguagegirl wrote:

Or what if we just had a ‘go back one layer’ thingy that would function for the cursor? Because if the cursor is hidden, you couldn't make stuff follow it anyway, so custom cursors wouldn't be possible.
If you HIDE the cursor, the cursor is still there. The blocks wouldn't REMOVE the cursor, it HIDES and SHOWS the cursor. Hiding a sprite and making another sprite follow it works.

when green flag clicked
forever
confetti gun
end

Last edited by HTMKing_ (Aug. 1, 2016 16:11:47)

rick_ds
Scratcher
100+ posts

Hiding the cursor.

JavierR100 wrote:

No support,

HTMKing_ wrote:

It might ask in a pop up if you want to hide the cursor.
What if this happen?
when green flag clicked
say [HAHAHAH! YOU FALLED ON MY TRAP!]
forever
hide cursor :: grey
end

But the cursor should only hide while it is hovering over the scratch screen
PrincessPanda_test_
Scratcher
1000+ posts

Hiding the cursor.

Support. Would allow more flexibility,
Sigton
Scratcher
1000+ posts

Hiding the cursor.

Yeah, this would be cool
It would allow custom cursors etc, as well as generally hiding the cursor when it's not needed.

Sigton
GlassGalaxy
Scratcher
500+ posts

Hiding the cursor.

Support. You could use it for…
  • Games that don't need them
  • People who want to make a game more challenging
  • People who have branding and want custom cursors
    etc…
And it just makes it more fun.
Studio42
Scratcher
500+ posts

Hiding the cursor.

Support. Would be cool for custom cursors.
JavierR100
Scratcher
500+ posts

Hiding the cursor.

Support, reasons above
(also, for mazes it would change the mouse into a dot.)

Powered by DjangoBB