From: "Valeriy Zamarayev (DHL UA)" <[EMAIL PROTECTED]> > The problem appeared with Tungsten W emulator. This is I believe the only OS4 handheld which supports the high density feature. > > The problem is that during animation images are often mangled after some period of play, they are a kind of "rotated", the sprites are shifted to the right, and pixels from the right border appear at the left border of the sprite. It's quite random, because sometimes bitmaps are drawn correctly, sometimes not. > How much is it shifted by? Could it be an issue to do with rounding the bit image to a byte or multi-byte boundary?
Is the shifting only once for the image or for each scan-line? I haven't done low-level image stuff for ages, but I recall that some shifting occurs because the image block is mis-aligned while some is because the image isn't the 'right' width and each scan line will be affected. If the shifting gets worse down the image it's a per scan-line thing where-as if it's constant down the image it's more likely that the start of the image data block is somehow incorrect. Anyone that's actually done this stuff under Palm OS can feel free to step in and correct me (Aaron? hello? Paging the GamesMeister...). Chris Tutty -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
