Graphical Window Sprites
version 1 by Erik Temple
Version 1 of Graphical Window Sprites (for Glulx only) by Erik Temple begins here.
"Graphical Window Sprites provides a framework for displaying 'sprites,' discrete programming objects that allow multiple images to be easily organized, individually scaled, and drawn in composite to a Glulx graphical window. The extension should be useful for many applications, including the construction of dynamic maps, visual puzzles, games such as poker or tic-tac-toe, visual scenes and narratives, and graphical user interfaces."
Include Simple Graphical Window by Emily Short.
Include Fixed Point Maths by Michael Callaghan.
Use preloaded sprites translates as (- Constant PRELOAD_SPRITES; -).
- Part 1 - Sprite Definition
- Part 2 - Backgrounds and Scaling
- Part 3 - Drawing Rules
- Part 3a - Sprite Drawing and Hyperlink Management (for use with Graphic Links by Jeff Sheets)
- Part 3b - Sprite Drawing (for use without Graphic Links by Jeff Sheets)
- Part 4 - Preload sprite sizes
- Part 5 - Coordinate Manipulation
- Part 6 - Silent Replacement Commands
- Part 7 - Debugging commands (for use with Permanent Debugging by Erik Temple)
- Part 8 - Debugging commands (for use without Permanent Debugging by Erik Temple)
- Chapter 8.1 - Debugging Sprites (not for release)
- Chapter 8.2 - Debugging Graphlinks (for use with Graphic Links by Jeff Sheets)
- Part 9 - Workaround for handling empty windows
- Part 10 - Timer-based drawing
- Part 11 - Control over quitting the game