PATTERN EDITOR by Jos Schilders and Richard Karsmakers
Originally published in ST NEWS Volume 1 Issue 5, launched on
October 5th 1986.
As the second major listing in this issue of ST NEWS, we hereby
offer the Pattern Editor I promised in the previous issue. It is a
program written in GfA Basic, that enables you to define FILLs,
SPRITEs and MOUSEs for use with GfA Basic's DEFMOUSE, DEFFILL and
A short user guide to Pattern Editor version 1.4a.
The first thing that appears on the screen, is the title page.
Just go on by hitting return or clicking "OK" in the Alert Box.
Next, you must choose whether you wish to design a FILL, MOUSE or
SPRITE. In all three modes, you get one or two grids, in which you
can turn dots on by clicking on the appropriate grid box with the
left mouse key, whereas they can be cleared by using the right
mouse key. When you want to stop the input, simply move the mouse
pointer to "END OF INPUT", at the bottom of the screen, and click
the mouse. With FILL and MOUSE, you can now choose if you want to
SAVE you work to disk or if you just want to quit. The last option
brings you back into the first selection menu. When you have
designed a SPRITE, however, you're asked first if you want it to
be a normal or and XOR sprite. These are the two sprite types GfA
Data is SAVEd in the following format:
If you want to use the data in your own program, simply MERGE the
data into your program, and then add up all the MKI$() in a single
string, e.g. A$. If you would now use "SPRITE A$,100,100", a
SPRITE would appear on the screen with the form you had just
designed. The action point will be located on the coördinates
100,100. Both SPRITEs and MOUSEs have action points, on which all
SPRITE-and MOUSE function will afterwards be specified. With
MOUSE, if you use the normal arrow, this would be 0,0. Please
refer to the GfA Basic manual or articles about GfA Basic in ST
NEWS for more specifications about FILL, SPRITE and MOUSE.
Now something about the programming. Mainly, the program consists
of three parts, of which two are almost exact duplicates of each
other. This we did to accomplish better overall summary of the
program. In fact, only the SAVE routines from SPRITE and MOUSE
You might wonder why we used "PAUSE 10" quite often. We did this
to get rid of nasty bells when working with Alert Boxes. Try
getting them out and you'll know what we mean.
This Pattern Editor took several weeks to finish, and was ready on
Sunday, September 28th, 1986 (at about half past nine, to be
exact). We hope you'll like it. And we hope you'll use it. We
Here is the program listing; you'll find a working version of the
program in GfA Basic format on the disk of this issue of ST NEWS,
as well as an example for a FILL, MOUSE and SPRITE.
The text of the articles is identical to the originals like they appeared in old ST NEWS issues. Please take into consideration that the author(s) was (were) a lot younger and less responsible back then. So bad jokes, bad English, youthful arrogance, insults, bravura, over-crediting and tastelessness should be taken with at least a grain of salt. Any contact and/or payment information, as well as deadlines/release dates of any kind should be regarded as outdated. Due to the fact that these pages are not actually contained in an Atari executable here, references to scroll texts, featured demo screens and hidden articles may also be irrelevant.