Hi everyone,
the title says it all, almost:
I'm loading a 140 x 21 image, then create a sprite using the CreateSprite on this image... The image loaded is 140 x 21 (using GetImageHeight and Width respectively), but the sprite is 140 x 28.... why???
SetErrorMode(2)
SetWindowTitle( "Test" )
SetWindowSize(1280, 720, 0)
SetWindowAllowResize( 0 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1280, 720 ) // doesn't have to match the window
SetSyncRate( 60, 0 ) // 30fps instead of 60 to save battery
Image = LoadImage("Images/Barre.png")
Sprite = CreateSprite(Image)
ImgHeight = GetImageHeight(Image) //21
SpriteHeight = GetSpriteHeight(Image) //28
The result is a fat, ugly sprite T_T
Any idea?