Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!atha!aunro!ersys!kumbach From: ersys!kumbach@nro.cs.athabascau.ca (Kevin Umbach) Newsgroups: comp.sys.amiga.programmer Subject: Sprite Animation Glitches Message-ID: Date: 28 Apr 91 17:16:21 GMT Organization: Edmonton Remote Systems, Edmonton, AB, Canada Lines: 20 I'm having problems with an Amiga game I'm working on which has 6 hardware sprites moving over a 320x200 2 bitplane screen. When I simply move the sprites around the screen, they move very quickly without any flicker. However, when I animate them by changing their image data every time the sprites move, considerable flicker or glitches occur. (Yes I do WaitTOF() ) Basically all I do to change a sprites image is do a memcpy() from an array into the sprite's image data area and I believe this is where the glitches originate from. Can anyone suggest a fix or technique they use? I have thought about double buffering the sprite image data by doing the memcpy() into the second image buffer then using ChangeSprite() to point to this buffer. Has anyone tried this before? Any info will be appreciated. Kevin Umbach ersys!kumbach@nro.cs.athabascau.ca Edmonton Remote Systems: Serving Northern Alberta since 1982