Recognize the mysterious animal with Captivate…
…
Hello Captivaters !…
Today I want to share with you my last project… It’s about the animal world…
It’s mainly inspired by Greg’s project you can find here :
https://elearning.adobe.com/2019/07/random-reveal-effect/
But I want to clear areas instead of revealing ones… No difficulty here… But, especially, I don’t want the same area to clear many times…
(It’s in french so I would tranlate some words for you first :
a tapir = un tapir //a pangolin = un pangolin // a pelican = un pélican // a dragonfly = une libellule // an octopus = une pieuvre // a cheetah = un guépard)
Then let’s take a look on the project :

As you can see, I reveal 12 areas randomly and for this I use some javascript added to the entering slide action…
This is it :
function shuffle(arr) {
var i,
j,
temp;
for (i = arr.length – 1; i > 0; i–) {
j = Math.floor(Math.random() * (i + 1));
temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
return arr;
};var myClik = [‘1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9′,’10’,’11’,’12’];
var myClik2 = shuffle(myClik);
=> “myclik2” returns the sequence of “myClik” in a random order… !!!… Magic !…
I just have to select the numbers one by one in the new serie and trigger the actions as Greg provided us !…
If you need more details, don’t hesitate to ask in the comment !…
Stay safe !… And happy Captivating !…
🙂
PS : Big thanks again Greg !!…
…
…
Thanks Greg !…
In fact, I made 4 projects… From an “easy” one (Without Javascript) to a “hard” one (With your help and Javascript so !…)… And I just added a correction slide to these projects…
You can find all of them here :
http://soutien67.fr/svt/animaux/reconnaissance/reco01.htm#Niveau_3
Happy Captivating !…
…
You must be logged in to post a comment.