How can I jump to the next slide when web object game has finished?
Feb 06, 2018
Hi guys,
We are currently making a game on Construct 3 that we will import (as a web object) into Storyline 360 as part of a course we are making. The prototype of the game works fine, but Storyline does not know when the game is finished and therefore does not know when to advanc to the next slide.
We have tried various resources with Javascript solutions such as these links:
https://community.articulate.com/series/74/articles/articulate-storyline-360-user-guide-how-to-add-web-objects
https://community.articulate.com/discussions/articulate-storyline/web-object-how-to-advance
https://www.rabbitoreg.com/2015/03/23/c2s2/
But none of them have worked so far.
Does anyone have a solution for how to move Storyline to the next slide when a web object game has finished? Would really appreciate it!
Thank you!
5 Replies
Hi Ria,
Can you please share source file or webobject?
I've never used Construct, but if it lets you set a javascript variable in the parent frame, then it should be pretty easy to accomplish. Something like this would be worth a try:
Hi V Raja,
Here is the Storyline 360 file and zip file of the Construct game. Initially, we wanted the slide to automatically jump to the next slide when the shooter shot 5 monsters. To make it simpler, we just added a button and if the user presses the button, that would take them to the next page, but it's still not happening.
Would you know how to fix it?
Hi Michael,
Thanks for the code, but where exactly do we put that code? In the game or in Storyline? Not that savvy with JS, unfortunately.
I checked the demo and it only showed me a blank page when I click on Start Game :( Are we seeing the same thing?
This discussion is closed. You can start a new discussion or contact Articulate Support.