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

Title/loader page #32

Open
invicticide opened this issue Nov 24, 2017 · 2 comments
Open

Title/loader page #32

invicticide opened this issue Nov 24, 2017 · 2 comments
Assignees

Comments

@invicticide
Copy link
Owner

Project configs contain metadata (title, author, etc.) which is currently unused. These should be surfaced into a title page which is displayed initially when opening a new story.

The title page div should be placed near the top of the template, so it loads first and can be rendered ASAP. The title page contains a loading spinner graphic. Core registers an onload such that when the rest of the Fractive story and its dependencies (images, etc.) are all fully loaded, then the loading spinner in the title div is replaced with a "start" link which invokes a Core.GotoSection("Start") to start the game.

@invicticide invicticide added this to the MVP milestone Nov 24, 2017
@NQNStudios
Copy link
Collaborator

NQNStudios commented Nov 27, 2017

If we generate separate distributions for each language as you suggested for issue #14, I think we could generate a single loader page as the index.html of the root directory. So the loader page would not only display metadata, but language options in a way such that Fractive devs don't need to write their own language selection logic.

Example:

index.html -> Title page and links to the localized subdirectories
en-us/
  index.html -> Contains only passages from the American English localization
  assets/
en-gb/
  index.html -> Contains only passages from the British English localization
  assets/

Loading of assets would be triggered after the selection of a language.

@invicticide invicticide removed this from the MVP milestone Dec 16, 2017
@invicticide
Copy link
Owner Author

As this percolates in the back of my mind I find myself thinking this should be a feature of a given template, not a feature of Fractive itself (although I do think I would hook this up as part of the default built-in template).

@invicticide invicticide modified the milestone: MVP Dec 24, 2017
@invicticide invicticide self-assigned this Dec 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants