You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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).
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 aCore.GotoSection("Start")
to start the game.The text was updated successfully, but these errors were encountered: