MD: Textbox API

remixed by chooper100
  scripts
  sprites
See inside
Instructions

Use them as if they were normal textboxes :D

Mouse to select text / position cursor
Tab to move to the next textbox
Hold shift for capital letters
Backspace / delete to delete letters

Notes and Credits (added by chooper100)

I might make a series of these :D

Note: The year of birth field is a rough prediction of which year you were born in, based on your age.

Huge thanks to @griffpatch for his amazing pen text engine using the Hershey Vector Font:
https://scratch.mit.edu/projects/88564231/

I think I came up with a pretty good match for the spec this time. What do you think?

Material Design Specification link:
https://www.google.com/design/spec/components/text-fields.html#text-fields-formatting

TO DO:
▶️ Better keyboard repeat system
▶️ Delete key deletes characters in front of the cursor (not behind)
▶️ Text overflow handling

By the way, the key detection for tab and shift uses hacked blocks, and could glitch out on certain browsers :/

Shared: 22 Nov 2015 Modified: 30 Dec 2015
Favorite this project 54
Love this project 76
Total views 839
View the remix tree  12
  
More projects by chooper100