skill-sample-nodejs-adventure-game icon indicating copy to clipboard operation
skill-sample-nodejs-adventure-game copied to clipboard

How can I have a parent scene connect to another parent scene and have the intent/utterance work?

Open ManuPiz opened this issue 7 years ago • 4 comments

Hi everyone,

I've been working on an Alexa project for children and I have everything working except for one thing. It's clear that there is no functionality through the interactive adventure game tool for "looping," or having a parent scene connect to another parent scene. It forces a child scene to be created.

Therefore, I went into the scene JSON code (scenes.json) and manually configured the scenes so they would connect. I then manually uploaded the "skills" folder which contains the index.js file (without using the IAG tool save button or opening up the interface, which refreshes the code), and everything is working EXCEPT for Alexa will not recognize the looped scenes. She simply shuts down.

Does anyone know if there is another file that needs to be modified to get this to work? I've looked through config.json, intentSchema.json, scenes.json to no avail. Might anyone have any thoughts?

Any response is appreciated, thank you.

ManuPiz avatar Jan 06 '18 00:01 ManuPiz

If you look at the fork created by the BBC they've added linking between scenes into the UI, so it all works quite nicely. https://github.com/bbc/interactive-adventure-game-tool/network

james3burke avatar Jan 13 '18 16:01 james3burke

Thank you!!!

On Sat, Jan 13, 2018 at 8:53 AM, james3burke [email protected] wrote:

If you look at the fork created by the BBC they've added linking between scenes into the UI, so it all works quite nicely. https://github.com/bbc/interactive-adventure-game-tool/network

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexa/interactive-adventure-game-tool/issues/57#issuecomment-357449277, or mute the thread https://github.com/notifications/unsubscribe-auth/Af69QDy5rjbNQDKV6wtctxqlXYcy_uHtks5tKN-IgaJpZM4RVG8A .

ManuPiz avatar Jan 14 '18 02:01 ManuPiz

I've just written up my experience of using the tool in general, and the bbc fork specifically, if it helps: https://medium.com/@james3burke/creating-stories-using-amazons-alexa-interactive-adventure-game-tool-4bc5fb0373de

james3burke avatar Jan 16 '18 17:01 james3burke

Wow, I appreciate it. Thank you!

On Tue, Jan 16, 2018 at 9:56 AM, james3burke [email protected] wrote:

I've just written up my experience of using the tool in general, and the bbc fork specifically, if it helps: https://medium.com/@ james3burke/creating-stories-using-amazons-alexa- interactive-adventure-game-tool-4bc5fb0373de

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexa/interactive-adventure-game-tool/issues/57#issuecomment-358048909, or mute the thread https://github.com/notifications/unsubscribe-auth/Af69QF1YFt-pGOF0J1DdgwNfwdtE6B6Qks5tLOLJgaJpZM4RVG8A .

ManuPiz avatar Jan 16 '18 20:01 ManuPiz