As of writing this, GB Studio has a method to read inputs from variables and output the the matching text, but no software keyboard. This is an example template for a way to implement one! I tried to keep the coding simple in this one to help with understandability, so there are ways things can be made more efficient (such as using Flags for True/False instead of a dedicated Variable for each one). You'll also find Comments (the green text blocks) sprinkled throughout the code. There are many ways to improve and style this to make it your own, including expanding it to 8 character entry (or more with some clever coding!), changing the character set to add new symbols or even different languages, and so on! This is only a launching-off point.

Further details are in the enclosed Readme. Feel free to make any changes to fit your needs, and use this in whatever game or project you're making! Crediting me ( Setsune Wave, setsune.itch.io ) is very appreciated but not required.

Controls:

Keyboard:
Arrow Keys: Move
Z: Interact / Select
X: Cancel / Erase
Shift: Preview Input
Enter: Accept Input
Shift + Enter (Hold): Clear All

Controller:
D-Pad: Move
B: Interact / Select
A: Cancel / Erase
Back: Preview Input
Start: Accept Input
Back + Start: Clear All

Updated 10 days ago
Published 19 days ago
StatusReleased
CategoryAssets
Rating
(1)
AuthorSetsune
Tagsfree, Game Boy, gbstudio, gb-studio, keyboard, resource, Retro, Project template, text-entry, utility

Download

Download NowName your own price

Click download now to get access to the following files:

Text Input in GB Studio v2_0-V1_2-ProjectFiles.zip 2 MB
TextEntryTemplate-v1_2-SetsuneWave.gb 256 kB
TextEntryTemplate-v1_2-Transparentchars-SetsuneWave.gb 256 kB

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

Noooooice, great stuff.

(+1)

Really cool system, feels great to use. I can even put in my name in full :p

(1 edit) (+1)

Nice! I might borrow this for the Pokemon demake so players can finally have a name.