Log In  

I am creating a single pico-8 game

http://pico-8.wikia.com/wiki/Btn

this link says

pico-8 supports button numbers just between 0-5

for me, that buttons are not enough.

I want add for example button number 6 which detects "S" for player 0

It's just example

If it is impossible, I want use key "M" or "N" as a special button so pico-8 PICO-8 could detect

" Oh it is N! Not Z or C"(Z,C,Ns button number are same)

P#50837 2018-03-26 08:48 ( Edited 2018-03-30 03:52)

You can get keyboard state via stat().
See ‘Mouse and Keyboard Input’ section in the manual.

P#50839 2018-03-26 09:10 ( Edited 2018-03-26 13:10)

I believe you're limited to the standard 6-button Pico-8 controller. If you're making a single-player game meant to be played with a keyboard, you could use the second player's buttons: S, F, E, D, (L. Shift or Tab), and (A or Q).

P#50897 2018-03-27 09:01 ( Edited 2018-03-27 13:01)

"keyconfig" will let you remap both players keys, just explain that a custom layout is needed

P#50899 2018-03-27 10:11 ( Edited 2018-03-27 14:11)

I don't think any player will want to mess with keyconfig just for 1 game... besides that suggestion won't work for BBS anyway.

P#50983 2018-03-29 12:21 ( Edited 2018-03-29 16:21)

so you just posted here to say "that wont work" and not contribute?
at least my solution actually gave him more buttons with any layout he might want

P#50989 2018-03-29 12:42 ( Edited 2018-03-29 16:42)

He contributed just fine. Telling someone that their idea isn't accessible and will most likely cause a negative experience for the user is a very valid criticism, and also, it won't work at all for the BBS which is very important to know if one doesn't.

P#51012 2018-03-29 23:52 ( Edited 2018-03-30 03:52)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 09:27:12 | 0.007s | Q:24