Discuss Scratch

Spaceflyer234
Scratcher
54 posts

Key Any pressed bug?

My browser / operating system: MacOS Macintosh X 10.15.2, Chrome 79.0.3945.130, No Flash version detected
The <key Any pressed?> block reports true even when a key is not pressed.

<key [Any v] pressed?>

Hello I am @Spaceflyer234! I like making platformers and other type's of games, check out @Spaceflyer234_Test for demos and tests.

Shh…
IsaiahContreras
Scratcher
500+ posts

Key Any pressed bug?

There doesn't seem to be a problem with it. For me, it reports false when a key isn't pressed, and true if a key is pressed.

The creative man that has many ideas
(The mind is the powerhouse to creativity::motion)::hat looks
use that creativity!::cap motion
Spaceflyer234
Scratcher
54 posts

Key Any pressed bug?

IsaiahContreras wrote:

There doesn't seem to be a problem with it. For me, it reports false when a key isn't pressed, and true if a key is pressed.
Sometimes it works for me and sometimes it doesn't @za-chary said it happends to him too.

Hello I am @Spaceflyer234! I like making platformers and other type's of games, check out @Spaceflyer234_Test for demos and tests.

Shh…
minor-edit
Scratcher
500+ posts

Key Any pressed bug?

When doesn't it work? Is there a particular project?

Where did another Scratcher say it doesn't work?

e-vent.mit.edu











• ω •

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:
Search
(╯°□°)╯︵ ┻━┻ 404 ┻━┻ ╰(°□°╰)



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
Spaceflyer234
Scratcher
54 posts

Key Any pressed bug?

minor-edit wrote:

When doesn't it work? Is there a particular project?

Where did another Scratcher say it doesn't work?

Normally in the editor.

Last edited by Spaceflyer234 (Feb. 14, 2020 20:54:08)


Hello I am @Spaceflyer234! I like making platformers and other type's of games, check out @Spaceflyer234_Test for demos and tests.

Shh…
minor-edit
Scratcher
500+ posts

Key Any pressed bug?

Spaceflyer234 wrote:

Normally in the editor.
Can you explain the steps to reproduce?

e-vent.mit.edu











• ω •

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:
Search
(╯°□°)╯︵ ┻━┻ 404 ┻━┻ ╰(°□°╰)



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
PkmnQ
Scratcher
500+ posts

Key Any pressed bug?

Spaceflyer234 wrote:

My browser / operating system: MacOS Macintosh X 10.15.2, Chrome 79.0.3945.130, No Flash version detected
The <key Any pressed?> block reports true even when a key is not pressed.

<key [Any v] pressed?>
I've known issues with shift, but not using this.


This signature was not eaten by a kumquat. This signature IS a kumquat.

Oh, also, here's an actually working mobile detector. You're welcome!
Spaceflyer234
Scratcher
54 posts

Key Any pressed bug?

PkmnQ wrote:

Spaceflyer234 wrote:

My browser / operating system: MacOS Macintosh X 10.15.2, Chrome 79.0.3945.130, No Flash version detected
The <key Any pressed?> block reports true even when a key is not pressed.

<key [Any v] pressed?>
I've known issues with shift, but not using this.
It seems to work everywhere but the editor.

Hello I am @Spaceflyer234! I like making platformers and other type's of games, check out @Spaceflyer234_Test for demos and tests.

Shh…
Abigblueworld
Scratcher
100+ posts

Key Any pressed bug?

Spaceflyer234 wrote:

My browser / operating system: MacOS Macintosh X 10.15.2, Chrome 79.0.3945.130, No Flash version detected
The <key Any pressed?> block reports true even when a key is not pressed.

<key [Any v] pressed?>
Ahh, it's because your clicking the mouse (may count as a key on a Laptop.) or your just tapping/clicking the block.

, Abigblueworld! :D
Girl,_ Gamer,_scratcher,_ BALDI FAN,_ GD and Roblox player!
GD: GDABIGBLUEWORLD
ROBLOX: GDABIGBLUEWORLD and Hitormissgonnamissya
ABIGBLUEWORLD 2019-2020 all stuff free to scratch. :)
Here is a bit more info. thanks!
Spaceflyer234
Scratcher
54 posts

Key Any pressed bug?

Abigblueworld wrote:

Spaceflyer234 wrote:

My browser / operating system: MacOS Macintosh X 10.15.2, Chrome 79.0.3945.130, No Flash version detected
The <key Any pressed?> block reports true even when a key is not pressed.

<key [Any v] pressed?>
Ahh, it's because your clicking the mouse (may count as a key on a Laptop.) or your just tapping/clicking the block.

No, it can't be that because I am not clicking or pressing any keys. Here is the code I am using:
when green flag clicked
forever
if <not <key [any v] pressed?>> then
switch costume to [stand v]
end
end

Hello I am @Spaceflyer234! I like making platformers and other type's of games, check out @Spaceflyer234_Test for demos and tests.

Shh…
redstonelasher2010
Scratcher
100+ posts

Key Any pressed bug?

Hmmm… I can't offer any fixes, except this:
when green flag clicked
if <<<key [movement key 1 v] pressed?> or <key [movement key 2 v] pressed?>> or <key [and so on... v] pressed?>> then
switch costume to [stand v]
end

Spaceflyer234
Scratcher
54 posts

Key Any pressed bug?

redstonelasher2010 wrote:

Hmmm… I can't offer any fixes, except this:
when green flag clicked
if <<<key [movement key 1 v] pressed?> or <key [movement key 2 v] pressed?>> or <key [and so on... v] pressed?>> then
switch costume to [stand v]
end
Great thanks!

Last edited by Spaceflyer234 (Feb. 16, 2020 19:11:56)


Hello I am @Spaceflyer234! I like making platformers and other type's of games, check out @Spaceflyer234_Test for demos and tests.

Shh…

Powered by DjangoBB

Standard | Mobile