Page 1 of 1

Directx for Linux confusion!

Posted: Wed Jan 19, 2005 11:44 pm
by eevee
I'm a bit confused.

I am currently writing a program that uses full screen mode under Windows but which will eventually end up on a Linux box.

As I understand it the InSprite/InKeyboard etc. instructions are some sort of DirectX initialisers. I also understand that DirectX is for Windows.

Yet all the screen mode instructions are clearly indicated as cross platform in the Help file.

Am I safe to carry on with Screen Mode? What happens with DirectX functions on conversion to Linux?

Posted: Wed Jan 19, 2005 11:56 pm
by Pupil
PB is not using DX on the Linux platform it uses SDL instead..

Posted: Thu Jan 20, 2005 10:40 am
by Psychophanta
I think it is possible to implement DirectX under Linux.
I've heard about a web page (i don't remember now) which talks about windows newests games running under linux. Perhaps, all the DirectX functions are converted to OpenGL or to SDL to run in Linux? Or since DirectX stuff is implemented into VGAs hardware, the conversion is more easy ? :?:

All this sounds to me to the conversions made in the past from Sinclair Spectrum games mainly to Amstrad, Commodore64 and MSX :wink:

Posted: Thu Jan 20, 2005 12:10 pm
by Fred
There is a sort of DX emulator (WineX and a commercial counter part http://www.transgaming.com/) but nothing native here. If you write your game using the PB commands (except Sprite3D lib), you willn't have a problem to recompile it on Linux.