#93631 - TheRain - Thu Jul 20, 2006 7:01 am
So... I'm trying to figure out why this is... but my sprites seem to be consistantly off in placement by about 16 pixels both on the x and y... give or take 2 pixels.... here's my code
Code: |
newbutton.x=0; newbutton.y=0; sprites[spritesInitialized].attribute[0] = ATTR0_BMP | ATTR0_ROTSCALE_DOUBLE | (newbutton.y); sprites[spritesInitialized].attribute[1] = ATTR1_SIZE_32 | (newbutton.x); sprites[spritesInitialized].attribute[2] = ATTR2_ALPHA(1)| ((normalx*4)+(normaly*128)); |