EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #286 background imageLoading...
Page #286 background image
Chapter
10
I
BASIC
Keywords
Animation
To perform object animation, follow these steps:
1.
Put the object on the screen using XOR.
2.
Calculate the next position
of
the object.
3.
Put the object on the screen a second time at the previous lo-
cation to remove the previous image.
4.
Repeat Step
1,
putting the object at the next location.
If you do movement this way, the background is not changed. You
can reduce flicker by minimizing the time between Steps
4
and
1
and by ensuring enough time delay between Steps
1
and
3.
If
you are animating more than
1
object, process every object at
the same time,
1
step at
a
time.
If preserving the background is not important, you can perform
animation using the PSET action rather than the
XOR
action.
Leave
a
border around the image as large
or
larger than the
maximum distance the object moves. When you move an object,
this border effectively erases any points. This method may be
faster than the XOR method described before, because only one
PUT is required
to
move an object.
Sample Program
See the GET/Graphics statement.
284

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals