Discuss Scratch

GORTWUG
Scratcher
2 posts

Workarounds to frequently suggested blocks

How would you do right mouse down?

Last edited by GORTWUG (March 4, 2020 22:35:04)

12349999eeeeeee9S99
Scratcher
43 posts

Workarounds to frequently suggested blocks

i might be able to recreate right mouse down.

when this sprite clicked
forever
set [Destroy the gachas? v] to [100000%]
end
Computer_Fizz
Scratcher
100+ posts

Workarounds to frequently suggested blocks

GORTWUG wrote:

How would you do right mouse down?

The regular “mouse down” block applies to both left and right mouse down, as far as I know. It's possible that different versions of Scratch interpret it in different ways, however I should also point out the right mouse button doesn't seem to be an intentional part of Scratch inputs as it will usually simply bring up the right click menu.
noogai34
Scratcher
45 posts

Workarounds to frequently suggested blocks

Computer_Fizz wrote:


———————————————————–
< key [enter v] pressed? >
can be recreated with the following code:
< key ( join [enter] [] ) pressed? >
// this also goes for other keys not on the drop-down as well
Tab doesn't work. I'm trying to make an Impossible quiz (and one of the main features is that you can't press Tab), So i put:
<key ( join [tab] [] ) pressed?>
but pressing tab did nothing!

S U C C
Computer_Fizz
Scratcher
100+ posts

Workarounds to frequently suggested blocks

noogai34 wrote:

Computer_Fizz wrote:


———————————————————–
< key [enter v] pressed? >
can be recreated with the following code:
< key ( join [enter] [] ) pressed? >
// this also goes for other keys not on the drop-down as well
Tab doesn't work. I'm trying to make an Impossible quiz (and one of the main features is that you can't press Tab), So i put:
<key ( join [tab] [] ) pressed?>
but pressing tab did nothing!
Yes, unfortunately it appears that tab does not work, along with other keys such as shift, control, etc. It seems that enter is the only non-single-letter key that works, and I'll update the original post accordingly. But yes, unfortunately I don't believe there's any known way to detect a tab press at this time.

Last edited by Computer_Fizz (March 24, 2020 20:17:33)

Nambaseking01
Scratcher
1000+ posts

Workarounds to frequently suggested blocks

12349999eeeeeee9S99 wrote:

i might be able to recreate right mouse down.

You can already do that, the “mouse up?” block applies to both left click and right click.

Nambaseking01 (Nammy) | 10 Years Old | Road to 10,000 Posts (53% complete) | Stay Safe

CHECK OUT MY ANTI-POLLUTION STUDIO! | My Scratch Suggestion | BE MOIST

(added by moderator - I like to add stuff, too!) <- a moderator really added this on April Fools Day when I pretended to be a fake moderator …
reter678
Scratcher
22 posts

Workarounds to frequently suggested blocks

You can add a block called activate pin:01234
For micro bit
kittiesrule247
Scratcher
100+ posts

Workarounds to frequently suggested blocks

GORTWUG wrote:

How would you do right mouse down?
?

LGBTQIAPNDO+ PRIDE
JPerri04
Scratcher
100+ posts

Workarounds to frequently suggested blocks

sprite bigger than scratch allows:
when green flag clicked
switch costume to [really small dot v]
set size to (desired size) %
switch costume to [costume you want bigger than scratch allows v]
done!


Last edited by kaj (tomorrow, 00:00:00)
AO-0003mwps
Scratcher
17 posts

Workarounds to frequently suggested blocks

Rejected ‘After Stop Clicked’

Timer method
when green flag clicked
forever
reset timer
end
when [(timer) v] > (0.3)
...

Variable Method [scratchblocks]

when green flag clicked
[/scratchblocks][scratchblocks]

forever
set [ stop] to ((timer) + (0.1))
end
[/scratchblocks]
when [(timer) v] > (stop)
...

when green flag clicked
say [I am AO-0003mwps]
click [follow]::events
zahmbie1
Scratcher
500+ posts

Workarounds to frequently suggested blocks

WindOctahedro wrote:

Why would not requiring to click the flag be an advantage? I can't think of anthing, except for sprite stopping and still being able to run something after that (including the “when” workaround), which is simple to workaround:
when green flag clicked
broadcast [start v]
when I receive [start v] // use this instead of the "green flag" block for every other script
stop other scripts in sprite :: custom // use this instead of just "stop other scripts in sprite"
define stop other scripts in sprite
stop [other scripts in sprite v]
broadcast [start v]
Wouldn't that create a loop?

Last edited by @-Rocket clone 1000 at 00:00:00
Everything i say is ether a joke or serious
Join Warriors RP
Be moist
trapbradcoding
Scratcher
82 posts

Workarounds to frequently suggested blocks


^——–^
l . w . —\
l ———- \
l________\___/

Beamy68
Scratcher
100+ posts

Workarounds to frequently suggested blocks

trapbradcoding wrote:

Don't post empty posts.

when <true ::operators> ::control hat
say [Snap! is cool but I also like scratch.]

You can make custom quote text:

Pretty neat, huh?

spocite
Scratcher
53 posts

Workarounds to frequently suggested blocks

I haven't seen a post wanting this, but a workaround for multiple timers would be:

when green flag clicked
forever
change [timer1 v] by (timer)
change [timer2 v] by (timer)
change [timer3 v] by (timer)
reset timer
end


You could change any timer without interfering with others, and with more accessibility!
set [timer1 v] to [this]
set [timer1 v] to [is]
set [timer1 v] to [cool!]
Nambaseking01
Scratcher
1000+ posts

Workarounds to frequently suggested blocks

Please don't find workarounds for blocks that don't get suggested often. Chances are they'll never be used.

Nambaseking01 (Nammy) | 10 Years Old | Road to 10,000 Posts (53% complete) | Stay Safe

CHECK OUT MY ANTI-POLLUTION STUDIO! | My Scratch Suggestion | BE MOIST

(added by moderator - I like to add stuff, too!) <- a moderator really added this on April Fools Day when I pretended to be a fake moderator …
Botcho_Otkho
Scratcher
1000+ posts

Workarounds to frequently suggested blocks

Nambaseking01 wrote:

Please don't find workarounds for blocks that don't get suggested often. Chances are they'll never be used.
I don't really see that as a problem: if an user needs a workaround, they might find it in this list and then use it.

I see now that the circumstances of one's birth are irrelevant. It is what you do with the gift of life that determines who you are. - Mewtwo
- Be moist







Stop reading this
R4356th
Scratcher
1000+ posts

Workarounds to frequently suggested blocks

Botcho_Otkho wrote:

Nambaseking01 wrote:

Please don't find workarounds for blocks that don't get suggested often. Chances are they'll never be used.
I don't really see that as a problem: if an user needs a workaround, they might find it in this list and then use it.
Agreed.

Q/A Regarding the Suggestions Category & Why Some Suggestions Got Rejected
List of Scratch Modifications And Other Block-Based Programming Languages
Useful Converters to Help You With Conversion
Workarounds for Blocks Scratch Does Not Have
Scratch Translator SDS Translator Scratch Wiki Editor(Test (English and Bengali)& English) Writer Microsoft Dev 1000+ posts
The Scratch Movie Collaboration Thread Glitchy Scratch
THIS IS A NINJA SIGNATURE!
If you found something offensive in my posts, I am so sorry for that.
Beamy68
Scratcher
100+ posts

Workarounds to frequently suggested blocks

spocite wrote:

I haven't seen a post wanting this, but a workaround for multiple timers would be:

when green flag clicked
forever
change [timer1 v] by (timer)
change [timer2 v] by (timer)
change [timer3 v] by (timer)
reset timer
end


You could change any timer without interfering with others, and with more accessibility!
set [timer1 v] to [this]
set [timer1 v] to [is]
set [timer1 v] to [cool!]
U literally stole my idea, that was ALREADY rejected to this list :/

when <true ::operators> ::control hat
say [Snap! is cool but I also like scratch.]

You can make custom quote text:

Pretty neat, huh?

Beamy68
Scratcher
100+ posts

Workarounds to frequently suggested blocks

Computer_Fizz wrote:

your multiple timers thing while cool as a concept 1) count too fast 2) isn't really a workaround (this is mostly intended for blocks). i may consider adding a link to a working version though.

i already have a previous costume workaround, so what's yours besides requiring a variable?

however, i will add the key enter pressed thing from your tests project

the multiple timers thing is supposed to allow for multiple workarounds that need timers, also it's cool

when <true ::operators> ::control hat
say [Snap! is cool but I also like scratch.]

You can make custom quote text:

Pretty neat, huh?

PixelYoshi
Scratcher
100+ posts

Workarounds to frequently suggested blocks

R4356th wrote:

Botcho_Otkho wrote:

Nambaseking01 wrote:

Please don't find workarounds for blocks that don't get suggested often. Chances are they'll never be used.
I don't really see that as a problem: if an user needs a workaround, they might find it in this list and then use it.
Agreed.
the topic name is "Workarounds to frequently suggested blocks.

define PixelYoshi
forever
is yoshi ::pen
codes games ::sensing
loves scratch ::variables
end

Powered by DjangoBB

Standard | Mobile