home *** CD-ROM | disk | FTP | other *** search
- HourMaker
- =========
-
- Custom Hourglass Module Creator
- by Simon Heys
-
-
- !HourMaker
- ==========
- This desktop application creates hourglass modules similar to the one
- present in every Archimedes machine. It creates the module by taking a
- source sprite file containing the animation frames (which needn't be an
- hourglass!), converting it to pointer data and attaching it to a machine
- code module which is controlled by optional * commands (see below).
-
- Before creating a module, it is necessary to create a sprite file containing
- the animation frames. Each frame must be the same size, to a maximum of
- 32x32 pixels, and must be defined in either mode 1 or mode 8. A frame must
- have the name 'ptr_<frame number>'. The first frame may have a palette which
- will then be used as the palette for every frame, but if one is not present
- the default mode 1 palette is used instead. A number of example sprite files
- are included in the HourSprite directory. Their respective modules are in
- the HourModule directory.
-
- Here is how to create a module, using as an example the 'Bi-Plane' sprite
- file (from the HourSprite directory):
-
- Load the !HourMaker application and click on its icon. The main control
- window appears. Drag the 'Bi-Plane' sprite file icon to this window. Its
- filename appears at the top of the window and information about the frames
- appears at the bottom of the window. You may like to alter the module title
- which helps to identify which animation is currently loaded. Using the arrows,
- set the 'Delay between frames' to 1 50th/sec. De-select 'Include *Animate
- command in module' and select 'Middle' as the hourglass centre. Click the
- Menu button of the mouse and select the 'Create module' option. When the module
- has been created, go to the 'Save module' sub-menu and type in the filename
- of the module, 'Bi-Plane' in this example. Drag the module icon to the
- required directory viewer, and the module is saved.
-
- To test the module, first load it by double-clicking on its icon. Go to the
- command line and type either 'Hourglass On' or 'HourFade On'. The mouse
- pointer should become a bi-plane with rotating propeller. To switch off the
- pointer, type either 'Hourglass Off' or 'HourFade Off'. The Bi-Plane animation
- was designed to be used in modes with the same size pixels as mode 1.
-
- The module uses mouse pointer 3 for its animation and may slow down the
- computer considerably, depending on the length of delay between frames.
-
- The commands provided by the module are:
-
- *Hourglass On Switches the pointer animation on
- *Hourglass Off Switches the pointer animation off
-
- Optional commands:
-
- *HourFade On As *Hourglass On, but fades the pointer on from black
- *HourFade Off Fades the animated pointer off to black
- *Animate On Allows animation by switching each of the four mouse
- pointers on in turn (see !HourDemo for example)
- *Animate Off Switches the animation off
-
- !HourDemo
- =========
- This program demonstrates all the commands of modules created with !HourMaker.
-
- To use it, simply double-click on its icon. Ensure that no other hourglass
- animation modules are loaded first. The program will tell you about a
- particular command and then will demonstrate its effect when you click the
- mouse.
-