I’m making an quiz App with 20 random questions, I have tried to reduce as much as possible redundancy and have been compiling it adding one block at the time. Blocks are very similar though when I add a similar block to the one that has already not caused problems the compiling process gives me an error. I am using one screen with 20 virtual screens controlling its visibility depending on the users input. The layout for all the questions is the same just the behavior is different. When I connect the AI Emulator the App works fine. My .aia file is 925 KB. Please help I’m making this App to help people during this pandemia.
I’m attaching a screen capture including all my blocks, additionally there is an expanded view of one group of blocks.
I’ve going through the example you indicated and have been able to hiperreduce my blocks, though when using Any component how can I exclude 1 button from being affected by the the Any component code? In other words I have 7 buttons, 6 of them change background color randomly and the 7th button does something different and should be excluded from changing background color. Here are my blocks.
I have looked at your example at https://puravidaapps.com/quiz.php and have been able to adapt it to my project. I have two virtual screens, one is wrongAnswer and the other one is rightAnswer, when the user clicks the button with the right answer the resulting text which is included in a list should display in the corresponding screen, likewise when the user selects a wrong answer the corresponding text along with an image and a button to an external page should display in the wrongAnswer virtual screen. I have been trying to come up with the corresponding logic unfortunately I have reached a dead end. Do you have any suggestions as to how I should approach this?
Based on your example and since I have three buttons I made three lists and I am adding the answer from the corresponding button into the the corresponding list an comparing the response then based on the result I’ll fill in the information in the corresponding virtual screen - wrongAnswer or rightAnswer - Do you think this approach should work?