Palette Cycling Problem

new topic     » topic index » view thread      » older message » newer message

This is the one I decided to go for.
It works really fast, but it creates black flickering horizontal
lines on the screen. Is my video card too slow? Wrong driver?
The delay loop helps, but by the time you get it slow enough
to kill the lines it's too slow again.
Is there some slight change which might fix it?

**********************************

procedure cycle()
sequence s
while get_key() = -1 do
s = get_all_palette()
-- for w = 1 to 347000 do
-- end for
s = append(s,s[2])
s = prepend(s[3..length(s)],s[1])
all_palette(s)
end while
end procedure

**********************************

Thanks again,
Andrew

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu