Page 1 of 1

Image displayed in a window - possible?

Posted: Mon Sep 20, 2004 7:01 pm
by wichtel
Hallo,
I just started to play with PB on Linux. (SUSE 9.1)
Works fine so far, except pictures.
Imagegadget is not implemented - ok.
2D Drawing works fine, but DrawImage gives a runtime error.
Sprites work, but opening a windowed screen opens always a new window on my system.
Has anybody tried this with API calls yet?
Greetings
Michael

Posted: Mon Sep 20, 2004 10:27 pm
by olejr
I had some problems with images too...
Had the desktop set to 16bit,
changed to 24 or 32 bit and it worked...
(The DrawImage error anyway.)

Posted: Tue Sep 21, 2004 7:06 am
by wichtel
Thanks, I'll give that a try.
(I have problems with Linux and my old graphics card and 24 bit...)
Michael

Posted: Tue Sep 21, 2004 7:45 pm
by wichtel
@OLEJR:
Perfect, you were right.
24 bit and 32 bit works fine.
:)

Posted: Tue Sep 21, 2004 7:55 pm
by olejr
Glad I could help :)

But why it is like this, I don't know...
These commands should work in 15/16bit screen modes,
or even 8bit...
Maybe someone else know...

Posted: Tue Sep 21, 2004 8:36 pm
by Num3
Maybe this is the cause why my game does not work under Linux !?

Got to do some research!

Posted: Tue Sep 21, 2004 8:47 pm
by olejr
Could be.. I found that anything "Image" under Linux
needs a 24/32bit display mode to work. :?