Graphical Window Sprites

version 1 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section: A Note on Interpreters

    This extension has been tested with Zoom and Spatterlight on OS X, and with Windows Glulxe, Windows Git, and Gargoyle on Windows XP. Spatterlight renders graphics more slowly than the other interpreters, and hyperlinks require a double-click.

    We can test at run-time whether the interpreter the player is using supports hyperlinks or graphics display with the phrases

        if glulx graphic-window hyperlinks are supported...
        if glulx graphics is supported...
        
    This allows us to (for example) warn the player if the functionality will not work with the chosen interpreter. We can also use the "immediately quit the game rule" to end the game immediately.