Skip to content

HowTo: Use interactivity features to create activities

George Birbilis edited this page Aug 9, 2022 · 1 revision

here I’m dropping Autumn.readcom from Gallery/Assets/Images/Seasons into the story/activity I’ve just added at Gallery/el/3-6/Seasons.el.readcom

image

That activity allows one to match seasons with their names and then see them 1 by 1 in the order they have [Winter, Spring, Summer, Autumn] using the Next button

The first Next (from the RootStroyPoint) will allow you to proceed only when you’ve done a correct match, since the items there have been marked with Tags

Both the moveable (with the Anchor togglebutton not pressed in their options popup) TextStoryItems that have a season name and the fixed (have Anchor togglebutton pressed) target ImageStoryItems that show the season card have the same Tag word.

I use the name of the season in Greek but could even use a plain number like 1,2,3,4 there so that the tags don’t need localization

For the snapping effect which makes the dropped TextStoryItem (the season name) move automatically to the center of the ImageStoryItem (the season card) when it is dropped inside the card area, the ImageStoryItems for the season cards have the Snap icon (the one with the magnet) togglebutton pressed at their StoryItemOptions popups (the ones you access with the Gear button from the Edit Toolbar or by right clicking them when they’re the ActiveStoryItem [e.g. when selected from the StructureView sidepane])

image