Use for e-learning

  • #1, by luca-sartoriFriday, 17. July, 11:25 3 weeks ago
    Hi
    I am in charge to create digital learning for my company.
    I am always looking for ways to make learning more engaging and fun
    Being an old Lucas fan - I stumbled on Visionaire Studio.

    My goal is to create something that can be consumed via web (HTML5 seems supported) and at completion can trigger a web call/event. 
    This is needed to tell the Learning Management System that the game was successfully completed.

    Does Visionaire support such capabilities?

    thanks

    Luca

    Newbie

    3 Posts


  • #2, by SimonSFriday, 17. July, 11:29 3 weeks ago
    Hi,
    you can call javascript functions via lua, so making a request looks like this:

    js("sendReq(""..Values["arg0"].Int.."",""..Values["arg1"].String.."")")

    And you would add a function in a html script tag to take the call and make request or something else:

    function sendReq(arg0, arg1)
    {
    r = new XMLHttpRequest();
    r.open('POST', 'https://...', true);
    r.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    r.send('name0='+escape(encodeURI(arg0)) + '&name1=' + escape(encodeURI(arg1)));
    }

    Thread Captain

    1352 Posts

  • #3, by mathias-h-hagstrmFriday, 17. July, 12:25 3 weeks ago
    Great post, Luca!

    I was thinking along the same lines. I make survey and analysis systems for NGO's, and it would be a great asset for training field staff in data collection and data entry. And fun to make grin

    Thanks, Simon for clarifying that it is possible to trigger events outside the application it's self. That is awesome!

    Can someone clarify if I can make HTML5 games for an LMS system using the Indie developer licence or if I need to purchase the professional license?

    Best
    Mathias

    Newbie

    3 Posts

  • #4, by luca-sartoriFriday, 17. July, 13:13 3 weeks ago
    Thank you!
    will give it a try

    Newbie

    3 Posts

  • #5, by SimonSFriday, 17. July, 13:38 3 weeks ago
    The indie license covers html5 export and selling, but the logo of Visionaire needs to be added.

    Thread Captain

    1352 Posts

  • #6, by luca-sartoriFriday, 17. July, 17:34 3 weeks ago
    thank you for the answers so far.

    just try pushing my luck... do you know if it would be possible to export in a SCORM format?

    Newbie

    3 Posts

  • #7, by SimonSSunday, 26. July, 14:49 2 weeks ago
    You need to make the changes as your link states it. Then zip it. I don't think that should be added to the engine. Seems not so complicated to do it manually.

    Thread Captain

    1352 Posts

Write post