home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 25
/
CD_ASCQ_25_1095.iso
/
dos
/
graphic
/
show70
/
sprite1.shw
< prev
Wrap
Text File
|
1995-08-01
|
952b
|
39 lines
VARIABLE CREATE framno TYPE NUMBER 1
VARIABLE CREATE loopno TYPE NUMBER 80
SET GRAPHICS VGA1
SHOW SCREEN "LANDSCAP.PCX" PCX
WAIT 1
COLOR FOREGROUND 15
GOXY 2 2 DRAW BAR 27 2
COLOR FOREGROUND 0
GOXY 2 2 DRAW BOX 27 2
GOXY 3 3 WRITE "This is a PCX picture."
SPRITE "mann.spr" LOAD
WAIT 1
MARK 1
SPRITE "mann.spr" GOXY loopno 300
SPRITE "mann.spr" SHOW
WAIT 0.1
MATH loopno = loopno+2
MATH framno = framno+1
IF framno EQ 4 DO MATH framno = 1
SPRITE "mann.spr" HIDE
SPRITE "mann.spr" FRAME framno
IF loopno LT 300 DO JUMPMARK 1
SPRITE "mann.spr" SHOW
WAIT 1
SET DELAYFACTOR 5
COLOR FOREGROUND 15
GOXY 51 12 DRAW BAR 32 4
COLOR FOREGROUND 0
GOXY 51 12 DRAW BOX 32 4
GOXY 52 13 WRITE "This is a sprite for anima-"
GOXY 52 14 WRITE "tions and games. You draw"
GOXY 52 15 WRITE "it and move it around."
SET DELAYFACTOR 0
WAIT 3
;Clean up after us
SPRITE "mann.spr" RELEASE
VARIABLE RELEASE loopno
VARIABLE RELEASE framno