Sprite problems in linux
Posted: Sat Aug 16, 2008 2:12 pm
So I am having a few issues using sprites in linux.
Specifically
Under pb 4.20 and ubuntu hardy
The issues I am having are:
does not seem to work. If I try to load a sprite that works in windows it fails to load the sprite as if the image is not there. If I change the decoder to PNG and change the image to PNG it works fine.
However the problem with that is I can not currently use
As it does not work with PNG or TIFF. This leads right into my next problem. From a desire to use this function I created a TGA image and attempted to display it. Using the appropriate decoder and displaying the image to the screen displays nothing but black to the screen. If I change the image to a PNG of course it actually displays but then I can no longer use the afore mentioned SpritePixelCollision.
Linked here are the other threads where some of these issues have been discussed:
http://www.purebasic.fr/english/viewtop ... highlight=
http://www.purebasic.fr/english/viewtop ... highlight=
Specifically
Under pb 4.20 and ubuntu hardy
The issues I am having are:
Code: Select all
useJPEGimageDecoder()
However the problem with that is I can not currently use
Code: Select all
SpritePixelCollision()
As it does not work with PNG or TIFF. This leads right into my next problem. From a desire to use this function I created a TGA image and attempted to display it. Using the appropriate decoder and displaying the image to the screen displays nothing but black to the screen. If I change the image to a PNG of course it actually displays but then I can no longer use the afore mentioned SpritePixelCollision.
Linked here are the other threads where some of these issues have been discussed:
http://www.purebasic.fr/english/viewtop ... highlight=
http://www.purebasic.fr/english/viewtop ... highlight=