Can someone PLS show me exact blocks and steps for my 1st quest screen (with 5 question buttons & 5 answer buttons with scoring for a Match the Pairs app) that I can copy onto more screens. Im trying to build this App for a 7 year old disabled grandson so that he only needs to tap the correct answers, (and if posible) should he make a mistake the App must show him which he must retry.
Hi @laenette.dejager4dnk, hope all is well.
If you would require help for building an app, DM someone to hire to build your app for you or coach you directly. Choice is up to you.
Good luck with your project!
P.S. Donât hire me. Iâm not for hire!
Thx, but Im the 24/7 caregiver of my disabled grandson who has Propionic Acidemia, cerebral palsy & dystonia and just cannot afford to hire someone. (I managed my 1st 3 pages, but just cannot get my 1st quiz screen right).
(Iâve updated the title of this topic to make it more quickly readable.)
I donât know how much this will help but I would use Any Component blocks because it simplifies the number of blocks needed. Note that this is not a completed fix. Iâve merely started the process and itâs going to take a lot of time to get it working for all of your possible matches and all of your screens.
I also havenât fully tested it. I was trying to get it coded before leaving for work!
Modified project link: [see new link below]
Thank you so, so, so much for your help!!! Can you just pls tell me where must I add the questions and answer buttonsâ unique names in and where does a new question starts and answer + itâs score ends?
My questions and answers will all be buttons and mostly with emojis on it.
There will be 12 groups that each will consist of 5 questions (1st 5 are identical pairs, then types of emotions, then 5 âwhat goes togetherâ emojis eg police car and policeman, then how many passengers in taxi car, taxi minibus, taxi large bus. etc. After that comes math emoji buttons and lastly spelling/words and the emoji that fits the word the best. This will all be in 3 levels). Thx again for your kindness to help me!!!
The method I provided will only work for clicking matching items one after the other. What youâre describing is too much for me to help you with on the forums. It would require a lot of my time.
Also, sorry, I was rushing this morning and assumed you were using labels for your emojis but you are using buttons. Hereâs the updated blocks for thatâŚ
Project link: Thunkable
THANK YOU SO MUCH for all the effort youâve put in, to help me!!! It helps me tremendously
and is much appreciated. I think I will now be able to go forth on that.
(A). I just need to know how can I copy the Blocks that you created onto/into my Appâs 3rd screenâs Blocks area? (I donât know how to select them all).
(B). And then, how can I save a Backup of my new edited App? (just for in case I mess things up there).
Oops! I forgot to ask how do I block out (grey out) the buttons/answers that were correct for that page?
(A) You canât copy blocks from one project to another. You will need to re-create the blocks I used.
(B) If you have a license that allows for version history, you can use that. If not, then you will need to make a copy of your project to use as a backup. Because Thunkable auto-saves, itâs important to have a backup in case you make a mistake.
Buttons have a property called Disabled that you can set to true (or false).
Thanks a million for ALL your help & time!
Hi Tatiang. Sorry to bother you, but can you pls help me find the error on Screen 4âs score counting, as it just does not want to work the same as on Screen 3. (I did change all the Question, Answer, Counting & Score buttons/text fields to unique names).
I can take a look. Can you share a link to your project? The share links are snapshots so the previous one wonât have all of the changes youâve made since then.
Your blocks look correct. I donât see an obvious problem with the code. If I have time, Iâll do a little debugging and let you know what I find. This is my method for debugging in Thunkable: Debugging in Thunkable X (Video)
Edit: I tried this and the debug label is not showing the values I would expect:
Modified project link: Thunkable
Edit #2: I take that back. I do see a problem. Youâre setting the value of the emoji lists at the top of the screen but then not using those variables when you check to see if the userâs input is in those lists.
The problem is here, in yellow:
When something is a list, I like to call it a list such as app variable QuestionEmojis list
. That cues my brain into knowing to use it with list blocks.
Also, if I were coding this, I would use a single variable for all games rather than a separate variable for each game. As long as you set each variableâs starting value when each screen opens, itâs fine to do that. So for example, instead of app variable SelectedQuestionEmojiL1G2
, you might just use app variable SelectedQuestionEmoji
for every game. Itâs so much less to manage and keep track of. And if you need to later rename a variable, you only have to do it once for ten or twenty games rather than ten or twenty times!
Having so many variables to keep track of feels overwhelming to me:
THX! So, do you mean I can leave out ALL the last âŚL1G2 parts on ALL VARIABLE NAMES on all the following Screens? Or just some of the variable names? AND can I just add âListâ to the 2 top Question and Answer list names? AND what should the yellow marked variable be?
Well, I would typically initialize the variables I need on the first screen. And then use (set/get values for) those same variables on all other screens. You donât have to do it that way. Itâs just easier for me to manage and makes adding new screens (new games) so much quicker. If you did that, you would not need to specify which levels or games the variables are for so yes, you would not need the L1G2, etc. in the variable names.
Yes, you can rename these variables to add âlistâ at the end:
The variable in the yellow rectangle should be app variable AnswerEmojisL1G2
because itâs checking to see if that list of emojis contains the emoji that was clicked. This is really just a failsafe method of making sure that the matches are not checked if some random button on the screen is clicked (like a menu button or back button, for example). Because otherwise, the Any Button Click
block will trigger when any button on the screen is clicked.
Ah, THANK YOU SO MUCH for explaining it so nicely to a 72 year old lady that doesnât really understand all these new technology/terminology things and English so clearly.
Hi Tatiang. Ive changed the names of the Questions & Answers lists by adding List at the end. Plus deleted all the L1G1 ends of all the other names as you suggested.
I also deleted all the initialized variable blocks from the next 2 groups/screens and only left it on the 1st group/screen of 5 questions. It worked PERFECTLY on that 1st group/screen, but the 2nd and 3rd groups/screensâ scores still do not show the score. Are there any blocks that I shouldâve added to these two groupsâ screens at the top to âtellâ the program to use the 1st group/screenâs initialized blocks? I also found NOW that my 1st screenâs score doesnât work now anymore??? what could be the problem?