Sprite problems in linux

Linux specific forum
wolfwood2x
User
User
Posts: 76
Joined: Sun Oct 02, 2005 5:08 am

Sprite problems in linux

Post by wolfwood2x »

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:

Code: Select all

useJPEGimageDecoder() 
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

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=