Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Counting in an object

Explorer ,
Nov 27, 2016 Nov 27, 2016

Have anyone got a suggestion for how tosee  hear an increasing number  every time you click an image? This is for children counting number of  animals (or whatever) in a picture. Kids will not click on the animals in the same order, so I cannot use a number for each of them, but every time they click  on the picture the count should increase by 1 and automatically stop at the highest number.

Thanks

Jan

385
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 27, 2016 Nov 27, 2016

To see the increasing number is pretty easy. However, you'll have to disable the alread clicked images. I suppose that you filled shapes with the images and use them as shape button?

  1. Create a user variable v_counter with a starting (default) value of 0.
  2. Insert that variable in a text container on the slide, using the X button in the Character part of the container
  3. Create this shared action:            
                Increment v_counter with 1
                Disable SB_one       SB_one is the present shap
...
Translate
Community Expert ,
Nov 27, 2016 Nov 27, 2016

To see the increasing number is pretty easy. However, you'll have to disable the alread clicked images. I suppose that you filled shapes with the images and use them as shape button?

  1. Create a user variable v_counter with a starting (default) value of 0.
  2. Insert that variable in a text container on the slide, using the X button in the Character part of the container
  3. Create this shared action:            
                Increment v_counter with 1
                Disable SB_one       SB_one is the present shape button, will be the only parameter in the shared action
  4. Assign this shared action to each shape button; make sure that all shape buttons have pause at the same moment

If you want to hear it, will be more complicated. You would have to convert that shared action to a conditional action with these two commands in the first decision, which will be a mimicked standard action (IF 1 is equal to 1), and as many decisions as you have possible counter values, which will Play Audio One (IF v_counter is equal to 1); etc...

What do you mean by 'stop'? Can you give details about what has to happen when all images are clicked?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 29, 2016 Nov 29, 2016

Thank you, I learnt a lot from your answer. What I meant about "stop" is that if there were 7 objects to count and the user clicked the 8th time, the counter shouot continue.

The counting is within the same image, not several objects. Is it possible to use the variable to hear its value - its is just counting never higher than 10 and in the same image. The image may contain 5 animals and that's what needs to be counted, but heard at the same time as the user is clicking.

Thanks

Jan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2016 Nov 29, 2016

'The counter should continue....'. No problem with that, but you not want to keep the user eternally on that slide? Do not forget that you disabled the hotspots (shape buttons), how can they continue to click?

To hear you'll need a conditional advanced action, that checks the value of the counter and plays the appropriate audio clip.  I mentioned this in my first answer. If this has to happen with the same click, not a separate button to 'hear', you have to embed the previous action as a mimicked standard action in the first decision. A shared action will not be possible in that case:

First decision 'Always'

   IF 1 is equal to 1

     Increment v_counter with 1

     Disable SB_One

Second decision 'One'

   IF v_counter is equal to 1

      Play Audio_1

Third decision 'Two'

   IF v_counter is equal to 2

      Play Audio_2

.....etc

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 29, 2016 Nov 29, 2016
LATEST

Thanks - that did it

Jan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources