Hi guys, greetings to everyone; I am doing some tests in Pure C and GODLib and I need some help in sprite creation:
lpSprite = Sprite_Create(&gpPicture->Pixels[ 0 ], &gpPicture->Pixels[ 0 ], 16, 16, 4, 0 ); What is the exact formula to use Pixels[0]? I have tried (x+y*320)/4 but sometimes it doesn't work. Maybe x must to be a multiple of 16? The size of the sprites must be always 16x16 (or multiple of 16) or is it possible to have other sizes like 1x8 or 24x16? Thanks in advance, José Mário Machado a.k.a. MadAxe.