AustralianSynchrotron / openday-scavenger

Open Day Scavenger Hunt App
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

Correct answer reveal mechanic #150

Closed chanmSC closed 1 month ago

chanmSC commented 1 month ago

Added a little mechanic to cycle through the mask fraction images (1, 3, 5, 7, 9, 10) to reveal the full image of a correctly answered animal.

Also added a button underneath the reveal image to click to go to "Next Animal" question, so they can stare at the pretty images and show their fam and friends for as long as they'd like before going to the next image puzzle.

I also added a longer delay before auto submission at the end of guess all answers correct, so ppl can also enjoy the lobster image reveal at the end.

(Hope you don't mind that I added this to your puzzle Gary! Sorry to take away your v2 feature!

Stephen also wanted it, and you said you wanted it, and I also thought it'd be nice to reward the ppl who answer the questions correctly on the first try to have the opportunity to see the full images too 😅)

stmudie commented 1 month ago

Pretty cool! I haven't looked at the code yet, but I have tested. The only issue I see is some weirdness on the reveal of the last animal. Two images overlaying either other or something... Screenshot from 2024-10-11 21-52-26

chanmSC commented 1 month ago

Lollll, fixed it, good catch, I forgot to check that last image on wider breakpoints.

gazzar commented 1 month ago

I just saw your email Michelle. This sounds awesome. Thank you! In light of Stephen's checking and your subsequent fixing, I am happy for Stephen to approve it, but if I get to it first, I'll take a look and test a bit tomorrow and approve it.

stmudie commented 1 month ago

I just saw your email Michelle. This sounds awesome. Thank you! In light of Stephen's checking and your subsequent fixing, I am happy for Stephen to approve it, but if I get to it first, I'll take a look and test a bit tomorrow and approve it.

I have approved it Gary - but please give it a thorough test if you have time.

gazzar commented 1 month ago

I tested with a few playthroughs. It all worked perfectly! I think that even if I fiddle with the text to shorten the title to a single line and reduce the preamble to help it fit, it will probably still require vertical scrolling, so I'll leave it as is and not risk breaking anything.