@Steven, i have an idea to randomize the order of image: setting the screen as free form (drag/drop) question and shuffle answers... then every time images display differently. it works in my little sample...:D
Wow. This is pretty neat. Anyone who understands how to do this who is willing to share a sample of your file, so that newbies like myself can understand how you built this? Thanks.
Thanks guys! Happy you like it.
Unfortunately I can't share the source file, but basically the functionality is run on this scenario:
Step 1 - Every icon (lock) has it's own variable which makes a pair with the other one e.g. pair1A and pair1B, pair2A, pair2B etc.
Step 2 - There's another one variable ("pair") which counts how many icons were clicked to check if the matching is correct, "pair" is set to 2.
Step 3 - Every time you click an icon 1 adds up to "pair", when pair = 2, a condition is checked whether states of icons (pair1A and pair1B) is selected, or state of pair2A and pair2B is selected etc. (actually it shows an empty layer with a lot of triggers for about half a second).
Step 4 - If none of these conditions is true, layer is hidden and the selected icons change thei... Expand
Thanks guys! Happy you like it.
Unfortunately I can't share the source file, but basically the functionality is run on this scenario:
Step 1 - Every icon (lock) has it's own variable which makes a pair with the other one e.g. pair1A and pair1B, pair2A, pair2B etc.
Step 2 - There's another one variable ("pair") which counts how many icons were clicked to check if the matching is correct, "pair" is set to 2.
Step 3 - Every time you click an icon 1 adds up to "pair", when pair = 2, a condition is checked whether states of icons (pair1A and pair1B) is selected, or state of pair2A and pair2B is selected etc. (actually it shows an empty layer with a lot of triggers for about half a second).
Step 4 - If none of these conditions is true, layer is hidden and the selected icons change their states back to normal and "pair" variable = 0 again.
Step 5 - If any of the conditions is true, the selected icons change their states to disabled/matched, so you can't click them anymore and "pair" variable = 0 again.
I hope it helps.
I like you memory game, what about putting text behind one of the pictures, like picture testtube/ text sop handling testubes. Not such a good example, but it would make it more usefull for elearning.
11 Comments
Thanks guys! Happy you like it. Unfortunately I can't share the source file, but basically the functionality is run on this scenario: Step 1 - Every icon (lock) has it's own variable which makes a pair with the other one e.g. pair1A and pair1B, pair2A, pair2B etc. Step 2 - There's another one variable ("pair") which counts how many icons were clicked to check if the matching is correct, "pair" is set to 2. Step 3 - Every time you click an icon 1 adds up to "pair", when pair = 2, a condition is checked whether states of icons (pair1A and pair1B) is selected, or state of pair2A and pair2B is selected etc. (actually it shows an empty layer with a lot of triggers for about half a second). Step 4 - If none of these conditions is true, layer is hidden and the selected icons change thei... Expand