This demo is designed to showcase user input in bitsy. You can download this demo below and play around with it yourself!

No hacks =)



๐Ÿ“ HOW IT WORKS ๐Ÿ“

โœจ It starts with a blank variable for the name.

โœจ Each time the player interacts with a letter, that letter is appended to the name variable.

{name = name + "a"}

โœจ The reset button sets the name variable back to an empty string.

{name = ""}


I chose this keyboard layout for its simplicity and efficiency, though there are many other configurations that would work in other situations.

For a reference on how this technique could be applied in non-keyboard situations, check out the computer in my game Mix The Tape

Thank you for taking the time to view this demo and read this text. If you have any questions, I'll be happy to answer in the comments.

If you need any help with bitsy variables, check out my bitsy cheatsheet!

-Brandon


StatusPrototype
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(12)
AuthorBrandon Thread
Made withBitsy
Tags8-Bit, Bitsy, Pixel Art
Average sessionA few seconds
LanguagesEnglish
InputsKeyboard, Touchscreen

Download

Download NowName your own price

Click download now to get access to the following files:

bitsy-keyboard-download.html 197 kB

Comments

Log in with itch.io to leave a comment.

(+1)

so cool ! cant wait to try this! thanks for sharing ๐ŸŽ‰

No problem! I hope it helps!

(+1)

wha... how..

(+1)

๐ŸŒˆ๐ŸŒŸโœจ-MAGIC!-โœจ๐ŸŒŸ๐ŸŒˆ

But also a whole darn bunch of string concatenation.

Thank you for checking this out!

(+1)

Great!

(+2)

This is a real neat idea!

Thanks!

(+1)

Brilliantly simple!

(+1)

this is great! i just spent like 15 minutes idly typing out different words lol

Thanks! I did the same thing when I was testing it. Haha

(+1)

That's so is cool! I can't believe it hadn't even occurred to me that this is doable!

(+1)

That was my first thought when I was figuring out how to do it, "surely this has been done before... it's too easy!"

(+1)

oh! thats really neat!

(+1)

Thanks! I built it as part of a character creator for a larger game that I'm currently developing.

๐Ÿ‘€