Code Monkey home page Code Monkey logo

grumpyid_eagle's Introduction

EAGLE BASE

Baseline xAPI files for Storyline Developments. Nothing complex in these files....just the basics. Complex stuff comes later.

I want to give a huge shout out to Devlin Peck and his excellent tutorials that can be found at:

The Full Guide to xAPI and Storyline

If you are not sure what xAPI is or how to take advantage I would recommend that you start with the link above.

Storyline Execute JavaScript Triggers

The following trigger will pass baseline + objectDescription and activity type.

sendStatement("verb", "verbId", "object", "objectID", "objectDescription", "activityType");

The following trigger will pass baseline + objectDescription and activity type.

sendStatement("verb", "verbId", "object", "objectDescription", "activity Type", "uResp[n]sl");

Note- the "uResp[n]sl" variable is the storyline variable...this variable is passed from storyline into the function. There is nothing that changes within the xapi-statment.js that will need to change.

example

Quiz Results

No new parameters were added to the function.

Storyline will need two new variables:

  • maxScore
  • uScore

A trigger needs to be added on each correct answer to adjust uScore by 1 on each correct answer.

The trigger for the xAPI can be set to the start of the results slide.

Timer Scripts

Manage Course Timers

Place on first slide with a timeline start trigger.

manageTimer.course.start();

Restart Button Trigger

manageTimer.course.reset();

Stop Timer Script

manageTimer.course.stop();

Sending Course Duration

sendStatement("verb", "verbId", "object", "objectDescription", "activity Type", "uResp[n]sl", "course")

Slide Durations

Place on a slide's timeline start trigger.

manageTimer.slide.start();

Restart Trigger use on slides 2-n

manageTimer.slide.reset();

Stop Timer Script

manageTimer.slide.stop();

Sending Slide Duration

sendStatement("verb", "verbId", "object", "objectDescription", "activity Type", "uResp[n]sl", "slide")

If we want to capture a duration of a lesson then we would need to create a lesson variable and send at the end of each lesson.

grumpyid_eagle's People

Contributors

jmark93 avatar grumpyid avatar

Watchers

 avatar

Forkers

grumpyid

grumpyid_eagle's Issues

SL Quiz Variables

Can we access internal SL variables for the quiz score and success?

Create a Site Page for Project

The Site page will serve as the project documentation template for replications and provide the base url to use for descriptions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.