I would like to compare a randomly generated sound with a button for it? To generate a sentence after hit.
Rony Sueliton
Develop games in your browser. Powerful, performant & highly capable.
Didn't you post a very similar question on another part of the forum? Anyway why don't you have a Text instance variable in the button that is the name of the sound? Then compare them and generate the appropriate sentence?
Thanks codah by right thinking, helped me a lot.