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

StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(6 total ratings)
AuthorSetsune
Tagsfree, Game Boy, gb-studio, gbstudio, 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.

How do I copy this onto my gbs project?

What version of GB Studio are you using?

(+1)

2.0

(+1)

This is a really good work into GB Studio!

(+1)

Thank you very much!

(+1)

I have reviewed the project, and it is highly complex. I can imagine the time you have spent making the asset. I will probably use it in future projects.

(+1)

Looking forward to it, then!

(+2)

You amazing genius!

(+1)

That's really too kind, but thank you.

(+2)

well it’s very impressive 

(+1)

Noooooice, great stuff.

(+2)

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

(1 edit) (+3)

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