Forum Discussion
Sending a numeric value to LMS (scorm)
Thanks Jose!
I'm trying to build a game based on a lovely template created by Jonathan Hill with Tinder's look and feel.
In my case, the match is whether it is a vegetable or not. If it is, the player swipes right (or click the heart), if it's not a vegetable, the player swipes left (or clicks the X). For each correct answer you get 10 points. If the player answers wrong, he receives a feedback box, and clicks "NEXT" to continue the game.
I want to extract 2 numbers to the LMS (in my case it is Cornerstone):
- The time spent on Scene no 1- which are the questions, since the winner will be the fastest with the higher score. This I tried by inserting the xAPI statment trigger on the last slide of scene one (don't know if I did this right).
- The total amount of points- this I want to extract from slide "score" from the variable "points".
How can I send these two to my LMS?
Thanks!
- JoseTansengco2 years agoStaff
Hi Shevi,
Thanks for sharing a copy of your project file. I've attached an edited version that uses an xAPI statement to send the value of the Points variable to the LMS. This is what the points value would look like when viewed in the LMS:
Since this method uses xAPI statements, you'll want to make sure that you are publishing your project in xAPI format for the method to work correctly.
Hope this helps!