meo3@jaguar.ucs.uofs.edu (OGRINZ MICHAEL E) (03/07/91)
Hello there. I've been doing some independent coursework here regarding the manipulation of bit-images in Turbo C++. Anyway, I've been trying to animate a multicolor image over a multicolor background. Currently, I can only acheive this by first displaying a "mask" (a white image in the shape of my multicolor bit image) which is OR'ed with the background. I then XOR my multicolor image on top of the mask. As you might infer, this takes a lot of time, and of course; I want speed. The SET operation in Turbo C++ would let me drop in a bit image in only one instruction, but it drops in the entire (square) image (I am displaying non-rectangular forms). Any comments or suggestions on some more efficent way to quickly implement the equivalent of sprites on the PC would be greatly appreciated. Thanks in advance. Michael Ogrinz