I hope this is within the scope of this thread (if not, please feel free to move it, or let me know and I will start a new one)... I am interested in making a quiz game also. I am trying to look at a larger scope for the project to include, lets say... 1000 questions. I guess the piece of the puzzle that I am trying to figure out is the program flow that would make the most sense for this. I am pretty new to B4A, but I have spent quite a bit of time reading through different examples, tutorials, etc. My IDEA of how this might work is still a bit shaky at this point, but I do have some programming experience, so I'm hoping it will just be a matter of getting the pieces that are unique to this platform sorted out.
Here's what I think I've got so far:
Lets assume I want to make a logo quiz... so I go online and download 1000 different logos and put them in a folder. I rename them 1.png to 1000.png
Then I create a text file and put all the names of the logos in the same order as the image filenames from 1 to 1000.
So does this sound correct?:
- Create an activity (form) for a start/menu screen
- create an activity for a question screen with 4 random answers from a list (1 of which is actually the correct one)
- create an activity for a snazzy full screen animated Correct! sequence that shows the current score and a Next/Continue button
- create an activity for a really sad Incorrect
sequence with the option to try again, enter your initials, share your score, etc...
How does this sound so far? So far so good? Problems?
Okay... lets go further then...
- I need to store 1000 answers that are tied to 1000 image files (logos).
Would it make sense to use something like a multi-dimensional array and a FOR loop to read the information into an array so that the first array entry would be equal to 1.jpg and the logo name which is in position 1 in the list, then 2.jpg for position 2, etc...
Can someone help me to fill in this bit of things and tell me if the activity list above makes sense?
Thanks!
Eric H