alexa-samples / skill-sample-nodejs-adventure-game

This tool provides an easy to use front-end that allows developers to instantly deploy code for your story, or use the generated code as a starting point for more complex projects.
Apache License 2.0
510 stars 218 forks source link

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

Open ManuPiz opened 6 years ago

ManuPiz commented 6 years ago

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.

james3burke commented 6 years ago

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

ManuPiz commented 6 years ago

Thank you!!!

On Sat, Jan 13, 2018 at 8:53 AM, james3burke notifications@github.com 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 .

james3burke commented 6 years ago

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

ManuPiz commented 6 years ago

Wow, I appreciate it. Thank you!

On Tue, Jan 16, 2018 at 9:56 AM, james3burke notifications@github.com 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 .