Discuss Scratch

Just_Ciaran
Scratcher
100+ posts

Different mouse pointers (Small addition)

Full Explanation

I would suggest an ability to change the mouse pointer as you are able to do with many games using javascript and other coding programs. Example, in Upgrade Complete (if you know it), there is a particular costume for the mouse since when the normal pointer goes on screen it will change to something different. I completely understand if there is a particular reason and I don't think this should be at the top of the things-to-do but I just think it would be a nice addition.

In other words:

I think that it would be a nice addition to be able to change the mouse pointer when it goes in the project border however it shouldn't be a priority.


How it would work

It could work as a scratch block that works with costumes by hiding the system cursor and replacing it with a costume ↓

if <(Mouse type) = [1]> then
Change mouse to [Mouse1 v]:: looks
end

Or

It could work as a separate area in the editor like the backdrops section although I don't think this would work so well

Other solutions that may be better

Having two new blocks, the hide and show blocks for the pointer

Hide pointer :: looks
Show pointer :: looks

Don't say this is a duplicate of this topic as I made this one first however I incorporated their other suggestions into this topic

Last edited by Just_Ciaran (Jan. 22, 2019 07:07:27)


Best Projects -> Music Environment and A Remix Of… Twist. Comment on my profile if you need any help
When (Seen (This:: stack grey):: custom hat) :: hat
forever :: list
Find (My Projects :: events end) and start (Playing, Favouriting and Loving :: control)(All my games :: sound cap):: pen
Prof_Red
Scratcher
500+ posts

Different mouse pointers (Small addition)

Support. But there are a few workarounds, they aren't as good however.

 `_`// This is Pixel, he protects me from evil kumquats

Did you read the WHOLE post, if not then go back and read it again.

If you don't support, why not?

Be sure to check out games and animations at my profile!

I've moved to @RelatableTV
alexphan
Scratcher
1000+ posts

Different mouse pointers (Small addition)

How can Flash change the system cursor?

Sorry, this signature was blocked by your Internet provider. To access this signature, please upgrade your service plan (from $199.99/mo)
Just_Ciaran
Scratcher
100+ posts

Different mouse pointers (Small addition)

alexphan wrote:

How can Flash change the system cursor?

Part of the block coding or whatever the scratch team does would be to hide the system cursor, not actually change it

Best Projects -> Music Environment and A Remix Of… Twist. Comment on my profile if you need any help
When (Seen (This:: stack grey):: custom hat) :: hat
forever :: list
Find (My Projects :: events end) and start (Playing, Favouriting and Loving :: control)(All my games :: sound cap):: pen
rasmusolle
Scratcher
100+ posts

Different mouse pointers (Small addition)

Not needed. Just make a sprite go to the mouse pointer

OwO
OKThenBye
Scratcher
23 posts

Different mouse pointers (Small addition)

rasmusolle wrote:

Not needed. Just make a sprite go to the mouse pointer
The system mouse pointer will still show above it.

CLICK THE GIF
Just_Ciaran
Scratcher
100+ posts

Different mouse pointers (Small addition)

OKThenBye wrote:

rasmusolle wrote:

Not needed. Just make a sprite go to the mouse pointer
The system mouse pointer will still show above it.
So are you a supporter of this?

Best Projects -> Music Environment and A Remix Of… Twist. Comment on my profile if you need any help
When (Seen (This:: stack grey):: custom hat) :: hat
forever :: list
Find (My Projects :: events end) and start (Playing, Favouriting and Loving :: control)(All my games :: sound cap):: pen
jokebookservice1
Scratcher
1000+ posts

Different mouse pointers (Small addition)

alexphan wrote:

How can Flash change the system cursor?
Because the cursor can be controlled by the browser through CSS and Flash can communicate with the browser.
kittycat841
Scratcher
100+ posts

Different mouse pointers (Small addition)

Support, I can see many uses for this.

not on scratch anymore sorry
alexphan
Scratcher
1000+ posts

Different mouse pointers (Small addition)

jokebookservice1 wrote:

alexphan wrote:

How can Flash change the system cursor?
Because the cursor can be controlled by the browser through CSS and Flash can communicate with the browser.
Wait, does the OP mean change the mouse to the cursor when you are about to click something?

