Wednesday, June 15, 2016

Web Interactive Fiction: FyreVM-Web Extensions Update

Web Interactive Fiction: FyreVM-Web Extensions Update

http://ift.tt/1UkdUc6

FyreVM-Web requires at least one Inform 7 extension to host your story in a browser using glulx-typescript. There are several others and the list is growing, so I’m going to report progress on occasion. This is the list and their current state of development.

FyreVM Core
This is the foundational extension that allows a Glulx game to use FyreVM output constructs (channels) instead of the traditional glk mechanisms.

FyreVM Banner
This is a simple extension that prints the banner text in a banner channel.

FyreVM Prologue
This is a simple extension that provides a prologue channel for text to appear before anything else.

FyreVM Text Styles
This is a new extension that somewhat mimics and extends the built-in Glulx Text Effects extension. It adds styling, font, color, and command link capabilities, including built-in usage of Google, Adobe-Edge, Adobe-TypeKit ($$), Fonts.Com, and browser (built-in) font sources. The command link allows you to say “[link go-north]north[/link]” and this would translate to a hyperlink that calls a sendCommand(command) function in the browser. The rest is standard styling using span tags and generated classes. The author doesn’t see anything except the I7 constructs. I’m in the process of updating Cloak of Darkness to use this extension. To use a Google Font, you’d simply make your own style with google as its source. The communication to the browser will inject the link to that font and create a CSS class. The author usage is shown below:

my-style is a ui-style with color Black and font-family "Poirot+One" and font-source google and weight normal.

say "[ui my-style]This text will show up as black text, normal weight using the Poirot One font from Google Fonts.[/ui]";

FyreVM Embedded
This is a conceptual extension to support the author embedding images and video within text.

FyreVM Sound
This is a conceptual extension to support sounds.

FyreVM Menus
This is a conceptual extension to support web based menus.

FyreVM Modal Dialogues
This is a conceptual extension to support modal popups and dialogues.

Add a Comment




Gamebook blogs

http://ift.tt/1UkdUc6
via Planet Interactive Fiction http://planet-if.com/

June 15, 2016 at 03:24PM

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.