Skip to main content
Known Participant
July 7, 2015
Answered

Quicker advanced actions?

  • July 7, 2015
  • 1 reply
  • 329 views

I have a project with a screen that displays about 15 shapes and a score total in the top corner.

When a user clicks on one of the shapes the shape disappears and adds '10' to the scoreboard (using a variable)

I've got a click box over each shape and will need an advanced action to trigger the increment by 10 to the scoreboard variable and hide the corresponding shape.

But this means I'll have to create 15 advanced actions, one for each shape.

Is there a quicker way of doing it, or is the only way to create a separate advanced action for each shape?

This topic has been closed for replies.
Correct answer Lilybiri

Which version do you use, please? And this is not a question for 'Get Started' at all. If you want me to move the question, will wait for your answer.

First of all: why use a click box over a shape when the shape can be used as a button? That would spare you half the objects. This is possible since shapes appeared with version 6.

For the core question, it depends on your version. If you are still on 6, only way is indeed to duplicate the advanced actions. If you are on 7 or 8, use one shared action with the shape (button) as only parameter. You can apply that shared action to each shape button, no need to define the scoreboard variable as a parameter (which is possible in 8) since it never changes. Have a look at:

Dare to Share - part 1 - Captivate blog

Dare to Share - part 2 - Captivate blog

Parameters in Shared Actions - Captivate 7 vs. 8 - Captivate blog

Reuse Shared Actions in other Projects - Captivate 7 vs. 8 - Captivate blog

BTW, loooong time ago I created a scoreboard with advanced actions, maybe you'll be interested (no shared actions at that moment):

Creating a Game Results Board with Captivate 5 - Captivate blog

1 reply

Lilybiri
LilybiriCorrect answer
Legend
July 8, 2015

Which version do you use, please? And this is not a question for 'Get Started' at all. If you want me to move the question, will wait for your answer.

First of all: why use a click box over a shape when the shape can be used as a button? That would spare you half the objects. This is possible since shapes appeared with version 6.

For the core question, it depends on your version. If you are still on 6, only way is indeed to duplicate the advanced actions. If you are on 7 or 8, use one shared action with the shape (button) as only parameter. You can apply that shared action to each shape button, no need to define the scoreboard variable as a parameter (which is possible in 8) since it never changes. Have a look at:

Dare to Share - part 1 - Captivate blog

Dare to Share - part 2 - Captivate blog

Parameters in Shared Actions - Captivate 7 vs. 8 - Captivate blog

Reuse Shared Actions in other Projects - Captivate 7 vs. 8 - Captivate blog

BTW, loooong time ago I created a scoreboard with advanced actions, maybe you'll be interested (no shared actions at that moment):

Creating a Game Results Board with Captivate 5 - Captivate blog

arashmazAuthor
Known Participant
July 8, 2015

Thanks for your reply Lilybiri

I use version 8. Sorry I didn't know whether this would be classed as 'advanced' to put in the appropriate forum.

I think I used a click box as you can uncheck the 'pause until user clicks' option which you can't seem to uncheck on a shape. As I want the slide to just play out for 15 seconds, and the user has a limited time to click on each of the shapes before it moves onto the next slide.

If the buttons force a pause it will stop the slide playing.

Ah thanks for the recommendation on a shared action! I think that sounds like what I need.

Why would I not need to include the increment by 10? If I didn't include it when a user clicks on the shape it won't increase the score?

Thanks

arashmazAuthor
Known Participant
July 8, 2015

I just re-read the following:

The statement about the score parameter and totally misunderstood you in my last reply.

Totally get it!

Thanks for the links as well, I'll check them out!