Discuss Scratch
- Discussion Forums
- » Suggestions
- » multi-touch events
- game_pr0grammer
- Scratcher
500+ posts
multi-touch events
there should be events that support multi-touch
so what it would do is it would run the event if the sprite is being touched. by “touched” i mean touch as in for a mobile device. so you can have multiple sprites being touched at once. this is different from clicking where you can only have one sprite being clicked at once.
and also i propose a sensing block for this
this would make making mobile controls way easier since you would now be able to make a joystick and a jump button that can be pressed at the same time
EDIT: also if you use mouse input then those blocks would behave exactly the same as their counterparts:
when this sprite touched::events hat
so what it would do is it would run the event if the sprite is being touched. by “touched” i mean touch as in for a mobile device. so you can have multiple sprites being touched at once. this is different from clicking where you can only have one sprite being clicked at once.
and also i propose a sensing block for this
<this sprite touched?::sensing>
this would make making mobile controls way easier since you would now be able to make a joystick and a jump button that can be pressed at the same time
EDIT: also if you use mouse input then those blocks would behave exactly the same as their counterparts:
when this sprite clicked
<<touching [mouse pointer v]> and <mouse down>>
Last edited by game_pr0grammer (March 6, 2020 02:17:13)
SPEAK UP TO KUMQUAT EQUALITY Kumquats are not bad! Kumquat lives matter!
hi i am myself, i make projects that take like a week or month to make whenever i feel like it (which isn't often) and then they only get 10 views because i'm a nobody. and i cannot change that. i am just one singular person in the sea of many that are on scratch. my stuff don't matter. i don't matter. i am going to die in 70 years anyway, and 99.99% of people on the world will not even know, or really care if they know. also i am good at programming i made an opengl so ha take that nuuubs. (i am legally required to say that statement does not accurately reflect my views i wrote that because i thought it was funny)
all my good projects. are here here are examples of my good Projects
shoot that's it basically lol they're all platformers. play them and talk about it so i get clout plz. thank.
- xXRedTheCoderXx
- Scratcher
1000+ posts
multi-touch events
Support. Mobile projects would be much easier, with 2 things being able to be touched at once
Last edited by xXRedTheCoderXx (Feb. 15, 2020 21:17:23)
- -FasterThanLight-
- Scratcher
100+ posts
multi-touch events
This already exists, as the:
when this sprite clickedblock, so there isn't any reason to add it.
✭✭✭ FasterThanLight ✭✭✭
Hello! I'm @-FasterThanLight-, and this is my signature! Your signature is a piece of text that is appended to each and every post you make! I am purposefully trying to make this signature long! I hope you like it! Oh my that echoes…
- xXRedTheCoderXx
- Scratcher
1000+ posts
multi-touch events
You probably don't know what game_pr0grammer is suggesting. He or she wants two things to be touched at once. This already exists, as the:when this sprite clickedblock, so there isn't any reason to add it.
- Seth_Zaw
- Scratcher
100+ posts
multi-touch events
*laughs* This block already exists:
when this sprite clickedBy the way, here's a workaround for the other block:
<<touching [mouse pointer v]> and <mouse down?>>
¡Aprendamos español con los Alfabetons!
In my new series, you will cover genders of nouns, important and useful phrases, conjugating verbs and adjectives, regular and irregular words, and more, in Spanish!
Click here to get started!
Visit the Official Alfabetons Website: https://alfabetons.com
- xXRedTheCoderXx
- Scratcher
1000+ posts
multi-touch events
You probably don't know what game_pr0grammer is suggesting. He or she wants two things to be able to be touched at once. *laughs* This block already exists:when this sprite clickedBy the way, here's a workaround for the other block:<<touching [mouse pointer v]> and <mouse down?>>
- JplaysStuff
- Scratcher
100+ posts
multi-touch events
No support. This can be used to make mobile-only projects…
Scratch doesn't support multi-touch anyway, as far as I can tell. If it did, “when this sprite clicked” blocks can be used just fine.
Scratch doesn't support multi-touch anyway, as far as I can tell. If it did, “when this sprite clicked” blocks can be used just fine.
Last edited by JplaysStuff (Feb. 16, 2020 19:51:50)
Lots of people make good projects, but they get ignored! You should check out a random project made by a random Scratcher when you aren't busy!
- game_pr0grammer
- Scratcher
500+ posts
multi-touch events
This could easily be used to make mobile-only projects… no support.
whats wrong with mobile-only projects? doesnt most people have a mobile device anyway?
SPEAK UP TO KUMQUAT EQUALITY Kumquats are not bad! Kumquat lives matter!
hi i am myself, i make projects that take like a week or month to make whenever i feel like it (which isn't often) and then they only get 10 views because i'm a nobody. and i cannot change that. i am just one singular person in the sea of many that are on scratch. my stuff don't matter. i don't matter. i am going to die in 70 years anyway, and 99.99% of people on the world will not even know, or really care if they know. also i am good at programming i made an opengl so ha take that nuuubs. (i am legally required to say that statement does not accurately reflect my views i wrote that because i thought it was funny)
all my good projects. are here here are examples of my good Projects
shoot that's it basically lol they're all platformers. play them and talk about it so i get clout plz. thank.
- ElsieBreeze
- Scratcher
100+ posts
multi-touch events
You probably don't know what game_pr0grammer is suggesting. He or she wants two things to be touched at once. This already exists, as the:when this sprite clickedblock, so there isn't any reason to add it.
I do not believe Scratch 3.0 has multi-touch compatibility, so this suggestion is a very particular one.You probably don't know what game_pr0grammer is suggesting. He or she wants two things to be able to be touched at once. *laughs* This block already exists:when this sprite clickedBy the way, here's a workaround for the other block:<<touching [mouse pointer v]> and <mouse down?>>
I wonder how much work would have to be done to gain such, or even if such is possible.
And as a side note, I'd recommend refraining from using “he or she” and using the all-encompassing gender neutral “they” if you don't know someone's gender. Some folx do not use “he” or “she” as pronouns, and use only “they”.
Mobile projects are a key part of Scratch 3s viewpoints, and why you take issue with mobile-only when the majority of projects are PC-only, I don't know. This could easily be used to make mobile-only projects… no support.
- OurPrincess
- Scratcher
1000+ posts
multi-touch events
No one would be able to use one on their computers. Some people don't even have phones! Only my mom knows where my phone is… and I haven't used it in weeks… Scratch doesn't like to cater (provide stuff) to some, it likes to cater to all people.This could easily be used to make mobile-only projects… no support.
whats wrong with mobile-only projects? doesnt most people have a mobile device anyway?
I am officially reopening my account. I decided this is the best way to go.
- ElsieBreeze
- Scratcher
100+ posts
multi-touch events
But… most projects are PC-only and don't work on Mobile…No one would be able to use one on their computers. Some people don't even have phones! Only my mom knows where my phone is… and I haven't used it in weeks… Scratch doesn't like to cater (provide stuff) to some, it likes to cater to all people.This could easily be used to make mobile-only projects… no support.
whats wrong with mobile-only projects? doesnt most people have a mobile device anyway?
It is very hypocritical to banish this block for it allowing Phone-Only projects (when in reality, it'd be mostly used to add phone support to already PC-capable projects).
Basing the verdict of this suggestion off a hypothetical situation that may or may not occur on a per-project basis does not seem to be a great idea.
- minor-edit
- Scratcher
500+ posts
multi-touch events
Scratch should fix that its projects are majority PC only then. Scratch doesn't like to cater (provide stuff) to some, it likes to cater to all people.
John Conway
☁️
• ω •
HSL and RGB levels
Whoops! Our server is Scratch'ing its head
We couldn't find the page you're looking for. Check to make sure you've typed the url correctly.
You can try searching for what you're looking for here:
We couldn't find the page you're looking for. Check to make sure you've typed the url correctly.
You can try searching for what you're looking for here:
Search
(╯°□°)╯︵ ┻━┻ 404 ┻━┻ ︵╰(°□°╰)
these blocks have been hidden for your safety
these blocks have been hidden for your safety
scroll around the scripting area while holding a block of code.
hi
necroposting is allowed on the Suggestions forum for comments relevant to the discussion
- OurPrincess
- Scratcher
1000+ posts
multi-touch events
This suggestion has really good potential, though… and I'm on semi-support at the moment. You can already jump and move left/right at the same time on mobile… with one finger.But… most projects are PC-only and don't work on Mobile…No one would be able to use one on their computers. Some people don't even have phones! Only my mom knows where my phone is… and I haven't used it in weeks… Scratch doesn't like to cater (provide stuff) to some, it likes to cater to all people.This could easily be used to make mobile-only projects… no support.
whats wrong with mobile-only projects? doesnt most people have a mobile device anyway?
It is very hypocritical to banish this block for it allowing Phone-Only projects (when in reality, it'd be mostly used to add phone support to already PC-capable projects).
Basing the verdict of this suggestion off a hypothetical situation that may or may not occur on a per-project basis does not seem to be a great idea.
I am officially reopening my account. I decided this is the best way to go.
- ElsieBreeze
- Scratcher
100+ posts
multi-touch events
Multi-touch would be a lovely addition, I just don't know whether it'd be possible from a technical perspective.This suggestion has really good potential, though… and I'm on semi-support at the moment. You can already jump and move left/right at the same time on mobile… with one finger.But… most projects are PC-only and don't work on Mobile…No one would be able to use one on their computers. Some people don't even have phones! Only my mom knows where my phone is… and I haven't used it in weeks… Scratch doesn't like to cater (provide stuff) to some, it likes to cater to all people.This could easily be used to make mobile-only projects… no support.
whats wrong with mobile-only projects? doesnt most people have a mobile device anyway?
It is very hypocritical to banish this block for it allowing Phone-Only projects (when in reality, it'd be mostly used to add phone support to already PC-capable projects).
Basing the verdict of this suggestion off a hypothetical situation that may or may not occur on a per-project basis does not seem to be a great idea.
- Sheep_maker
- Scratcher
1000+ posts
multi-touch events
Regarding touch-only projects, I think the mouse can simulate a finger (but this won't work for projects requiring multiple touch inputs). Many projects already require keyboards, so this could be used as a compromise for keyboardless devices. I recall a suggestion asking for a message like “this project requires a keyboard” (which can be shown in the extensions list) for keyboard-using projects; something similar can be done for touch projects. In addition, some projects on Scratch rely on other physical things like those fancy lego and makey makey devices, so not all projects need to be 100% universal
Scratch doesn't support first class lists for storing a list of pointers, but perhaps they could add these blocks:
This is mostly based on how JavaScript deals with multiple pointers (event-based) and also how the ask/wait and answer blocks behave, but I'm not sure if this is the best way. Does anyone have a different idea for blocks?
I think Scratch's targeted browsers all support at least touch events, which support multiple touch inputs. Currently, Scratch VM only accepts one pointer position at a time, but I think that could be changed with not a ton of revolutionary rewriting. However, I think the main issue is how to make this available in the form of Scratch blocks I do not believe Scratch 3.0 has multi-touch compatibility, so this suggestion is a very particular one.
I wonder how much work would have to be done to gain such, or even if such is possible.
Scratch doesn't support first class lists for storing a list of pointers, but perhaps they could add these blocks:
when pointer is down::events hatWhere the pointer ID only reports a value while running one of the three new hat blocks. This ID can be stored in a variable to access pointer information at a later time
when pointer moves::events hat
when pointer is up::events hat
(pointer ID::sensing) // *
// modification of existing blocks
(pointer x of (0)::sensing) // accepts a pointer ID
(pointer y of (0)::sensing)
<pointer (0) is down?::sensing> // these two are not absolutely necessary since they can be workarounded with existing blocks
<touching pointer (0)?::sensing>
This is mostly based on how JavaScript deals with multiple pointers (event-based) and also how the ask/wait and answer blocks behave, but I'm not sure if this is the best way. Does anyone have a different idea for blocks?
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- Seth_Zaw
- Scratcher
100+ posts
multi-touch events
Also, how can you click two sprites at once?
¡Aprendamos español con los Alfabetons!
In my new series, you will cover genders of nouns, important and useful phrases, conjugating verbs and adjectives, regular and irregular words, and more, in Spanish!
Click here to get started!
Visit the Official Alfabetons Website: https://alfabetons.com
- StevenTheSquare
- Scratcher
100+ posts
multi-touch events
no support. you can do this just as easily with
or
Plus it could make some projects non-computer friendly, and that's just weird.
when this sprite clickedor
forever
if <touching [mouse pointer v] ?> then
end
end
or
forever
if <<touching [mouse pointer v] ?>and<mouse down?>> then
end
end
Plus it could make some projects non-computer friendly, and that's just weird.
Please support this suggestion for layer sensing blocks!
<<behind [sprite1 v]? :: sensing> and (layer :: looks)>Please support this suggestion for the ability to replace bio space with projects!
Please support this suggestion for the ability to customize studio permissions!
“You're entirely bonkers. But I'll tell you a secret; all the best people are.”
Need help with anything? You can totally ask me!
stay awesome :: #FF1493
- game_pr0grammer
- Scratcher
500+ posts
multi-touch events
no support. you can do this just as easily withwhen this sprite clickedorforever
if <touching [mouse pointer v] ?> then
end
end
orforever
if <<touching [mouse pointer v] ?>and<mouse down?>> then
end
end
Plus it could make some projects non-computer friendly, and that's just weird.
do you not know what i am talking about you only have one mouse coordinate only so you can only press on one sprite and humans do not have only one finger they have ten so they can press the screen at ten different areas of the screen and i am suggesting a way to detect whether one of those touches are touching a sprite so you can have ten sprites being touched at once but you can only have one sprite being clicked at once people do you not read the entire thing
and you can probably make non-computer friendly projects anyway using current methods since when they track your mouse x and mouse y in mobile there is no light gun or something tracking your finger when its off the screen so it only tracks where you touched meaning that movements go from one point to another in an instant while on a computer you can't do this so when you want your mouse to go from point a to b your mouse goes through many points between a and b until you finally reach the goal
SPEAK UP TO KUMQUAT EQUALITY Kumquats are not bad! Kumquat lives matter!
hi i am myself, i make projects that take like a week or month to make whenever i feel like it (which isn't often) and then they only get 10 views because i'm a nobody. and i cannot change that. i am just one singular person in the sea of many that are on scratch. my stuff don't matter. i don't matter. i am going to die in 70 years anyway, and 99.99% of people on the world will not even know, or really care if they know. also i am good at programming i made an opengl so ha take that nuuubs. (i am legally required to say that statement does not accurately reflect my views i wrote that because i thought it was funny)
all my good projects. are here here are examples of my good Projects
shoot that's it basically lol they're all platformers. play them and talk about it so i get clout plz. thank.
- minor-edit
- Scratcher
500+ posts
multi-touch events
Maybe change title of topic to “multi touch events.” Touch event sounds like what Scratch already does.
John Conway
☁️
• ω •
HSL and RGB levels
Whoops! Our server is Scratch'ing its head
We couldn't find the page you're looking for. Check to make sure you've typed the url correctly.
You can try searching for what you're looking for here:
We couldn't find the page you're looking for. Check to make sure you've typed the url correctly.
You can try searching for what you're looking for here:
Search
(╯°□°)╯︵ ┻━┻ 404 ┻━┻ ︵╰(°□°╰)
these blocks have been hidden for your safety
these blocks have been hidden for your safety
scroll around the scripting area while holding a block of code.
hi
necroposting is allowed on the Suggestions forum for comments relevant to the discussion
- Discussion Forums
- » Suggestions
- » multi-touch events