Log In  

Cart #nine_keys-3 | 2019-10-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

TO LOAD THIS in Pico-8 type:

load #nine_keys

I am not at all certain if Pico-8 runs 100% correctly on Android and cellphones. I would like to think that if it is not, that @zep is certainly doing his level best to ensure that it can.

This program is fairly simple but opens up input, especially for a touchscreen Android and touchscreen cellphone.

I had originally worked this into a complex cellphone driven programming language earlier with 15 buttons in a 5x3 format, but the language is cumbersome, slow, and not at all user-friendly.

So I have put it here. You can test it with the mouse if you like.

6 buttons are already active.

  • Press the middle up for UP.
  • Press the middle left for LEFT.
  • Press the middle right for RIGHT.
  • Press the middle bottom for DOWN.
  • Press the top-left for INCREASE FOLLOWERS.
  • Press the top-right for DECREASE FOLLOWERS.

Press (X) by itself to swap between showing the nine buttons or hiding them.

And of course this program is using standard _init(), _draw(), and _update() chock full of remarks to guide you. So you can reconfigure all 9 of these buttons for your use and their definitions and actions.

HOPE THIS HELPS !

P#69369 2019-10-27 20:49 ( Edited 2019-10-28 04:21)

1

Nice. Protip: You can just put "load #nine_keys" without the version number and it will automatically load the latest version.

P#69387 2019-10-28 04:10
:: dw817

Thanks !

And, oh ? That is INDEED a pro-tip, @MBoffin ! Will have to add that to my notes. Every little bit helps. :)

P#69389 2019-10-28 04:16 ( Edited 2019-10-28 04:22)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-08-08 09:23 | 0.021s | 4194k | Q:33