Ask screen not responding to B/Enter Key

Hey! Currently I am having a lot of problems with my user input section. This is specifically on the splash “difficulty number” section, as it is not allowing for the user to go beyond this screen even when they press enter. Does anyone know why it does this?


If anyone has any tips as to fix this, please let me know! My teacher and I are stumped!

Thank you!

2 Likes

I’ve never seen this before, so it’s either a Makecode issue or something somewhere else in your code. Could you share the project? I may be able to see some other cause with the rest of the code, though really nothing should be running before the On Start block. I have just tried this same thing in a new project and it’s working fine on my end.

3 Likes

Yes! Here you go. https://arcade.makecode.com/S96003-09097-30166-65567 The weird thing is my interactions with other games work…So it may be my code? I’m honestly confused.

2 Likes

has it always been like this? if not, when did it start? do you have any versions of the game backed up???

1 Like

It hasnt always been like this, but its unclear why it started. It started during one play, when I hadnt changed my code. I do have another version backed up: https://arcade.makecode.com/S82852-34994-76296-60924

This was before I added the user input, which is required for my project.

1 Like

This issue is that your game freezes after you press enter. Here is the culprit:


When putting code inside an On Game Update block, the game will not update the screen until the code inside stops running, so you game will freeze entirely until “collected all orbs” is true.