Discord
Login
Community
DARK THEME

Creating a code to type in words

I am building a typing test game.

Is it possible to make the player type in a word? If so then can I make them spell something correctly?

https://microstudio.io/spyros1973/textwriter/

https://microstudio.dev/i/slastra/text/

https://microstudio.dev/i/fezfan/typing/

explore section - search by word text

There are plenty of text input libraries, but your use case may require custom code.

update = function()
  for key in keyboard.press
    if keyboard.press[key] then
      if key.length == 1 then
        // type key
        continue
      end
      // special cases like backspace
    end
  end
end

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community