The NEW ATLAS
command allows you to define a memory area where you can
store a set of images coming from the screen (with the GET IMAGE
command), or
from another graphic resource.
The area must be defined by (constant) number of frames, (constant) width and
(constant) height, expressed in pixels. The actual size,
in terms of bytes of RAM, will depend on the graphics mode selected at the time.
If it is not possible to define an image in that screen mode, a specific error will be issued.
= NEW ATLAS( frames, width, height )
background = NEW ATLAS(16, 32,32)
Join BASIC 10Liner Contest with ugBASIC!
An interesting competition is held at the beginning of each year: the
BASIC 10Liner Contest.
It is possible to use ugBASIC to participate in the next
"BASIC10Liner" competition, in the following categories:
NEW ATLAS ↔ NwAtl#
If you have found a problem with this keyword, if you think there is a bug or, more
simply, you would like it to be improved, open an issue for this example on GitHub.
Thank you!
open an issue
BACK TO KEYWORDS