Tag: Layers

  • 4 Ideas for Combining Text and Images in eLearning

    E-Learning Heroes Challenge #152 – Combining Text and Images in E-Learning. The brief: This week, your challenge is to share an example to demonstrate how text and images can be used in e-learning.

    For this challenge I shared four simple ideas that were all created within Storyline. Click the image below to see what I shared for the challenge:

    Click to view demo

     

    Slide 1: Text coming out of the image

    For the title page, I wanted the text to look like it was coming out of the skyline and to create this effect, there’s actually two of the same images placed exactly on top of each other. However, the image at the front has been cropped:

    Cropped image

    In the timeline, the complete image is at the bottom and the cropped at the top:

    timeline

    Placing the text box in the middle creates the effect that it’s coming out from behind the buildings but really it’s just coming out from behind the cropped image. There’s a ‘Fly In’ animation on the text with the duration set to 3.5 seconds and coming in from the bottom (set in Effect Options).

    Slide 2: Text overlay 1

    This slide full screen image with a rectangle shape containing some text) placed to the right. The shape has a ‘Fly In’ animation (1 sec duration and coming in from the right). I also made the shape slightly transparent by right-clicking on it, selecting ‘Format Shape’ and adjusting the transparency to 25%.

    Slide 3: Text overlay 2

    On this slide, I coloured the background pale grey, and positioned my image at the top of the slide. Then I added a rectangle that slightly covered the image and didn’t completely fill the space at the bottom. The text itself sits in a text box on top of the shape and I applied a fade animation (1 sec duration). From the ‘Effect Options’ dropdown I chose ‘By Paragraph’ which makes each paragraph of text appear separately.

    Slide 4: Question

    This slide wasn’t built using a quiz slide (but it could be) which meant I needed to create everything from scratch. I started with my background image and added two new states – a correct and incorrect:

    correct and incorrect states for background image

    For each of the new states, I went to the ‘Format’ tab and increased the brightness by 10% and recoloured the images:

    format tab

    Then I added four rectangles, one for the question and one for each answer. For the demo, Option C is the correct answer, so I also created a state for each option:

    answer states

    Lastly, I added a layer that contains a button to replay the demo (the trigger is to jump to the first slide when the button is clicked) and also prevents another answer being selected (go to ‘Layer Properties’ and tick the box next to ‘Prevent the user from clicking on the base layer’).

    Then I needed to add triggers to each answer option to make it all work:

    answer triggers

    So that’s how I created each of my slides for this challenge. There were lots of other creative ideas shared by community members in this challenge and you if have ideas, please share them in the comments area below.

    All images used in this demo came from Death to the Stock Photo.

  • How I created a Custom Quiz-style Interaction in Storyline 2

    Recently a friend of mine contacted me as he had an idea for an interaction he wanted to create in Storyline 2 and needed some help with building it.

    He wanted the interaction to work like this:

    • A question with five answer options.
    • Two of the five answers were correct.
    • Only a maximum of two answers could be selected.

     

    He also wanted a ‘submit’ button and once clicked, then he wanted:

    • Feedback for each answer to be shown.
    • An indication of which two answers were correct.
    • To still see which two answers were originally selected.

     

    With a bit of experimentation and a few prototypes I was able to create something that met his needs and this post is about how I got there.

    Originally I thought about using a freeform question slide but as I didn’t need to worry about scoring so I went with a regular slide.

    I started by inserting a place for the question and the five answer options on a slide and I also created a ‘selected’ state for each answer option. Next I created a submit button and set the initial state to hidden – my idea was to change it to normal when two answers are picked (or become selected). I’d also need to make the other three un-selected answers become inactive once the second answer had been chosen. I abandoned this idea when I realised all the triggers I’d need to make it work.

    My next idea was to create a layer and place the submit button on this own layer. The reason I did this was because I remembered that in the layer properties there’s a setting where you can prevent the use from clicking on the base layer (click in the box to turn on the setting):

    Slide layer propertiesUsing this setting would take away the need to come up with triggers for making the un-selected answers not work as once this layer is showing nothing on the base could be clicked on. But I did need to figure out triggers to make this layer show – which was after the second answer was selected – based around the state of my answer options. So with 5 answer options there’s the following 10 selection combinations:

    1 and 2, 1 and 3, 1 and 4, 1 and 5, 2 and 3, 2 and 4, 2 and 5, 3 and 4, 3 and 5, 4 and 5.

    So my 10 triggers to show the layer with the submit button on it (based on the state of the answers) were variations of this:

    Show layer trigger

    Note: In this trigger, the order the answers are chosen doesn’t matter so choosing answer 1 then answer 2 is the same as choosing answer 2 and then answer 1.

    Once the layer with the submit button is showing, users are not able to click on the base layer and select any other answers (in hindsight, the way interaction is set-up means that you can’t change your answers once you’ve picked two). The trigger on the submit button is to show another layer that contains the feedback, which answers are correct/incorrect and it still shows the selected answers on the base. I positioned the answers on this layer showing which are correct/incorrect directly over the answer options on the base which means the selected state showing.

    As this is a prototype I haven’t focused on the slide design, it was more about seeing if I could achieve the functionality he wanted. Click on the image below to see a demo and if you’d like to download the .story file click here.

    quiz style interaction demo

  • Sliding Along with the Force

    A few weeks ago I was delivering a Storyline 2 session in Brisbane and we were looking at the slider interaction and how you can use a slider to change the state of an object and also use it to show layers. In the change of state example we were looking at, you slide the thumb along the track and the colour of an image changes. One of the participants asked if it were possible to change the colour of the thumb to match the colour of the image and my response was “I’m not sure, I haven’t tried that before but let’s check it out and see if it can be done”.

    So, I clicked on the slider and went to the states area and I was pleasantly surprised to see that sliders have ‘states’. As it turns out, you can add new slider states and then format the slider for your new states (in our class example, I could change the thumb colour to match the image colour). Cool! I was also happy that person asked this question or I may never have known about slider states!

    Flashback to late 2015, and David Anderson created an ELH Challenge to coincide with the release of the new Star Wars movie, The Force Awakens. E-Learning Heroes Challenge #110 – Awaken Your E-Learning Force. The brief was to build a Star Wars-themed interaction, this week your challenge is.

    Sometimes ideas for challenge demos come to me quickly but sometimes I need to percolate ideas in my subconscious for a while and this was one of those challenges. I did have some illustrated Star Wars characters that I wanted to use for the demo and an idea of a trivia type interaction, just no solid idea for bringing them together in a different way.

    Jumping back to the present and after I discovered that sliders have states, I thought that’s it! I could create a slider state for each character (six in total) and I could also have a question for each character to correspond with the change in image.

    So this is what I did:

    I inserted a slider and in the Thumb Fill area, filled it with a picture of my first character. I had to play around with the sizing of the thumb so that it wasn’t too small. For the track, I chose no fill and no outline which made it transparent. Then I created a new state for each character and named each state to correspond with the character:

    Slider states

    The thumb picture changes using a change of state trigger (one for each character):

    Slider change state

    Each of the questions is built on a layer:

    Star Wars layers
    I used shapes for my questions and feedback with 40% transparency and shapes for my answers choices too. As there was only one correct answer, I grouped the choices in a button set which only allows one answer to be selected at a time. The correct/incorrect feedback boxes are on this layer too and they both start as ‘hidden’ and change state to normal depending on which answer is chosen. This is what it looks like for the Stormtrooper layer:

    layer triggers
    To save some time, once I had the first layer working the way I wanted, I duplicated it and then changed the information and adjusted the triggers. A show layer trigger based on the slider position makes each layer show. So as you slide the thumb along, the picture changes to a different character and a question for that character is also shown along with some feedback (and where possible, I used a quote from that character from one of the movies).

    You can try the demo yourself by clicking on the image below:

    Star Wars demo

    Let me know what you think and you can see all of my ELH Challenge entries on My Portfolio page.

  • More than One Way with Storyline 2

    Sometimes I like to experiment with ideas for eLearning interactions and a few months ago one of these experiments led me to creating this carousel-style interaction (you can click the image to see a demo):

    Carousel slider demo

    I wrote about it here but essentially it uses a slider to show layers with each image in a different position. I also posted the demo to an E-Learning Heroes Community forum and someone asked if the same effect could be created using buttons instead. The short answer is yes and here’s how I did it.

    I started by making a duplicate of the current slider-based interaction as the layers and positions of the images are set up correctly. I deleted the slider and created a couple of buttons (one for left and one for right) using a square shape and an arrow image that I had on file.

    Button breakdown

    Then I needed to figure out a way to make the layers show (creating the spin effect) depending on which arrow was being clicked. I wanted to make the images spin in the same direction as the arrow that was being clicked.

    The solution I came up with was to use a number variable. Variables are great because they ‘remember’ information and the same variable can be used many times anywhere in your project. You can then use this information to make things happen. The slider interaction uses a number variable but it’s created when you insert the slider. For this interaction, I created my own number variable.

    First, I added my variable via the ‘Manage project variables’ area…

    Manage project variables

    …and called it ‘Count’.

    Count variable

    Then I added two triggers (one for each button) the add 1 to Count if you click the right arrow or subtract 1 from Count if you click the left arrow.

    Add to count

    Then I needed to do something with the Count information – instead of the layers showing when the slider was in a particular position, they’d now show when the variable Count had a certain value.

    show layer trigger

    Remember, clicking the buttons changed the value and so a different layer would be shown each time.

    Because you can’t keep spinning the images around and around, I added some change of state triggers on the arrow buttons that change their state when you go as far as you can in either direction. As a bonus, I also found that by using the buttons instead of the slider, it freed up some space in the middle of the slide that allowed me to add a small amount of text (if required).

    Often there’s more than one way of building something in Storyline 2 and this is another example of this as well as the power that variables can bring to your project.

    To view the updated interaction click the image below:

    Carousel

    You can access the .story file from the Downloads page of this website.

  • Template Facelift

    A few months ago I created a demo for ELH Challenge #18 which was called ‘Using Characters in eLearning’ (you can see a recap here). For this one I did a ‘meet the team’ style interaction that was based on something I’d seen a few years ago. The idea is that you have some people and some questions and you pick a person and a question you’d like to ask them, then their response is shown. You can try the demo by clicking on this image:

    Meet the Team demo

    I was happy with it originally and it works fine but I’ve felt for a while that the design could be improved because the screen is quite full and there’s not a lot of flexibility in the layout. What I mean is, say I wanted to add another person to ask a question of, I’d need to make the other four people smaller or totally move things around to fit it all in. Also, the response area is quite large and the person giving the answer is shown twice which is unnecessary. So I set about playing with some ideas as to how I could overcome these problems.

    For the people on the slide, I wanted to be able to have as many or as few as needed. I figured that using one image that had a number of states (which would be images of different people) would be a good way to achieve this. I just had to make sure each image of a person was placed in a similar position and was about the same size (there was some trial and error getting that right):

    Using different states

    Next I needed to work out a way of moving through the people. I thought of using buttons – one to go forward through the people and another to go back but then the whole interaction would be clicking. So then I thought a slider might be worth a shot. I inserted a slider, kept the design simple and added change of state triggers e.g. change the state of ‘Person’ to state ‘Person 2’ when the slider moves and equals 1 (and so on for the others states). I tried it out and it worked great. So I now could have two people or 20 and they all fit in the same space on-screen.

    Now for the questions. I left the number of questions to three as I reckon that you wouldn’t need any more than three (you’d probably use less). In the original, the space for the question was just a rectangle with a glow to indicate when it’s selected. It looked more like a button, so this time I used a caption and changed the selected state to a black solid fill:

    Question states

    Tip: I created a button set with my questions which only allows one question to be selected at a time. Doing this creates a selected state so I could then change this state to what I described above.

    As in the original demo, the responses by each person to each question are placed on layers. But this time it was a combination of one question being selected and the slider being in one of 6 positions:

    Show layer trigger

    I repeated this trigger for all the combinations, the ‘copy and paste trigger’ buttons came in very handy!

    The space where the responses are shown is still a good size and I made use of this space on the slide (base layer) by using it to hold the instructions which aren’t visible when each layer is showing:

    Instructions

    For the responses themselves, I again used a caption-style shape (it’s actually a combination of a rounded rectangular caption and a triangle) and because I placed this near to the image of the person I didn’t need to show the person twice on-screen.

    The last thing I did was to apply some colour coding to each person and layer so that there was a visual indication as to which answer belongs to which person:

    Question and answer

    Tip: You could use videos on the layers of the person giving the answers or add audio if you didn’t want to use text responses.

    If you’d like to see a published version of the updated interaction, click on the image below:

    Meet the Team Interaction

    If you like to download the source file and use it yourself, just click here.

    Overall, I’m happy with the improvements and I was able to try a few things and experiment. The new version is more customisable too. But best of all, going back to something I’d already created meant that I didn’t have to start from scratch. I could apply some things that I’ve learned since the original was created and I learned a few new things while working on the update allowing me to continue building skills.

    This template is one of a few that I have on my new Downloads page.