

A basic spelling game using random animal names.
This was just a fun little project I was messing around with this weekend.
This project takes 20 animal pictures and randomly shows them to you. Your job is to spell the name of the animal in the picture.
Only five animals will be presented in each round. Yeah – sometimes you get duplicates. Lucky you!

This was just a fun little project I was messing around with this weekend.
This project takes 20 animal pictures and randomly shows them to you. Your job is to spell the name of the animal in the picture.
Only five animals will be presented in each round. Yeah – sometimes you get duplicates. Lucky you!

You must be logged in to post a comment.

- Most Recent
- Most Relevant
…
Hello Greg !…
I read your first answer above and it already cleared some questions I had in order to realize such a project…
But I think I will need more explanations notably with the use of the arrays with Javascript in Captivate !…
I wish you a happy end of year (if possible !!…).
Take care and stay safe !…
😉
…
It seems simple enough but there is a fair amount going on behind the scenes.
Perhaps there is another way – but this is how I developed it.
Each of the 10 spaces in the area where the letters appear after you click on them is a multi-state image with all 26 letters. The letters were made with PowerPoint and saved as images.
When you click on a tile above – JavaScript is used to push that letter into an array.
When you check spelling, the code there checks the actual spelling against the letters in the array for a match.
The array is cleared along with the display for the next animal. A separate array holds all the animal names. Their position in the array matches the random number generation assigned to the animal.
Arrays are a powerful way to bring something like this to fruition. You’ll need to dive into JavaScript at some point, though, something that I think truly unlocks the potential of Captivate.