Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!ssc-vax!dmg From: dmg@ssc-vax.UUCP (David Geary) Newsgroups: comp.sys.amiga Subject: I've Got Sprite Troubles Message-ID: <1669@ssc-vax.UUCP> Date: 11 Feb 88 00:37:22 GMT Organization: Boeing Aerospace Corp., Seattle WA Lines: 51 Keywords: Why me? I have a Simple Sprite which looks like a small white ball. I want to move the sprite around on the screen. So: 1) I open a custom screen with a custom bitmap. 2) I open a window in the screen. Then I call GetSprite() to get a sprite to play with. To move the sprite, I call MoveSprite(). Everything works great, meaning my screen and window open properly, my call to GetSprite() succeeds, and my sprite appears onscreen. However, when I move the sprite (ball) around on the screen, the previous image of the sprite does not completely disappear before the sprite is redrawn at the new position. As a matter of fact, at a higher speed, I can distinctly see 3 images at once. I should also note that I can move the mouse pointer around on the screen right alongside the ball(sprite), and the mousepointer looks perfect. Can anyone help me? I'm on an A1000, using Lattice 3.03. I *know* that my imagedata for the sprite is correct, and that I'm using GetSprite() and MoveSprite correctly. The cursor is a Simple Sprite, right? Is it me? My compiler? Couldn't be the Amiga, right? - I mean the cursor looks great, just my sprite is messed up. help, help, help... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ "...You can't always get what you want..." ~ ~ Rolling Stones ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- *********************************************************** * David Geary, Boeing Aerospace Co., Seattle, WA * * I disclaim all disclaimers.... * ***********************************************************