I’m trying to build a simple language game, where a user can push a button, get a random word in Spanish, then type in the english translation in a text input component. Then they can press another button to check their answer. A will show if it’s correct, and a will show if it’s incorrect.
I have a database category called ‘Words’ which is a list of words with two text properties: ‘English’ and ‘Spanish’.
I’ve given each word a number property, in case it might be useful later on.
I’m displaying the words in a list which is limited to showing one word at a time.
I’m trying to link the button to the list in order to change the word when the button is pressed, but so far I haven’t been successful.
Help me build a cool language learning game- it will probably help people in the future to see how it develops
There’s no list involved- just trying to apply magic to a piece of standalone text…
I’m creating a language game where a word shows up (the magic text) and the user types the translation in english and checks their answer by pressing a button.
I have 10 words in my database, and have given each of them a number, so maybe users can click a button labelled ‘next word’ to generate a new word based off the number I gave it…
Yeah to get values from the database, you need to make it a list. You could do (on the text component > three dots > Make List) then if you only want to show one, you limit the list to one item.