Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor dynamic scene selection to be more user-friendly #22

Open
Logodaedalus opened this issue Mar 17, 2019 · 0 comments
Open

refactor dynamic scene selection to be more user-friendly #22

Logodaedalus opened this issue Mar 17, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@Logodaedalus
Copy link
Contributor

This currently lives in Coordinator.getNextScene()

Right now you'd have to manually insert your logic in there on a per-project basis. It'd be better if:

  1. We establish as a convention that State variables with the "sys_" prefix are for StoryAssembler (add to documentation)
  2. We automatically set "sys_nextScene" in StoryAssembler code to the scene id of the next one in the array before running any fragments (by default it goes to the next one in the list)
  3. In Coordinator.getNextScene(), change it so that it uses that value for next scene
  4. Put in docs that the way you conditionally control that is by setting "sys_nextScene"
@Logodaedalus Logodaedalus added the enhancement New feature or request label Mar 17, 2019
@Logodaedalus Logodaedalus changed the title refactor dynamic scene selection (so you can conditionally go to different next scenes) refactor dynamic scene selection to be more user-friendly Mar 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant