BBS: Inland Empire Archive
Date: 04-01-92 (22:32) Number: 110
From: JEAN CREPEAU Refer#: NONE
To: MONTE FERGUSON Recvd: NO
Subj: Color Cycling Conf: (2) Quik_Bas
In a message to ALL, MONTE FERGUSON wrote:
MF=> Does anyone have a nice smooth color cycler that'll rotate the VGA
pallette (for the "tunnel" moving effect)?
MF=> I've played with writing my own, but this pallette stuff is a pain...
I was wondering if anyone could save me from re-inventing the wheel.
A good way to do it is to program your palette into an array of
long integers (for VGA palette) and use the PALETTE USING to set the
DIM SHARED palar(511) as long
PALETTE USING paral(i)
i=i+1 and 511
LOOP UNTIL LEN(INKEY$)
FOR i=0 TO 255
DO:LOOP UNTIL timer-t!=>.1
Hope it works! I'm working on a hercule card... VGA is at school...
* Origin: INTERACESS Montreal (QC) Canada (514) 528-1415 (1:167/280)