Sorry, this signature was blocked by your Internet provider. To access this signature, please upgrade your service plan (from $199.99/mo)
cs156175
Scratcher
1000+ posts

Different mouse pointers (Small addition)

alexphan wrote:

jokebookservice1 wrote:

alexphan wrote:

How can Flash change the system cursor?
Because the cursor can be controlled by the browser through CSS and Flash can communicate with the browser.
Wait, does the OP mean change the mouse to the cursor when you are about to click something?
No, just in the project. things like
Hide mouse cursor::looks

Show mouse cursor::looks

Set this sprite to the mouse cursor::looks


alexphan
Scratcher
1000+ posts

Different mouse pointers (Small addition)

cs156175 wrote:

alexphan wrote:

jokebookservice1 wrote:

alexphan wrote:

How can Flash change the system cursor?
Because the cursor can be controlled by the browser through CSS and Flash can communicate with the browser.
Wait, does the OP mean change the mouse to the cursor when you are about to click something?
No, just in the project. things like
Hide mouse cursor::looks

Show mouse cursor::looks

Set this sprite to the mouse cursor::looks
Oh.

Well, I guess I will support for the hide/show cursor blocks only.

Sorry, this signature was blocked by your Internet provider. To access this signature, please upgrade your service plan (from $199.99/mo)
jokebookservice1
Scratcher
1000+ posts

Different mouse pointers (Small addition)

alexphan wrote:

cs156175 wrote:

alexphan wrote:

jokebookservice1 wrote:

alexphan wrote:

How can Flash change the system cursor?
Because the cursor can be controlled by the browser through CSS and Flash can communicate with the browser.
Wait, does the OP mean change the mouse to the cursor when you are about to click something?
No, just in the project. things like
Hide mouse cursor::looks

Show mouse cursor::looks

Set this sprite to the mouse cursor::looks
Oh.

Well, I guess I will support for the hide/show cursor blocks only.
Makes sense since the last one can be workarounded together with the hide cursor.


The cursor change can be made via the CSS cursor rule:
#project{
cursor: none;
}
Or with the JavaScript property change:
document.getElementById("project").style.cursor = "none";
(source from stackoverflow)

and that is just in CSS, remember in 1.4 the cursor was different to Scratch. I bet something similar can be done in Flash. *googles it*

Yes, you can do it in Flash
But Flash has to do the workaround of changing the cursor, since it only has the show and hide commands. Here it is in ActionScript 3:
Mouse.hide();
and
Mouse.show();

Yipee!
NoMod-Programming
Scratcher
1000+ posts

Different mouse pointers (Small addition)

jokebookservice1 wrote:

alexphan wrote:

cs156175 wrote:

alexphan wrote:

jokebookservice1 wrote:

alexphan wrote:

How can Flash change the system cursor?
Because the cursor can be controlled by the browser through CSS and Flash can communicate with the browser.
Wait, does the OP mean change the mouse to the cursor when you are about to click something?
No, just in the project. things like
Hide mouse cursor::looks

Show mouse cursor::looks

Set this sprite to the mouse cursor::looks
Oh.

Well, I guess I will support for the hide/show cursor blocks only.
Makes sense since the last one can be workarounded together with the hide cursor.


The cursor change can be made via the CSS cursor rule:
#project{
cursor: none;
}
Or with the JavaScript property change:
document.getElementById("project").style.cursor = "none";
(source from stackoverflow)

and that is just in CSS, remember in 1.4 the cursor was different to Scratch. I bet something similar can be done in Flash. *googles it*

Yes, you can do it in Flash
But Flash has to do the workaround of changing the cursor, since it only has the show and hide commands. Here it is in ActionScript 3:
Mouse.hide();
and
Mouse.show();

Yipee!
Actually its entirely possible to change the mouse cursor through flash. Just click one of the tool buttons at the top of scratch and see the cursor change. Because of this, it would not be difficult to make a new tab, similar to te costumes editor, but with a smaller size useful for mouse pointers. If you give me about 3 days (2 to get back home from vacation, and 1 to program), then I could build you a working proof of concept.

Edit: It's been a little more than 3 days. It's been roughly 10 months, and no proof of concept. Sorry, I just haven't had the time, but it's definitely possible.

Last edited by NoMod-Programming (April 17, 2017 05:42:54)

-Addify-
Scratcher
54 posts

Different mouse pointers (Small addition)

