Add Keyboard Support

A feature I’d like to see in Hopscotch is:
Keyboard Support (either as event or conditional but preferably also some way that I can use a variable to check the keycode)
(or maybe bind a keyboard key to pressing an object)

I’d use it for this type of project:
Could be anything, I already have used it to mod platformers and shift-click Minesweeper.
If I made it work, THT can too!

Here are some examples of Hopscotch code that could be improved if we had this:
I could actually play a platformer on a computer

Here is an example design I’ve made:


This is what I use currently: a conditional that checks by key ID which can also be controlled by a variable #blockrender

I’ve seen something similar in another programming languages, it looks like this:
image

@AwesomeOnion

17 Likes

Woah! I would love this, and it’s so cool to see that you have already made it.

9 Likes

Cool Awesome_E very good idea!

5 Likes

I love this idea but don’t iPads and phones not have keyboards

5 Likes

Well it would obscure half the screen if it popped up

5 Likes

Actually there is an addon for iPad to get a keyboard

6 Likes

I meant for this to enhance the playing experience from a desktop where tilt and touchscreen often aren’t features that are available.

11 Likes

That is really old scratch lol

5 Likes

this would be game changing

2 Likes

cool idea!

2 Likes

Yes they do

4 Likes

yeah
both physical and virtual

2 Likes