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

A selection staying through out the project

Participant ,
Jul 09, 2015 Jul 09, 2015

Hi

I want to create say a character/avatar selection screen at the beginning of a project. Where the learner can select an image of a character/avatar. The character they select will then appear through out the rest of the project.

My thoughts behind doing this would be to create a variable... then when a user clicks one of the characters it would assign a number to that variable.

Then on each screen throughout the project where the character would appear I'd need to set a conditional action.

Would that be right?

TOPICS
Advanced
225
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
Participant ,
Jul 09, 2015 Jul 09, 2015

So I've actually worked this out in the following way... still feel free to provide an easier, more efficient way if you know of one.

I've got 4 images of characters on a slide. When the user clicks on their chosen image, it executes a shared action. The shared action progresses to the next screen and assigns a value 1-4 (depending on which image they clicked) to a character variable.

For every screen I need to display the chosen character on I have a conditional shared action trigger.

All 4 character images are on the slide, but hidden in the output.

When the user enters the slide the conditional shared action does the following:

if the value is equal to 1, 2, 3 or 4 it 'shows' the corresponding character image.

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
LEGEND ,
Jul 09, 2015 Jul 09, 2015

Can you give more details? Has this avatar to appear on each slide? Has it to be always in the same location?

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
Participant ,
Jul 09, 2015 Jul 09, 2015

No the avatar doesn't appear on each slide and doesn't always appear in the same location.


What I've done is copy all 4 characters images and paste them whenever I need them to appear. Then place them on top of one another with them all hidden in the output. When the shared conditional action triggers on entering the slide, it only displays the character the user selected at the beginning of the project.

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
LEGEND ,
Jul 09, 2015 Jul 09, 2015
LATEST

In that case, I don't see immediately a quicker way. You use a shared action because in this situation the ID of the avatars changes with each slide.

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