Giter VIP home page Giter VIP logo

scorm4unity's Introduction

Unity-SCORM Integration Toolkit

The Unity-SCORM Integration Toolkit is a demonstration of how content developers can use a game engine to create SCORM-Conformant content. The source code is provided with the download and can be used by a 3rd party in their content and systems.

Resources

  • Quick Start Guide - Designed to get you up and going with the integration toolkit.
  • Tutorial - A more in-depth tutorial on how to take an existing game and integrate it with SCORM. Comes with example game and guides you through the integration process step-by-step.
  • Frequently Asked Questions

scorm4unity's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scorm4unity's Issues

Threading issues

So we've found a subtle but important bug. The callback "Scorm_Initialization_Complete" call runs within the thread that is spawned by the ScormManager. This limits the code that you can run in this handler. Unfortunately, there is not documentation that mentions this, so it's totally possible that someone out there is running non-thread safe functions, with no knowledge that their code is running in a thread that is not the main Unity script thread. This might not be a problem for many people who might be setting a flag or something, but if you are doing more scene setup on this event, you can have strange problems. We need to find a way to get that callback to run in the main Unity script thread, not in the thread spawned for the deserialization.

tutorial leads to serialization error

_ERROR_Object reference not set to an instance of an object
at ScormSerialization.Unity_ScormBridge.Get (System.String identifier, System.Type EDT) [0x00000] in :0 at ScormSerialization.ScormDeSerializer.DeserializeIntegral (System.Object inobject, System.Type elementtype, ScormWrapper wrapper) [0x00000] in :0 at ScormSerialization.ScormDeSerializer.DeserializeObject (System.Object inobject, System.Type otype, ScormWrapper wrapper) [0x00000] in :0 at ScormSerialization.ScormDeSerializer.Deserialize (ScormWrapper wrapper) [0x00000] in :0 at ScormManager.Initialize_imp () [0x00000] in :0
Assembly-CSharp

Environment: Windows 7 Pro
Browser: Internet Explorer 9
Unity: 3.5 2f2 Pro, iPhone Pro, Android Pro
RAM: 8GB
CPU: i7
Moodle: installed from Microsoft Web Platform Installer
Database: MySql
SCO: tutorial game, editted per instruction
Repro:

  1. log in as admin into moodle
  2. create a new course
  3. register admin as a student
  4. go to course editting, add a SCO package
  5. browse to tutorial output zip package
  6. switch over to student role
  7. try to work thru the course
  8. Unity boots up, and skybox appears. But it stops there due to the error at the top of this issue report

Crashes with IE

In some cases, while running IE 8 or 9, the plugin crashes. Sometimes I get data before the crash, other times none.

From ADL HelpDesk Ticket 20049

Incorrect type vocab for SCORM 1.2 and SCORM 2004

In SCORM2004.cs and SCORM1.2.cs, the interactionTypeType enum is incorrect. The binding of the "multiple_choice" interaction type should be "choice", not "multiple_choice".

SCORM 2004 page RTE-4-48
Format: The format of the data model value shall be one of the
restricted tokens listed above (“true-false”, “choice”, “fill-in”,
“long-fill-in”, “matching”, “performance”, “sequencing”, “likert”,
“numeric” or “other”).

Similar information in SCORM Version 1.2 - page RTE 3-52

Course fails to commit. (tutorial example)

Using Moodle 2.2 and Google Chrome.
This is the log output before starting the game:

GetValue(cmi.completion_threshold) failed.
403: Data Model Element Value Not Initialized scorm.js:715
GetValue(cmi.launch_data) failed.
403: Data Model Element Value Not Initialized scorm.js:715
GetValue(cmi.location) failed.
403: Data Model Element Value Not Initialized scorm.js:715
GetValue(cmi.max_time_allowed) failed.
403: Data Model Element Value Not Initialized scorm.js:715
GetValue(cmi.progress_measure) failed.
403: Data Model Element Value Not Initialized scorm.js:715
GetValue(cmi.scaled_passing_score) failed.
403: Data Model Element Value Not Initialized scorm.js:715
GetValue(cmi.suspend_data) failed.
403: Data Model Element Value Not Initialized scorm.js:715
GetValue(cmi.time_limit_action) failed.
403: Data Model Element Value Not Initialized scorm.js:715

I get no log output when winning or losing the game.
I have no idea about the specifics of SCORM, so I'm a little crippled for giving you more details.
I've also tried to do a DebugPrint on SubmitStudentData_imp, but didnt get output either.

The div with id="console" is missing

Hi,
I've seen that the scorm.js file try to reach an element with id="console" in the html file. In the previous version of the plugin this element was a simple div before the footer, but now is missing and the scorm.js script doesn't complete its execution.

It is simply necessary to add again the

somewhere in the index.html template.

Thank you

Crashes with Oracle iLearning LMS

I appear to get random crashes when running iLearning. Some data is read, then it dies on a certain 'Get' request.

From ADL HelpDesk Ticket 20049

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.