NoMod-Programming wrote:

jokebookservice1 wrote:

alexphan wrote:

cs156175 wrote:

alexphan wrote:

jokebookservice1 wrote:

alexphan wrote:

How can Flash change the system cursor?
Because the cursor can be controlled by the browser through CSS and Flash can communicate with the browser.
Wait, does the OP mean change the mouse to the cursor when you are about to click something?
No, just in the project. things like
Hide mouse cursor::looks

Show mouse cursor::looks

Set this sprite to the mouse cursor::looks
Oh.

Well, I guess I will support for the hide/show cursor blocks only.
Makes sense since the last one can be workarounded together with the hide cursor.

The cursor change can be made via the CSS cursor rule:
#project{
cursor: none;
}
Or with the JavaScript property change:
document.getElementById("project").style.cursor = "none";
(source from stackoverflow)

and that is just in CSS, remember in 1.4 the cursor was different to Scratch. I bet something similar can be done in Flash. *googles it*

Yes, you can do it in Flash
But Flash has to do the workaround of changing the cursor, since it only has the show and hide commands. Here it is in ActionScript 3:
Mouse.hide();
and
Mouse.show();

Yipee!
Actually its entirely possible to change the mouse cursor through flash. Just click one of the tool buttons at the top of scratch and see the cursor change. Because of this, it would not be difficult to make a new tab, similar to te costumes editor, but with a smaller size useful for mouse pointers. If you give me about 3 days (2 to get back home from vacation, and 1 to program), then I could build you a working proof of concept.
I was saying the same thing though, it is possible. Hmm, well I have WiFi only for today so I'll make my own which only has hide/show mouse pointer since the other one is workaoundable

EDIT: This is the account jokebookservice1 is moving to

Last edited by -Addify- (Aug. 3, 2016 07:41:07)


I am the new account that @jokebookservice1 is moving to.
Sheep_maker
Scratcher
1000+ posts

Different mouse pointers (Small addition)

alexphan wrote:

How can Flash change the system cursor?
Why are we talking about Flash when the ST is working on Scratch 3 now which is not Flash?

- Sheep_maker This is a kumquat-free signature. :P
My signature appears below all my posts; discuss it on my profile, not the forums.
To make your own, click “Change your signature” at the bottom of the main forums page.

Cloud chats of any kind (including those with whitelists) are now not allowed.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
jokebookservice1
Scratcher
1000+ posts

Different mouse pointers (Small addition)

Sheep_maker wrote:

alexphan wrote:

How can Flash change the system cursor?
Why are we talking about Flash when the ST is working on Scratch 3 now which is not Flash?
They might release an update to the 2.0 editor though..
Just_Ciaran
Scratcher
100+ posts

Different mouse pointers (Small addition)

Bumping it back up since I haven't had internet to reply that much to the comments. Also does Yipee! mean ‘I support’ jokebookservice1?

Best Projects -> Music Environment and A Remix Of… Twist. Comment on my profile if you need any help
When (Seen (This:: stack grey):: custom hat) :: hat
forever :: list
Find (My Projects :: events end) and start (Playing, Favouriting and Loving :: control)(All my games :: sound cap):: pen
Ziggy741
Scratcher
1000+ posts

Different mouse pointers (Small addition)

Semi-support. It would be good for customizing projects, but what if someone made it so you can't see the mouse pointer? Also, some people might not like it.

(Put this in your signature and add one word to the paragraph) Sparrows
Just_Ciaran
Scratcher
100+ posts

Different mouse pointers (Small addition)

Ziggy741 wrote:

Semi-support. It would be good for customizing projects, but what if someone made it so you can't see the mouse pointer? Also, some people might not like it.

If someone made it so you can't see the mouse pointer you can just move your mouse out of the project screen then. It would be the same as how a sprite can track the pointer. Also on how people might not like it, it's the same as any other type of thing such as how people might not like that a project is drawn in bitmap rather than vector (or vice versa). If they really hated it they could just see inside and change it that way

Best Projects -> Music Environment and A Remix Of… Twist. Comment on my profile if you need any help
When (Seen (This:: stack grey):: custom hat) :: hat
forever :: list
Find (My Projects :: events end) and start (Playing, Favouriting and Loving :: control)(All my games :: sound cap):: pen

Powered by DjangoBB

Standard | Mobile