Hi,
for left X:
add a negative position to 512. Eg., if Your coordinate is -4, it should be
512+(-4)=508
for top Y:
add a negative position to 256. Eg, if Your coordinate is -4, it should be
256+(-4)=252
Vova
----- Original Message -----
From: <kervinyy@...>
To: <gbadev@yahoogroups.com>
Sent: Tuesday, May 01, 2001 4:32 PM
Subject: [gbadev] Question about sprite coordinates
> Are the object coordinate value in OAM unsigned?
> If it is,how do you make the effect that a sprite's
> upper/left is out of the screen?If it's signed,8 bit
> sprite can only have a max vertical offset of 127...
> And,is that value relative to display screen?
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> unsubscribe: gbadev-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>