Discuss Scratch

dominic305
Scratcher
500+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Maximouse
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

dominic305 wrote:

Duplicate

I don't think so. This is about multi-touch reporters and the linked topic is about events.
RedMonster12
Scratcher
100+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

on scratch, is the default possible number of mouse positions on mobile 1? because i'm trying to make a game that requires that i only have one touch, 2 touch messes it up.
Harakou
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

RedMonster12 wrote:

on scratch, is the default possible number of mouse positions on mobile 1? because i'm trying to make a game that requires that i only have one touch, 2 touch messes it up.
I'm not totally sure what you're asking here, but you'd be better off making a new topic in Questions About Scratch - this is a suggestion for a new feature, not how Scratch works currently.
1132262
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

RedMonster12 wrote:

on scratch, is the default possible number of mouse positions on mobile 1? because i'm trying to make a game that requires that i only have one touch, 2 touch messes it up.
Yes, the “default” is 1. There isn't yet support for multiple mouse pointers.
46009361
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Disclaimer: If you see a link on this forum post, this is not a Scratch profile link; instead, your mobile browser probably misinterpreted it as a phone number.
Bump, even if it's already on the first page (thank you all for the reminder in my messages!). But wow, now famous Scratchers like Harakou and FPC #397 (1132262) are posting on MY topic???

Last edited by 46009361 (Oct. 18, 2020 18:50:35)

MTM828
Scratcher
500+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Support, useful. But may be a bit confusing.
46009361
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Bump
HelloRuler
Scratcher
47 posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Support.
46009361
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

HelloRuler wrote:

Support.
I read your signature anyway.
Greg8128
Scratcher
500+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

What are you trying to accomplish by adding support for multi-touch? (What applications will it have?)

One application that I can think of is joysticks for games. This implementation of multi-touch would be difficult to use for that purpose. For one thing, there is no correlation between indexes in the list and what the mouse position means. (A thumb on the movement joystick could be mouse position 1 at one moment, then later become mouse position 2). The code that deals with this problem would be rather complicated.

Another application is using multi-touch gestures in projects. Again, doing this with blocks would be extremely complicated.

In conclusion:
  • Figure out what problem you are trying to solve
  • Come up with a “high-level” set of blocks that makes it easy to solve this problem

46009361
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Greg8128 wrote:

What are you trying to accomplish by adding support for multi-touch? (What applications will it have?)

One application that I can think of is joysticks for games. This implementation of multi-touch would be difficult to use for that purpose. For one thing, there is no correlation between indexes in the list and what the mouse position means. (A thumb on the movement joystick could be mouse position 1 at one moment, then later become mouse position 2). The code that deals with this problem would be rather complicated.

Another application is using multi-touch gestures in projects. Again, doing this with blocks would be extremely complicated.

In conclusion:
  • Figure out what problem you are trying to solve
  • Come up with a “high-level” set of blocks that makes it easy to solve this problem

I mean, I understand that the mouse positions may be different depending on who's playing the project because the same code runs for everyone (albeit not necessarily at the same time). However, it can be used to determine whether the person is on mobile or on a computer through keys.
the2000
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

I would like support for multiple taps as an extension; any suggestion that makes blocks function differently depending on their context (like shown in the OP) is an automatic thumbs down from me because that's not how programming works.
Advaith_Hello
Scratcher
28 posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

TedtheFluffy wrote:

I agree with this. It is very annoying to have to let go of the joystick in order to push the attack button.
https://www.youtube.com/watch?v=cI1mdVVvCWY
ajskateboarder
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Advaith_Hello wrote:

TedtheFluffy wrote:

I agree with this. It is very annoying to have to let go of the joystick in order to push the attack button.
https://www.youtube.com/watch?v=cI1mdVVvCWY
Please don't unnecessarily bump topics

I support since it could make for some cool projects with pinching and zooming :)
Dodger380468
Scratcher
100+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Support for an extension. This really should be added
medians
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Any better ideas for blocks?

lame I know
gdfsgdfsgdfg
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

Advaith_Hello wrote:

TedtheFluffy wrote:

I agree with this. It is very annoying to have to let go of the joystick in order to push the attack button.
https://www.youtube.com/watch?v=cI1mdVVvCWY

The workaround isn’t perfect
Elijah999999
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

But this wouldn't work for PCs. Then there would be games mobile-only.
k7e
Scratcher
1000+ posts

Allow the mouse-pointer to be in multiple places at once (touchscreen)

What would the “mouse x” block report?

Powered by DjangoBB