Author |
Message |
saraassim98
|
Posted: Sun Jan 19, 2014 2:20 pm Post subject: Turing game help. How to store answers from mouse click |
|
|
My game is exactly like 4 pics 1 word. im making a game where you have to guess the word that goes with the two pictures. You get twelve letters to pick from. when you pick a letter it is put in a box as letter you picked to solve the word. I How can i store the letters that the user picked and make sure that they dont go in the same box.
does any one know how to do this??? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Raknarg
|
Posted: Sun Jan 19, 2014 2:39 pm Post subject: RE:Turing game help. How to store answers from mouse click |
|
|
Just use a string. Start with an empty string:
var answer : string := ""
If they pick the letter a, add that to the string.
answer += "a"
If they want to erase the answer:
answer := "" |
|
|
|
|
|
|