Oh...and my most common mistake: Have you checked the path to the filenam, whether it's valid? gfx.loadimg doesn't throw an error, when loading a file was successful, only in retval with a value of -1.
This is my most common error I do, when working with images and wonder, why nothing is displayed at all with blitting.
|