#8303 - dchartier - Mon Jul 07, 2003 8:34 pm
Hello all,
I'm trying to get an 8 x 8 sprite positioned such that its leftmost side is off-screen and the rightmost side is on-screen (i.e., part of the sprite is left of the screen's left-hand side). I tried doing so by setting the sprite's x-coordinate to 512 - 1 = 511, which I thought would work because of a vague blurb in the CowBite FAQ. Unfortunately, rather than going off-screen, the sprite disappears. I encounter the same problem when I try to make a sprite disappear off the top of the screen.
Can anyone tell me how I can make the sprite appear partially on-screen?
BTW: I used the BoyCottAdvance emulator if that makes any difference. I didn't try any others.
Thanks for your help!
Doug
I'm trying to get an 8 x 8 sprite positioned such that its leftmost side is off-screen and the rightmost side is on-screen (i.e., part of the sprite is left of the screen's left-hand side). I tried doing so by setting the sprite's x-coordinate to 512 - 1 = 511, which I thought would work because of a vague blurb in the CowBite FAQ. Unfortunately, rather than going off-screen, the sprite disappears. I encounter the same problem when I try to make a sprite disappear off the top of the screen.
Can anyone tell me how I can make the sprite appear partially on-screen?
BTW: I used the BoyCottAdvance emulator if that makes any difference. I didn't try any others.
Thanks for your help!
Doug