Maximum number of charaters available for the Keyboard Input behavior

RabidParrotRabidParrot Formally RabidParrot.Member Posts: 956
edited July 2015 in Working with GS (Mac)

Is there a maximum number of characters for the Keyborad input or is it infinite?

Comments

  • tintrantintran Member Posts: 453
    edited July 2015

    What?! There's a text input behavior?

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    @tintran said:
    What?! There's a text input behavior?

    Yea there is a Keyboard input behavior but it's not the best.

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956
    edited July 2015

    I've come to the conclusion that infinite or not the keyboard editor allows for an ungodly amount of characters. Not worth what I was trying to do.

  • tintrantintran Member Posts: 453

    @RabidParrot said:
    Yea there is a Keyboard input behavior but it's not the best.

    Oh that is weird, it doesn't show up as part of the game screen but its own prompt window wonder how that works on devices.

    Anyways I tested it and entered a whole bunch of stuff longer than 1023, but when i printed the textLength(game.mytext) it showed 1023, so I am guessing that's the limit 1024 - 1 i am guessing a extra null character probably to indicate end of string.

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    I pasted 3000 words 20 times which is far too many than I was trying to work with.

  • tintrantintran Member Posts: 453

    tested on my device android. And it's well not fit for portrait mode as i don't know how to get to see the "Done" button had to rotate to landscape mode, it also changes color to white when in landscape, and black in portrait. We seem to have no control over the visual aspect of this keyboard input behavior :(

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    I started work on a custom keyboard in case you're interested: http://forums.gamesalad.com/discussion/comment/451764/#Comment_451764.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    @tatiang said:
    I started work on a custom keyboard in case you're interested: http://forums.gamesalad.com/discussion/comment/451764/#Comment_451764.

    Thanks!

Sign In or Register to comment.