Guessing Game, uppercase problem

Hi there. Im working in a Guessing Game, all is ok now but there is a small problem. When the user write the answer (That actually is a simple word no more) i compare this word with a cell value in a table if is the same the answer is correct. When the keyboard display prompts in IOS the SHIFT key is always pressed so when i compare it will be different.
I tried creating multiple variations of the word with uppercase lowercase and so on, it makes the trick but i want to know if anyone knows a way to avoid the sift default key or make this not sensitive to uppercase.
Thanks a lot.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited January 2013
    So I guess you could enter all of your correct answers in Sentence case (first letter uppercase), but it doesn't guarantee that they won't turn shift off and then submit an answer.

    You have two choices as I see it: add UPPER, lower, and Sentence case answers to your database ... or ... create a custom keyboard where you control the case. This is what I've done in my games so that if they tap M, it's my choice as to whether it's a lowercase or uppercase M.

    GameSalad does not support any type of case changing or conditional statements, such as you might find in Excel.

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

Sign In or Register to comment.